# MI_GetMainMemoryPriority

## C Specification

  `#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

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

CONFIDENTIAL