MI_GetMainMemoryPriority

Syntax

#include <nitro/mi.h>

MIProcessor MI_GetMainMemoryPriority( void )

Arguments

None.

Return Values

Settings for access priority to main memory.

Description

This function acquires access priority settings to the main memory. This setting is used when both ARM7 and ARM9 are accessed simultaneously. The return value is an MIProcessor array type that has 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).

See Also

MI_SetMainMemoryPriority

Revision History

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


CONFIDENTIAL