KPADDisableDPD

Syntax

#include <cafe/pads/kpad/kpad.h>

void KPADDisableDPD( s32 chan );

Parameters

chan One of the WPAD_CHANn values.

Return Values

None.

Description

This function internally calls the WPADControlDpd and WPADSetDataFormat functions, and issues requests to turn off the DPD module for the Wii remote and to change the data format. Turning the DPD module OFF reduces the Wii remote's power consumption.

The library attempts to issue requests when data is received from the Wii remote. If issuing a request fails, the system tries again the next time data is received. If issuing a request succeeds, the timer in the WPAD library for automatically disconnecting is reset because the data format changes.

Do Not Call From

Background Do not call this function from the background.
Interrupt handler Do not call this function from any interrupt handler.
Exception handler Do not call this function from any exception handler.
Multiple Cores Do not call this function from more than one Core.

See Also

KPADEnableDPD
WPADControlDpd
WPADSetDataFormat

Revision History

2013-05-08 Automated cleanup pass.
2008-03-17 Added mention that the data format changes and that the timer for automatic disconnection is reset.
2006-09-07 Initial version.


CONFIDENTIAL