wm9711lgefl-v Wolfson Microelectronics plc, wm9711lgefl-v Datasheet - Page 40

no-image

wm9711lgefl-v

Manufacturer Part Number
wm9711lgefl-v
Description
Low Power Audio Codec For Portable Applications
Manufacturer
Wolfson Microelectronics plc
Datasheet
WM9711L
w
GPIO AND INTERRUPT CONTROL
Figure 7 GPIO logic
The WM9711L has five GPIO pins that operate as defined in the AC’97 Revision 2.2 specification.
Each GPIO pin can be set up as an input or as an output, and has corresponding bits in register 54h
and in slot 12. The state of a GPIO output is determined by sending data through slot 12 of outgoing
frames (SDATAOUT). Data can be returned from a GPIO input by reading the register bit, or
examining slot 12 of incoming frames (SDATAIN). GPIO inputs can be made sticky, and can be
programmed to generate and interrupt, transmitted either through the AC-Link or through a
dedicated, level-mode interrupt pin (GPIO2/IRQ, pin 45).
GPIO pins 2 to 5 are multi-purpose pins that can also be used for other (non-GPIO) purposes, e.g.
as a SPDIF output or to signal pen-down. This is controlled by register 56h.
Independently of the GPIO pins, the WM9711L also has three virtual GPIOs. These are signals from
inside the WM9711L, which are treated as if they were GPIO input signals. From a software
perspective, virtual GPIOs are the same as GPIO pins, but they cannot be set up as outputs, and are
not tied to an actual pin. This allows for simple, uniform processing of different types of signals that
may generate interrupts (e.g. pen down, battery warnings, jack insertion, high-temperature warning,
or GPIO signals).
PD Rev 4.3 August 2006
Production Data
40

Related parts for wm9711lgefl-v