WM9714L_06 WOLFSON [Wolfson Microelectronics plc], WM9714L_06 Datasheet - Page 63

no-image

WM9714L_06

Manufacturer Part Number
WM9714L_06
Description
AC 97 Audio CODEC
Manufacturer
WOLFSON [Wolfson Microelectronics plc]
Datasheet
Pre-Production
w
The properties of the GPIOs are controlled through registers 4Ch to 52h, as shown below.
Table 57 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 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 WM9714L 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
WM9714L
63

Related parts for WM9714L_06