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_ReadByte</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">MI_ReadByte <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> <BR> <CODE>u8 MI_ReadByte( const void* address );</CODE><br> 20 </dd> 21</dl> 22<h2>Arguments</h2> 23<TABLE border="1" width="100%"> 24 <TBODY> 25 <TR> 26<TD width="13%"><CODE>address</CODE></TD> 27<TD width="87%">Address to read byte data from (pointer)</TD> 28 </TR> 29 </TBODY> 30</TABLE> 31 32<h2>Return Values</h2> 33<p>Contents of the memory at the specified address (u8).</p> 34 35<H2>Description</H2> 36<P>This function acquires as u8 data the contents of the memory at the <CODE>address</CODE> that is specified by a <CODE>const void</CODE> type pointer.</P> 37<P>This function ensures compatibility with previous versions. Currently, this is just an inline function that reads <CODE>data</CODE> by treating <CODE>address</CODE> as a u8 pointer.</P> 38<H2>See Also</H2> 39<P><CODE><A href="MI_WriteByte.html">MI_WritedByte</A></CODE></P> 40<H2>Revision History</H2> 41<P>2008/07/09 Revised the reference to match current specifications.<BR> 2004/04/06 Revised the description in line with changing the type of the argument <B><I>address</I></B> to <CODE>const void*</CODE>.<BR> 2004/03/30 Initial version. 42</P> 43<hr><p>CONFIDENTIAL</p></body> 44</html> 45