Registers
982
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Host Port Interface (HPI)
21.3.6 GPIO Direction 2 Register (GPIO_DIR2)
The GPIO direction 2 register (GPIO_DIR2) determines if the HPI pin is an input or an output. GPIO_DIR2
is shown in
and described in
Figure 21-22. GPIO Direction 2 Register (GPIO_DIR2)
31
16
Reserved
R-0
15
10
9
8
Reserved
HRDY
HINTZ
R-0
R/W-0
R/W-0
7
6
5
4
3
2
1
0
HCNTL0
HCNTL1
HHWIL
HRW
HDS2Z
HDS1Z
HCSZ
HASZ
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 21-12. GPIO Direction 2 Register (GPIO_DIR2) Field Descriptions
Bit
Field
Value
Description
31-10
Reserved
0
Reserved
9
HRDY
Direction control for UHPI_HRDY pin.
0
UHPI_HRDY pin is an input.
1
UHPI_HRDY pin is an output.
8
HINTZ
Direction control for UHPI_HINT pin.
0
UHPI_HINT pin is an input.
1
UHPI_HINT pin is an output.
7
HCNTL0
Direction control for UHPI_HCNTL0 pin.
0
UHPI_HCNTL0 pin is an input.
1
UHPI_HCNTL0 pin is an output.
6
HCNTL1
Direction control for UHPI_HCNTL1 pin.
0
UHPI_HCNTL1 pin is an input.
1
UHPI_HCNTL1 pin is an output.
5
HHWIL
Direction control for UHPI_HHWIL pin.
0
UHPI_HHWIL pin is an input.
1
UHPI_HHWIL pin is an output.
4
HRW
Direction control for UHPI_HR/W pin.
0
UHPI_HR/W pin is an input.
1
UHPI_HR/W pin is an output.
3
HDS2Z
Direction control for UHPI_HDS2 pin.
0
UHPI_HDS2 pin is an input.
1
UHPI_HDS2 pin is an output.
2
HDS1Z
Direction control for UHPI_HDS1 pin.
0
UHPI_HDS1 pin is an input.
1
UHPI_HDS1 pin is an output.
1
HCSZ
Direction control for UHPI_HCS pin.
0
UHPI_HCS pin is an input.
1
UHPI_HCS pin is an output.
0
HASZ
Direction control for UHPI_HAS pin.
0
UHPI_HAS pin is an input.
1
UHPI_HAS pin is an output.