Digital I/O Registers
374
SLAU367P – October 2012 – Revised April 2020
Copyright © 2012–2020, Texas Instruments Incorporated
Digital I/O
12.4 Digital I/O Registers
The digital I/O registers are listed in
. The base addresses can be found in the device-specific
data sheet. Each port grouping begins at its base address. The address offsets are given in
NOTE:
All registers have word or byte register access. For a generic register
ANYREG
, the suffix
"_L" (
ANYREG_L
) refers to the lower byte of the register (bits 0 through 7). The suffix "_H"
(
ANYREG_H
) refers to the upper byte of the register (bits 8 through 15).
Table 12-3. Digital I/O Registers
Offset
Acronym
Register Name
Type
Access
Reset
Section
0Eh
P1IV
Port 1 Interrupt Vector
Read only
Word
0000h
0Eh
P1IV_L
Read only
Byte
00h
0Fh
P1IV_H
Read only
Byte
00h
1Eh
P2IV
Port 2 Interrupt Vector
Read only
Word
0000h
1Eh
P2IV_L
Read only
Byte
00h
1Fh
P2IV_H
Read only
Byte
00h
2Eh
P3IV
Port 3 Interrupt Vector
Read only
Word
0000h
2Eh
P3IV_L
Read only
Byte
00h
2Fh
P3IV_H
Read only
Byte
00h
3Eh
P4IV
Port 4 Interrupt Vector
Read only
Word
0000h
3Eh
P4IV_L
Read only
Byte
00h
3Fh
P4IV_H
Read only
Byte
00h
4Eh
P5IV
Port 5 Interrupt Vector
Read only
Word
0000h
4Eh
P5IV_L
Read only
Byte
00h
4Fh
P5IV_H
Read only
Byte
00h
5Eh
P6IV
Port 6 Interrupt Vector
Read only
Word
0000h
5Eh
P6IV_L
Read only
Byte
00h
5Fh
P6IV_H
Read only
Byte
00h
6Eh
P7IV
Port 7 Interrupt Vector
Read only
Word
0000h
6Eh
P7IV_L
Read only
Byte
00h
6Fh
P7IV_H
Read only
Byte
00h
7Eh
P8IV
Port 8 Interrupt Vector
Read only
Word
0000h
7Eh
P8IV_L
Read only
Byte
00h
7Fh
P8IV_H
Read only
Byte
00h
8Eh
P9IV
Port 9 Interrupt Vector
Read only
Word
0000h
8Eh
P9IV_L
Read only
Byte
00h
8Fh
P9IV_H
Read only
Byte
00h
00h
P1IN
or PAIN_L
Port 1 Input
Read only
Byte
undefined
02h
P1OUT
or PAOUT_L
Port 1 Output
Read/write
Byte
undefined
04h
P1DIR
or PADIR_L
Port 1 Direction
Read/write
Byte
00h
06h
P1REN
or PAREN_L
Port 1 Resistor Enable
Read/write
Byte
00h
0Ah
P1SEL0
or PASEL0_L
Port 1 Select 0
Read/write
Byte
00h
0Ch
P1SEL1
or PASEL1_L
Port 1 Select 1
Read/write
Byte
00h
16h
P1SELC
or PASELC_L
Port 1 Complement Selection
Read/write
Byte
00h