# CARD_Init

## C Specification

  `#include <nitro/card.h>`
  `void CARD_Init( void );`

## Arguments

None.

## Return Values

None.

## Description

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

## See Also

`CARD_IsAvailable, OS_Init`

## Revision History

04/11/2005 Added description of self-generating asynchronous process thread
10/18/2004 Added text to the description about `OS_Init`.
07/05/2004 Initial version.

CONFIDENTIAL