# MI_GetWramMapImage

## Syntax

  `#include <twl/mi.h>`
  `MIWramImage MI_GetWramMapImage_A( void )`
  `MIWramImage MI_GetWramMapImage_B( void )`
  `MIWramImage MI_GetWramMapImage_C( void )`

## Arguments

None.

## Return Values

The image occurrence setting of the specified WRAM region.
This will be of the form `MI_WRAM_IMAGE_xxxKB`. For WRAM-A, the "xxx" portion will be 64, 128 or 256. For WRAM-B or WRAM-C, the "xxx" portion will be 32, 64, 128, or 256.

For WRAM-A:

Return Values | Description
--- | ---
`MI_WRAM_IMAGE_64KB` | Repeat the WRAM-A slot 0 image in 64-KB units
`MI_WRAM_IMAGE_128KB` | Repeat the WRAM-A slot 0-1 images in 128-KB units
`MI_WRAM_IMAGE_256KB` | Repeat the WRAM-A slot 0-3 images in 256-KB units

For WRAM-B and WRAM-C:

Return Values | Description
--- | ---
`MI_WRAM_IMAGE_32KB` | Repeat the WRAM-B (or WRAM-C) slot 0 image in 32-KB units
`MI_WRAM_IMAGE_64KB` | Repeat the WRAM-B (or WRAM-C) slot 0-1 images in 64-KB units
`MI_WRAM_IMAGE_128KB` | Repeat the WRAM-B (or WRAM-C) slot 0-3 images in 128-KB units
`MI_WRAM_IMAGE_256KB` | Repeat the WRAM-B (or WRAM-C) slot 0-7 images in 256-KB units

## Description

Gets the image occurrence setting of the specified WRAM region.

`MI_GetWramMapImage_A()` gets information about WRAM-A.
`MI_GetWramMapImage_B()` gets information about WRAM-B.
`MI_GetWramMapImage_C()` gets information about WRAM-C.

## Internal Operation

Accesses I/O registers MBK6-MBK8.

## See Also

Overview (Work RAM), MI-Related Constants

## Revision History

2007/08/22 Initial version.

CONFIDENTIAL