CapTouch Registers
397
SLAU367P – October 2012 – Revised April 2020
Copyright © 2012–2020, Texas Instruments Incorporated
Capacitive Touch I/O
13.3.1 CAPTIOxCTL Register (offset = 0Eh) [reset = 0000h]
Capacitive Touch I/O x Control Register
Figure 13-3. CAPTIOxCTL Register
15
14
13
12
11
10
9
8
Reserved
CAPTIO
CAPTIOEN
r0
r0
r0
r0
r0
r0
r-0
rw-0
7
6
5
4
3
2
1
0
CAPTIOPOSELx
CAPTIOPISELx
Reserved
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
r0
Table 13-2. CAPTIOxCTL Register Description
Bit
Field
Type
Reset
Description
15-10
Reserved
R
0h
Reserved. Always reads 0.
9
CAPTIO
R
0h
Capacitive Touch I/O state. Reports the current state of the selected Capacitive
Touch I/O. Reads 0, if Capacitive Touch I/O disabled.
0b = Current state 0 or Capacitive Touch I/O is disabled
1b = Current state 1
8
CAPTIOEN
RW
0h
Capacitive Touch I/O enable
0b = All Capacitive Touch I/Os are disabled. Signal toward timers is 0.
1b = Selected Capacitive Touch I/O is enabled
7-4
CAPTIOPOSELx
RW
0h
Capacitive Touch I/O port select. Selects port Px. Selecting a port pin that is not
available on the device in use gives unpredictable results.
0000b = Px = PJ
0001b = Px = P1
0010b = Px = P2
0011b = Px = P3
0100b = Px = P4
0101b = Px = P5
0110b = Px = P6
0111b = Px = P7
1000b = Px = P8
1001b = Px = P9
1010b = Px = P10
1011b = Px = P11
1100b = Px = P12
1101b = Px = P13
1110b = Px = P14
1111b = Px = P15
3-1
CAPTIOPISELx
RW
0h
Capacitive Touch I/O pin select. Selects the pin within selected port Px (see
CAPTIOPOSELx). Selecting a port pin that is not available on the device in use
gives unpredictable results.
000b = Px.0
001b = Px.1
010b = Px.2
011b = Px.3
100b = Px.4
101b = Px.5
110b = Px.6
111b = Px.7
0
Reserved
R
0h
Reserved. Always reads 0.