1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>MI_GetWramMapImage</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">MI_GetWramMapImage <IMG src="../../image/TWL.gif" align="middle"></h1>
15<h2>Syntax</h2>
16
17<dl>
18  <dd>
19<CODE>#include &lt;twl/mi.h&gt;</CODE><BR>
20  <BR>
21  <CODE>MIWramImage MI_GetWramMapImage_A( void )</CODE><br>
22  <CODE>MIWramImage MI_GetWramMapImage_B( void )</CODE><br>
23  <CODE>MIWramImage MI_GetWramMapImage_C( void )</CODE><br>
24  </dd>
25</dl>
26<h2>Arguments</h2>
27<P>None.</P>
28<h2>Return Values</h2>
29<p>The image occurrence setting of the specified WRAM region.<BR>This will be of the form <CODE>MI_WRAM_IMAGE_xxxKB</CODE>. For WRAM-A, the &quot;xxx&quot; portion will be 64, 128 or 256. For WRAM-B or WRAM-C, the &quot;xxx&quot; portion will be 32, 64, 128, or 256.</p>
30<P>For WRAM-A:</P>
31<TABLE border="1">
32  <TBODY>
33    <TR>
34      <TH>Return Values</TH>
35      <TH>Description</TH>
36    </TR>
37    <TR>
38      <TD><CODE><B>MI_WRAM_IMAGE_64KB</B></CODE></TD>
39      <TD>Repeat the WRAM-A slot 0 image in 64-KB units</TD>
40    </TR>
41    <TR>
42      <TD><CODE><B>MI_WRAM_IMAGE_128KB</B></CODE></TD>
43      <TD>Repeat the WRAM-A slot 0-1 images in 128-KB units</TD>
44    </TR>
45    <TR>
46      <TD><CODE><B>MI_WRAM_IMAGE_256KB</B></CODE></TD>
47      <TD>Repeat the WRAM-A slot 0-3 images in 256-KB units</TD>
48    </TR>
49  </TBODY>
50</TABLE>
51<P><BR> <BR> For WRAM-B and WRAM-C:</P>
52<TABLE border="1">
53  <TBODY>
54    <TR>
55      <TH>Return Values</TH>
56      <TH>Description</TH>
57    </TR>
58    <TR>
59      <TD><CODE><B>MI_WRAM_IMAGE_32KB</B></CODE></TD>
60      <TD>Repeat the WRAM-B (or WRAM-C) slot 0 image in 32-KB units</TD>
61    </TR>
62    <TR>
63      <TD><CODE><B>MI_WRAM_IMAGE_64KB</B></CODE></TD>
64      <TD>Repeat the WRAM-B (or WRAM-C) slot 0-1 images in 64-KB units</TD>
65    </TR>
66    <TR>
67      <TD><CODE><B>MI_WRAM_IMAGE_128KB</B></CODE></TD>
68      <TD>Repeat the WRAM-B (or WRAM-C) slot 0-3 images in 128-KB units</TD>
69    </TR>
70    <TR>
71      <TD><CODE><B>MI_WRAM_IMAGE_256KB</B></CODE></TD>
72      <TD>Repeat the WRAM-B (or WRAM-C) slot 0-7 images in 256-KB units</TD>
73    </TR>
74  </TBODY>
75</TABLE>
76<H2>Description</H2>
77<P>Gets the image occurrence setting of the specified WRAM region.</P>
78<P><CODE>MI_GetWramMapImage_A()</CODE> gets information about WRAM-A.<BR><CODE>MI_GetWramMapImage_B()</CODE> gets information about WRAM-B.<BR><CODE>MI_GetWramMapImage_C()</CODE> gets information about WRAM-C.<BR></P>
79
80<h2>Internal Operation</h2>
81<p>Accesses I/O registers MBK6-MBK8.</p>
82
83<h2>See Also</h2>
84<P><A href="about_Wram.html">Overview (Work RAM)</A>, <A href="../mi_constant.html">MI-Related Constants</A></P>
85
86<H2>Revision History</H2>
87<P>2007/08/22 Initial version.</P>
88<hr><p>CONFIDENTIAL</p></body>
89</html>
90