MI_IsWramSlotUsed*

Syntax

#include <twl/mi.h>

BOOL MI_IsWramSlotUsed( MIWramPos wram, int num )

(define)
BOOL MI_IsWramSlotUsed_A( int num )
BOOL MI_IsWramSlotUsed_B( int num )
BOOL MI_IsWramSlotUsed_C( int num )

Arguments

wram The WRAM to get information about.
num The slot number of the WRAM to get information about.

Return Values

Indicates whether the specified WRAM slot has been allocated and is in use by one of the processors. If TRUE, the specified slot is in use. If FALSE, it has not been allocated.

Description

Determines whether the specified WRAM slot is in use.

num indicates which slot number of the designated WRAM to check for use.

The MI_GetUsedWramSlot* functions are also available. These functions get all the information about the specified WRAM at once.

MI_IsWramSlotUsed_A() is the #define directive of MI_IsWramSlotUsed( MI_WRAM_A, ... ).
MI_IsWramSlotUsed_B() is the #define directive of MI_IsWramSlotUsed( MI_WRAM_B, ... ).
MI_IsWramSlotUsed_C() is the #define directive of MI_IsWramSlotUsed( MI_WRAM_C, ... ).

See Also

MI_GetUsedWramSlot*
MI-Related Constants
Overview (Work RAM)

Revision History

2008/05/29 Added info about the MI_GetUsedWramSlot* functions.
2007/10/08 Initial version.


CONFIDENTIAL