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 http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<title>NANDSetIconSpeed</title> 9</head> 10 11<body> 12 13<h1>NANDSetIconSpeed</h1> 14 15<h2>C Specification</h2> 16<dl><dd> 17<pre><code> 18#include <revolution/nand.h> 19 20#define NANDSetIconSpeed(stat, n, f) ((stat)->iconSpeed = (u16) (((stat)->iconSpeed & ~(NAND_BANNER_ICON_ANIM_SPEED_MASK << (2 * (n)))) | ((f) << (2 * (n))))) 21 22</code></pre> 23</dd></dl> 24 25<h2>Arguments</h2> 26<p> 27<TABLE border="1" > 28 <tr> 29<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>stat</EM></STRONG></CODE></TD> 30<TD width="520">Pointer to the <a href="./NANDBanner.html">NANDBanner</a> structure</TD> 31 </tr> 32 <tr> 33<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM><STRONG><EM><CODE>n</CODE></EM></STRONG></EM></STRONG></CODE></TD> 34<TD width="520">The icon index.</TD> 35 </tr> 36 <tr> 37<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM><STRONG><EM><CODE>f</CODE></EM></STRONG></EM></STRONG></CODE></TD> 38<TD width="520">one of the <code>NAND_BANNER_ICON_ANIM_SPEED_*</code> speeds.</TD> 39 </tr> 40</TABLE> 41</p> 42 43<H2>Description</H2> 44<p> 45Sets the duration for how long icon will be displayed. 46</p> 47 48<p> 49Here is the list of related macro constants: 50<table> 51 <tbody> 52 <tr> 53<td bgcolor="#C0C0C0">Macro name</td> 54<td bgcolor="#C0C0C0">Description</td> 55 </tr> 56 <tr> 57<td>NAND_BANNER_ICON_ANIM_SPEED_END</td> 58<td>The constant that indicates the end of the data when there are fewer than eight icons.</td> 59 </tr> 60 <tr> 61<td>NAND_BANNER_ICON_ANIM_SPEED_SLOW</td> 62<td>The constant corresponding to slow speed</td> 63 </tr> 64 <tr> 65<td>NAND_BANNER_ICON_ANIM_SPEED_NORMAL</td> 66<td>The constant corresponding to normal speed</td> 67 </tr> 68 <tr> 69<td>NAND_BANNER_ICON_ANIM_SPEED_FAST</td> 70<td>The constant corresponding to fast speed</td> 71 </tr> 72 <tr> 73<td>NAND_BANNER_ICON_ANIM_SPEED_MASK</td> 74<td>The animation speed mask bit.</td> 75 </tr> 76 </tbody> 77</table> 78</p> 79 80<h2>See Also</h2> 81<p> 82<code><a href="./NANDBanner.html">NANDBanner</a></code>, <code><a href="./NANDInitBanner.html">NANDInitBanner</a></code>, <code><a href="./NANDGetIconSpeed.html">NANDGetIconSpeed</a></code> 83</p> 84 85<H2>Revision History</H2> 86<p> 872006/09/19 Initial version. <BR> 88</p> 89 90<hr> 91<P>CONFIDENTIAL</p> 92</BODY> 93</HTML> 94