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_IsWramSlotLocked</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">MI_IsWramSlotLocked* <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> <BR> <CODE>BOOL MI_IsWramSlotLocked_A( int num )</CODE><br> <CODE>BOOL MI_IsWramSlotLocked_B( int num )</CODE><br> <CODE>BOOL MI_IsWramSlotLocked_C( int num )</CODE></dd> 20</dl> 21<h2>Arguments</h2> 22<TABLE border="1" width="100%"> 23 <TBODY> 24 <TR> 25<TD width="13%"><EM><STRONG>num</STRONG></EM></TD> 26<TD width="87%">The bank number of the WRAM to get information about.</TD> 27 </TR> 28 </TBODY> 29</TABLE> 30 31<h2>Return Values</h2> 32<p>TRUE indicates that the slot is locked.<BR>FALSE indicates that the slot is not locked.</p> 33 34<H2>Description</H2> 35<P>Looks up whether the specified WRAM slot is locked so that the WRAM configuration cannot be changed.</P> 36<P><B><I>num</I></B> indicates which slot number of the designated WRAM to check for being locked.</P> 37<P>Locks on the WRAM configuration will already have been set when the application is started and cannot be changed thereafter. After startup, this function can only be used to get the status.</P> 38<h2>Internal Operation</h2> 39<p>Accesses I/O register MBK9.</p> 40 41<h2>See Also</h2> 42<P><A href="about_Wram.html">Overview (Work RAM)</A><BR> <A href="../mi_constant.html">MI-Related Constants</A></P> 43 44<H2>Revision History</H2> 45<P>2008/03/03 Deleted the link to the WRAM lock function.<BR>2007/08/22 Initial version.</P> 46<hr><p>CONFIDENTIAL</p></body> 47</html> 48