PMICStop

Syntax

#include <revolution/pmic.h>

PMIC_ERR PMICStop(void);

Arguments

None.

Return Values

Returns one of the following.

PMIC_ERR_OK The Wii Speak has been stopped successfully.
PMIC_ERR_NO_DEVICE The Wii Speak has been unplugged.
PMIC_ERR_INVALID_STATE The Wii Speak is not open.
PMIC_ERR_BUSY The state is in transition. Call the function again.
PMIC_ERR_USB_ERROR An error occurred in USB communications. Call the function again.
PMIC_ERR_FATAL A fatal error has occurred.

Description

Stops the Wii Speak synchronously.

Once the Wii Speak has been stopped successfully, audio data can no longer be obtained from the Wii Speak microphone.

This function cannot be called in an interrupt handler or alarm callback.

See Also

Revision History

2008/09/25 Added Return Values.
2008/03/04 Changed the function reference format.
2008/01/25 Initial version.


CONFIDENTIAL