CARD_Init

Syntax

#include <nitro/card.h>

void CARD_Init( void );

Arguments

None.

Return Values

None.

Description

This function initializes the CARD module. It must be called at least once before any CARD function is called. However, if you call CARD_Init more than once, nothing happens. Note that this function is called from within the OS_Init function, so there is no need for the application to call it again. This function generates an asynchronous process thread during initialization processing. This thread is used internally when restrictions on arguments or the operating environment prevent CARD_ReadRomAsync and other asynchronous functions from running in an interrupt handler alone. The priority of this thread is set to CARD_THREAD_PRIORITY_DEFAULT by default. It can be changed with the CARD_SetThreadPriority function.

See Also

CARD_IsAvailable
OS_Init

Revision History

2005/04/11 Mentioned that asynchronous threads are generated automatically.
2004/10/18 Explained that this is called from the OS_Init function.
2004/07/05 Initial version.


CONFIDENTIAL