wm9712l Wolfson Microelectronics plc, wm9712l Datasheet - Page 53

no-image

wm9712l

Manufacturer Part Number
wm9712l
Description
Ac?97 Audio And Touchpanel Codec
Manufacturer
Wolfson Microelectronics plc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
wm9712lEFL
Manufacturer:
WOLF
Quantity:
4 290
Part Number:
wm9712lEFL/RV
Manufacturer:
WM
Quantity:
20 000
Part Number:
wm9712lGEFL
Manufacturer:
WOLFSON
Quantity:
20 000
Part Number:
wm9712lGEFL/RV
Manufacturer:
WM
Quantity:
20 000
Part Number:
wm9712lGEFL/V
Manufacturer:
VISHAY
Quantity:
1 000
Production Data
w
The properties of the GPIOs are controlled through registers 4Ch to 52h, as shown below.
Table 38 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 the 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 WM9712L 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
GC11-15 are always ‘1’
Unused bits GC6-GC10 are always ‘0’
GPIO Pin Polarity / Type
0: Active Low
1: Active High
[GIn = pin level XNOR GPn]
Unused bits GP6-GP10 are always ‘1’
GPIO Pin Sticky
1: Sticky
0: Not Sticky
Unused bits GS6-GS10 are always ‘0’
GPIO Pin Wake-up
1: Wake Up (generate interrupts from this pin)
0: No wake-up (no interrupts generated)
Unused bits GW6-GW10 are always ‘0’
GPIO Pin Status
Read: Returns status of each GPIO pin
Write: Writing ‘0’ clears sticky bit
Unused bits GI6-GI10 are always ‘0’
DESCRIPTION
PD Rev 4.5 August 2006
WM9712L
53

Related parts for wm9712l