1<html> 2 3<head> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<title>CARDGetCurrentMode</title> 9</head> 10 11<body> 12 13<h1>CARDGetCurrentMode</h1> 14 15 16<h2>C Specification</h2> 17 18<dl> 19<dd><pre><code>#include <revolution/card.h> 20 21#define CARD_MODE_NORMAL 0 22#define CARD_MODE_FAST 1 23 24s32 CARDGetCurrentMode(s32 chan, u32* mode);</code></pre></dd> 25</dl> 26<h2>Arguments</h2> 27 28<table border="1" cellpadding="3" cellspacing="0"> 29 <tr> 30<td width="120" bgcolor="#ffffe8"><em><strong><code>chan</code></strong></em></td> 31<td width="520">EXI channel number.</td> 32 </tr> 33 <tr> 34<td width="120" bgcolor="#ffffe8"><code><em><strong>mode</strong></em></code></td> 35<td width="520">Pointer to u32 type for receiving the result. When the function call is successful, either <code>CARD_MODE_NORMAL</code> or <code>CARD_MODE_FAST</code> is set.</td> 36 </tr> 37</table> 38 39<h2>Return Values</h2> 40<P>One of the following codes:</P> 41<p><code>CARD_RESULT_FATAL_ERROR<br> CARD_RESULT_NOCARD<br> CARD_RESULT_BUSY<br> CARD_RESULT_READY</code></p> 42<h2>Description</h2> 43<P>Gets the current memory card processing mode that is applied to the Memory Card inserted in the specified EXI channel.</P> 44<P><em><strong>Note</strong></em>: If the fast operation mode is enabled, Memory Card 1019 can be programmed (written) much faster than Memory Card 59 and Memory Card 251. By default, the fast operation mode is disabled for backward compatibility.</P> 45 46<h2>See Also</h2> 47 48<p><a target="contents" href="toc.html">Memory Card Functions</a>, <br> <code><a href="CARDGetFastMode.html">CARDGetFastMode</a></code>, <code><a href="CARDSetFastMode.html">CARDSetFastMode</a></code></p> 49<H2>Revision History</H2> 50<P>2006/03/01 Initial version.</P> 51<hr> 52<P>CONFIDENTIAL</p> 53</BODY> 54</HTML>