CARD_SetThreadPriority

Syntax

#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

Sets the priority of the CARD asynchronous processing thread. This thread is used internally when restrictions on arguments or the operating environment prevent CARD_ReadRomAsync and other asynchronous CARD functions from running in an IRQ handler. 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_GetThreadPriority
CARD_ReadRomAsync
CARD_ReadEepromAsync
CARD_WriteEepromAsync
CARD_VerifyEepromAsync
CARD_WriteAndVerifyEepromAsync

Revision History

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


CONFIDENTIAL