#include <revolution/pmic.h> PMIC_ERR PMICStart(void);
None.
Returns one of the following.
| PMIC_ERR_OK | The Wii Speak has been started 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. |
Starts the Wii Speak synchronously.
Once the Wii Speak has been started successfully, audio data can be obtained from the Wii Speak microphone.
This function cannot be called in an interrupt handler or alarm callback.
2008/09/25 Added Return Values.
2008/03/04 Changed the function reference format.
2008/01/25 Initial version.
CONFIDENTIAL