NANDGetIconSpeed

Syntax

#include <revolution/nand.h>

#define NANDGetIconSpeed(stat, n)  (((stat)->iconSpeed  >> (2 * (n))) & NAND_BANNER_ICON_ANIM_SPEED_MASK)

Arguments

stat Pointer to the NANDBanner structure
n The icon index.

Description

Gets the duration of time the graphic of the icon is displayed.

Here is the list of related macro constants:
Macro name Description
NAND_BANNER_ICON_ANIM_SPEED_END The constant that indicates the end of the data when there are fewer than eight icons.
NAND_BANNER_ICON_ANIM_SPEED_SLOW The constant corresponding to slow speed.
NAND_BANNER_ICON_ANIM_SPEED_NORMAL The constant corresponding to normal speed.
NAND_BANNER_ICON_ANIM_SPEED_FAST The constant corresponding to fast speed.
NAND_BANNER_ICON_ANIM_SPEED_MASK The animation speed mask bit.

See Also

NANDBanner, NANDInitBanner, NANDSetIconSpeed

Revision History

2006/09/19 Initial version.


CONFIDENTIAL