MI_GetWramBankMaster*

Syntax

#include <twl/mi.h>

MIWramProc MI_GetWramBankMaster( MIWramPos wram, int num )
MIWramProc MI_GetWramBankMaster_A( int num )
MIWramProc MI_GetWramBankMaster_B( int num )
MIWramProc MI_GetWramBankMaster_C( int num )

Arguments

wram The WRAM for which to obtain the master processor information.
num The slot number of the WRAM for which to obtain the master processor information.

Return Values

The master processor information of the specified WRAM region.
Will return one of the following: MI_WRAM_ARM9, MI_WRAM_ARM7, or MI_WRAM_DSP.

Description

Gets the master processor of the specified WRAM region.

wram is of type MIWramPos, and specifies which WRAM's master processor information to obtain.

num is the slot number of the target WRAM. For WRAM-A it should be 0-3, and for WRAM-B and WRAM-C, it should be 0-7.

MI_GetWramBankMaster_A() is the #define directive of MI_GetWramBankMaster( MI_WRAM_A, ... ).
MI_GetWramBankMaster_B() is the #define directive of MI_GetWramBankMaster( MI_WRAM_B, ... ).
MI_GetWramBankMaster_C() is the #define directive of MI_GetWramBankMaster( MI_WRAM_C, ... ).

Internal Operation

Accesses I/O registers MBK1-MBK5.

See Also

Overview (Work RAM), MI-Related Constants

Revision History

2007/08/22 Initial version.


CONFIDENTIAL