KPRInitQueue

Syntax

#include <cafe/kpr.h>

void KPRInitQueue(KPRQueue *queue);

Parameters

queue Pointer to a queue to be initialized.

Return Values

None.

Description

This function clears a queue and sets the default processing mode to KPR_MODE_ALT_KEYPAD. It should be called after a queue is created and before it is used. It may also be called again to clear the queue and reset the processing mode.

Do Not Call From

Background Do not call this function from the background.
Callbacks Do not call this function from any callback function.
Interrupt handler Do not call this function from any interrupt handler.
Exception handler Do not call this function from any exception handler.

See Also

KPRClearQueue
KPRQueue

Revision History

2013-05-08 Automated cleanup pass.


CONFIDENTIAL