CARD_SetThreadPriority

C Specification

#include <nitro/card.h>

u32 CARD_SetThreadPriority(u32 prior);

Arguments

prior The priority to assign to a thread.

Return Values

Returns the priority previously assigned to the CARD asynchronous process.

Description

Returns the priority of the current CARD asynchronous process thread. This thread is used internally when a CARD asynchronous function, such as CARD_ReadRomAsync, cannot execute using only the IRQ handler because of contraints imposed by arguments and the operating environment. The initial priority of this thread is set to the value of the CARD_THREAD_PRIORITY_DEFAULT variable. Obtain the value of the current setting using the CARD_GetThreadPriority function.

See Also

CARD_GetThreadPriority, CARD_ReadRomAsync, CARD_ReadEepromAsync, CARD_WriteEepromAsync, CARD_VerifyEepromAsync, CARD_WriteAndVerifyEepromAsync

Revision History

11/02/2004 Corrected typo in argument name.
07/28/2004 Added descriptions and links.
07/19/2004 Initial version.