# MIi_SetCardProcessor

## C Specification

  `#include <nitro/mi.h>`
  `void MIi_SetCardProcessor( MIProcessor proc )`

## Description

This function sets up the access rights to the nitro card. The argument `proc` is `MIProcessor`-enumerated and has the following meaning:

`MI_PROCESSOR_ARM9` | Sets up access rights to ARM9.
`MI_PROCESSOR_ARM7` | Sets up access rights to ARM7.

Note: Do not use this function as the usual method of setting up access rights. Keep in mind `spinLock` in `OS_LockCard()` and `OS_TryLockCard()` when carrying out the process.

## Arguments

`proc` | Setup for access rights

## Return Values

None

## Internal Operation

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

## See Also

`MI_GetCardProcessor
`

## Revision History

03/30/2004 "`MI_`" -> "`MIi_`"
01/14/2004 Changed function name from `MI_SetCartridgePriority`.
12/25/2003 Changed `enum` name to `MIProcessor`.
12/18/2003 Initial Version