MI_GetMainMemoryPriority


C Specification

#include <nitro/mi.h>

MIProcessor MI_GetMainMemoryPriority( void )

Description

This function acquires access priority settings to the main memory. This setting is used when both ARM7 and ARM9 are accessed simultaneously. Return values are in the MIProcessor enum format. The return values have the following meanings:

MI_PROCESSOR_ARM9 Gives priority to ARM9.
MI_PROCESSOR_ARM7 Gives priority to ARM7.

Internal Operation

Accesses the EXMEMCNT I/O register (0x4000204).

Arguments

None.

Return Values

Settings for access priority to main memory.

See Also

MI_SetMainMemoryPriority

Revision History

12/25/2003 enum name changed to MIProcessor.
12/18/2003 Initial Version