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_GetWramBankEnable</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">MI_GetWramBankEnable* <IMG src="../../image/TWL.gif" align="middle"></h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <twl/mi.h></CODE><BR> 20 <BR> 21 <CODE>MIWramEnable MI_GetWramBankEnable( <A href="../mi_constant.html">MIWramPos</A> wram, int num )</CODE><br> 22 <CODE>MIWramEnable MI_GetWramBankEnable_A( int num )</CODE><br> 23 <CODE>MIWramEnable MI_GetWramBankEnable_B( int num )</CODE><br> 24 <CODE>MIWramEnable MI_GetWramBankEnable_C( int num )</CODE><br> 25 </dd> 26</dl> 27<h2>Arguments</h2> 28<TABLE border="1" width="100%"> 29 <TBODY> 30 <TR> 31 <TD width="13%"><EM><STRONG>wram</STRONG></EM></TD> 32 <TD width="87%">The WRAM for which to get the enable/disable information.</TD> 33 </TR> 34 <TR> 35 <TD><B><I>num</I></B></TD> 36 <TD>The slot number of the WRAM for which to get the enable/disable information.</TD> 37 </TR> 38 </TBODY> 39</TABLE> 40 41<h2>Return Values</h2> 42<p>The enable/disable information of the specified WRAM region.<BR>Will be either <CODE>MI_WRAM_ENABLE</CODE> or <CODE>MI_WRAM_DISABLE</CODE>.</p> 43 44<H2>Description</H2> 45<P>Gets the enable/disable information of the specified WRAM region.</P> 46<P><B><I>wram</I></B> is of type <CODE><A href="../mi_constant.html">MIWramPos</A></CODE> and specifies which WRAM's enable/disable information to obtain.</P> 47<P><B><I>num</I></B> 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.</P> 48<h2>Internal Operation</h2> 49<p>Accesses I/O registers MBK1-MBK5.</p> 50 51<h2>See Also</h2> 52<P><A href="about_Wram.html">Overview (Work RAM)</A>, <A href="../mi_constant.html">MI-Related Constants</A></P> 53 54<H2>Revision History</H2> 55<P>2007/08/22 Initial version.</P> 56<hr><p>CONFIDENTIAL</p></body> 57</html> 58