wm8953 Wolfson Microelectronics plc, wm8953 Datasheet - Page 44

no-image

wm8953

Manufacturer Part Number
wm8953
Description
Low Power Stereo Adc With Pll And Tdm Interface Low Power Stereo Adc With Pll And Tdm Interface
Manufacturer
Wolfson Microelectronics plc
Datasheet
WM8953
w
BUTTON CONTROL
The WM8953 GPIO supports button control detection with full status readback for up to four inputs
(and one IRQ output). All inputs are latched at the IRQ Register, with de-bounce available for normal
operation. De-bouncing may be disabled in order to allow the device to respond to wake-up events
while the processor is disabled and is unable to provide a clock for de-bouncing.
To enable button control and accessory detection, the following register settings are required:
Programmable pull-up and pull-down resistors are available on GPIO3, GPIO4 and GPIO5. These
should be set according to the external circuit configuration. Note that pull-up and pull-down resistors
are not available on the GPI7 and GPI8 input pins. Note that the analogue input paths to GPI7 and
GPI8 must be disabled as described above when using these as digital inputs.
In this application, one or more of the GPIO pins may be configured as an Interrupt event if desired.
This is controlled by the GPIOn_IRQ_ENA bits described in Table 21. The GPIO Pin status fields
contained in the IRQ Register (R18) may be read at any time or else in response to an Interrupt
event. See Table 30 for more details of the Interrupt function.
An example configuration of the button control GPIO function is illustrated in Figure 21.
Figure 21 Example of Button Control Using GPIO Pins
Note:
LMN3 = 0 (only required if using GPI7)
RMN3 = 0 (only required if using GPI8)
AIF_TRIS = 0
GPIOn_SEL = 0000 for each required GPIO button input
The GPIOs 3, 4, and 5 are referenced to DBVDD
The GPIs 7 and 8 are referenced to AVDD
PD, January 2009, Rev 4.0
Production Data
44

Related parts for wm8953