WM9713L_06 WOLFSON [Wolfson Microelectronics plc], WM9713L_06 Datasheet - Page 77

no-image

WM9713L_06

Manufacturer Part Number
WM9713L_06
Description
AC 97 Audio + Touchpanel CODEC
Manufacturer
WOLFSON [Wolfson Microelectronics plc]
Datasheet
Pre-Production
Note: GPIO7 (Pin 11) has an independent RESETB function. This must be disabled using RSTDIS (Register 5Ah, bit 8)
before using Pin 11 as a GPIO / PENDOWN.
w
The properties of the GPIOs are controlled through registers 4Ch to 52h, as shown below.
Table 62 GPIO Control
The following procedure is recommended for handling interrupts:
When the controller receives an interrupt, check register 54h. For each GPIO bit in descending order
of priority, check if the bit is ‘1’. If yes, execute corresponding interrupt routine, then write ‘0’ to
corresponding bit in 54h. If no, continue to next lower priority GPIO. After all GPIOs have been
checked, check if interrupt still present or no. If yes, repeat procedure. If no, then jump back to
process that ran before the interrupt.
If the system CPU cannot execute such an interrupt routine, it may be preferable to switch internal
signals (such as PENDOWN) directly onto the GPIO pins. However, in this case the interrupt signals
cannot be made sticky, and more GPIO pins are tied up both on the WM9713L and on the CPU.
4Ch
4Eh
50h
52h
54h
REGISTER
ADDRESS
n
n
n
n
n
BIT
GCn
GPn
GSn
GWn
GIn
LABEL
1
1
0
0
N/A
DEFAULT
GPIO Pin Configuration
0: Output
1: Input
GC9-15 are always ‘1’
GPIO Pin Polarity / Type
Input (GCn=1)
0: Active Low
1: Active High
[GIn = pin level XNOR
GPn]
GPIO Pin Sticky
1: Sticky
0: Not Sticky
GPIO Pin Wake-up
1: Wake Up (generate interrupts from this pin)
0: No wake-up (no interrupts generated)
GPIO Pin Status
Read: Returns status of each GPIO pin
Write: Writing ‘0’ clears sticky bit
DESCRIPTION
PP Rev 3.0 June 2006
Output (GCn=0)
0: Active High
1: Active low
WM9713L
77

Related parts for WM9713L_06