#include <twl/mi.h>
MIWramOffset MI_GetWramBankOffset( MIWramPos wram, int num )
MIWramOffset MI_GetWramBankOffset_A( int num )
MIWramOffset MI_GetWramBankOffset_B( int num )
MIWramOffset MI_GetWramBankOffset_C( int num )
wram | The WRAM for which to obtain the offset information. |
num | The slot number of the WRAM for which to obtain the offset information. |
The offset information of the specified WRAM region.
Returns MI_WRAM_OFFSET_xxxKB
. For WRAM-A, 0, 64, 128, or 192 will replace the "xxx" portion.
For WRAM-B and WRAM-C, 0, 32, 64, 96, 128, 160, 192, or 224 will replace the "xxx" portion.
Gets the offset value that is assigned to the specified WRAM region.
wram is of type MIWramPos
, and specifies which WRAM's 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.
Accesses I/O registers MBK1-MBK5.
Overview (Work RAM), MI-Related Constants
2007/08/22 Initial version.
CONFIDENTIAL