鈥?/div>
MASK Input Function
ADA Function
General GPIO
To set the device into one of the three above modes the following configurations should be used.
PIN 47 MODE
MASK
ADA
GPIO
REGISTER 56H BIT 4 SETTING
(GPIO FUNCTION SELECT)
1
1
0
REGISTER 4CH BIT 4 SETTING
(PIN DEFINED AS INPUT OR OUTPUT)
1 (Input)
0 (Output)
1 or 0 (GPIO can be Input or Output)
Table 1 WM9712 Pin 47 Configuration
MASK FUNCTION
Sources of glitch noise, such as the signals driving an LCD display, may feed through to the
touchscreen plates and affect measurement accuracy. In order to minimise this effect, a signal may
be applied to MASK (pin 47) to delay or synchronise the sampling of any input to the ADC. The effect
of the MASK signal depends on the MSK[1-0] bits of register 78h, as described below.
MSK[1-0]
00
01
10
EFFECT OF SIGNAL ON MASK PIN
MASK has no effect on conversions GPIO input disabled (default)
Static; 鈥榟i鈥?on MASK pin stops conversions, 鈥榣o鈥?has no effect.
Edge triggered; rising or falling edge on MASK pin delays conversions
by an amount set in the DEL[3-0] register. Conversions are asynchronous to
the MASK signal.
Synchronous mode; conversions wait until rising or falling edge on MASK
initiates cycle; screen starts to be driven when the edge arrives, the
conversion sample being taken a period set by DEL[3-0] after the edge.
11
Table 2 Controlling the MASK Feature
WOLFSON MICROELECTRONICS plc
March 2004, Rev 1.0.
Copyright
餂?004
Wolfson Microelectronics plc
www.wolfsonmicro.com