MI_GetWramBankEnable*

Syntax

#include <twl/mi.h>

MIWramEnable MI_GetWramBankEnable( MIWramPos wram, int num )
MIWramEnable MI_GetWramBankEnable_A( int num )
MIWramEnable MI_GetWramBankEnable_B( int num )
MIWramEnable MI_GetWramBankEnable_C( int num )

Arguments

wram The WRAM for which to get the enable/disable information.
num The slot number of the WRAM for which to get the enable/disable information.

Return Values

The enable/disable information of the specified WRAM region.
Will be either MI_WRAM_ENABLE or MI_WRAM_DISABLE.

Description

Gets the enable/disable information of the specified WRAM region.

wram is of type MIWramPos and specifies which WRAM's enable/disable 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.

Internal Operation

Accesses I/O registers MBK1-MBK5.

See Also

Overview (Work RAM), MI-Related Constants

Revision History

2007/08/22 Initial version.


CONFIDENTIAL