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_GetMainMemoryPriority</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">MI_GetMainMemoryPriority <IMG src="../../image/NTR.gif" align="middle"><IMG src="../../image/TWL.gif" align="middle"></h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <nitro/mi.h></CODE><BR> 20 <BR> 21 <CODE>MIProcessor MI_GetMainMemoryPriority( void )</CODE></dd> 22</dl> 23<h2>Arguments</h2> 24<p>None.</p> 25 26<h2>Return Values</h2> 27<p>Settings for access priority to main memory.</p> 28 29<H2>Description</H2> 30<P>This function acquires access priority settings to the main memory. This setting is used when both ARM7 and ARM9 are accessed simultaneously. The return value is an <CODE>MIProcessor</CODE> array type that has the following meanings:</P> 31<TABLE> 32 <TBODY> 33 <TR> 34 <TD bgcolor="#e0e0e0"><CODE>MI_PROCESSOR_ARM9</CODE></TD> 35 <TD bgcolor="#e0e0e0">Gives priority to ARM9.</TD> 36 </TR> 37 <TR> 38 <TD bgcolor="#e0e0e0"><CODE>MI_PROCESSOR_ARM7</CODE></TD> 39 <TD bgcolor="#e0e0e0">Gives priority to ARM7.</TD> 40 </TR> 41 </TBODY> 42</TABLE> 43 44<h2>Internal Operation</h2> 45<P>Accesses the <code>EXMEMCNT</code> I/O register <code>(0x4000204)</code>.</P> 46 47<h2>See Also</h2> 48<p><CODE><A href="MI_SetMainMemoryPriority.html">MI_SetMainMemoryPriority</A><br></CODE></p> 49 50<H2>Revision History</H2> 51<P>2003/12/25 enum name changed to <CODE>MIProcessor</CODE>.<BR> 2003/12/18 Initial version.</P> 52<hr><p>CONFIDENTIAL</p></body> 53</html> 54