Digital I/O Registers
698
SLAU356I – March 2015 – Revised June 2019
Copyright © 2015–2019, Texas Instruments Incorporated
Digital I/O
12.4.8 PxSEL1 Register
Port X Function Selection Register 1 (X = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 or J)
Figure 12-8. PxSEL1 Register
7
6
5
4
3
2
1
0
PxSEL1
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
Table 12-11. PxSEL1 Register Description
Bit
Field
Type
Reset
Description
7-0
PxSEL1
RW
0h
Port function selection. Each bit corresponds to one channel on Port X.
The values of each bit position in PxSEL1 and PxSEL0 are combined to specify
the function. For example, if P1SEL1.5 = 1 and P1SEL0.5 = 0, then the
secondary module function is selected for P1.5.
00b = General-purpose I/O is selected
01b = Primary module function is selected
10b = Secondary module function is selected
11b = Tertiary module function is selected
12.4.9 PxSELC Register
Port X Complement Selection (X = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 or J)
Figure 12-9. PxSELC Register
7
6
5
4
3
2
1
0
PxSELC
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
Table 12-12. PxSELC Register Description
Bit
Field
Type
Reset
Description
7-0
PxSELC
RW
0h
Port selection complement. Each bit that is set in PxSELC complements the
corresponding respective bit of both the PxSEL1 and PxSEL0 registers; that is,
for each bit set in PxSELC, the corresponding bits in both P1xEL1 and PxSEL0
are both changed at the same time. Always reads as 0.
12.4.10 PxIES Register
Port X Interrupt Edge Select Register (X = 1, 2, 3, 4, 5, 6, 7, 8, 9 or 10)
Figure 12-10. PxIES Register
7
6
5
4
3
2
1
0
PxIES
rw
rw
rw
rw
rw
rw
rw
rw
Table 12-13. P1IES Register Description
Bit
Field
Type
Reset
Description
7-0
PxIES
RW
Undefined
Port X interrupt edge select
0b = PxIFG flag is set with a low-to-high transition.
1b = PxIFG flag is set with a high-to-low transition.