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_GetWramBankMaster</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">MI_GetWramBankMaster* <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>MIWramProc MI_GetWramBankMaster( <A href="../mi_constant.html">MIWramPos</A> wram, int num )</CODE><br> 22 <CODE>MIWramProc MI_GetWramBankMaster_A( int num )</CODE><br> 23 <CODE>MIWramProc MI_GetWramBankMaster_B( int num )</CODE><br> 24 <CODE>MIWramProc MI_GetWramBankMaster_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 obtain the master processor 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 obtain the master processor information.</TD> 37 </TR> 38 </TBODY> 39</TABLE> 40 41<h2>Return Values</h2> 42<p>The master processor information of the specified WRAM region.<BR>Will return one of the following: <CODE>MI_WRAM_ARM9</CODE>, <CODE>MI_WRAM_ARM7</CODE>, or <CODE>MI_WRAM_DSP</CODE>.</p> 43 44<H2>Description</H2> 45<P>Gets the master processor 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 master processor 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<P><CODE>MI_GetWramBankMaster_A()</CODE> is the #define directive of <CODE>MI_GetWramBankMaster( MI_WRAM_A, ... )</CODE>. <BR><CODE>MI_GetWramBankMaster_B()</CODE> is the #define directive of <CODE>MI_GetWramBankMaster( MI_WRAM_B, ... )</CODE>. <BR><CODE>MI_GetWramBankMaster_C()</CODE> is the #define directive of <CODE>MI_GetWramBankMaster( MI_WRAM_C, ... )</CODE>. <BR></P> 49<h2>Internal Operation</h2> 50<p>Accesses I/O registers MBK1-MBK5.</p> 51 52<h2>See Also</h2> 53<P><A href="about_Wram.html">Overview (Work RAM)</A>, <A href="../mi_constant.html">MI-Related Constants</A></P> 54 55<H2>Revision History</H2> 56<P>2007/08/22 Initial version.</P> 57<hr><p>CONFIDENTIAL</p></body> 58</html> 59