I/O Control Registers
11.11.3.23 IOCFG22 Register (Offset = 58h) [reset = 6000h]
IOCFG22 is shown in
and described in
.
Configuration of DIO22
Figure 11-45. IOCFG22 Register
31
30
29
28
27
26
25
24
RESERVED
HYST_EN
IE
WU_CFG
IOMODE
R-0h
R/W-0h
R/W-0h
R/W-0h
R/W-0h
23
22
21
20
19
18
17
16
RESERVED
EDGE_IRQ_EN
EDGE_DET
R/W-0h
R/W-0h
R/W-0h
15
14
13
12
11
10
9
8
RESERVED
PULL_CTL
SLEW_RED
IOCURR
IOSTR
R-0h
R/W-3h
R/W-0h
R/W-0h
R/W-0h
7
6
5
4
3
2
1
0
RESERVED
PORT_ID
R-0h
R/W-0h
Table 11-49. IOCFG22 Register Field Descriptions
Bit
Field
Type
Reset
Description
31
RESERVED
R
0h
Software must not rely on the value of a reserved. Writing any other
value than the reset value may result in undefined behavior.
30
HYST_EN
R/W
0h
0: Input hysteresis disable
1: Input hysteresis enable
29
IE
R/W
0h
0: Input disabled
1: Input enabled
Note: If IO is configured for AUX, that is PORT_ID = 0x08, the
enable will be ignored.
28-27
WU_CFG
R/W
0h
If DIO is configured GPIO or non-AON peripheral signals, that is
PORT_ID 0x00 or >0x08:
00: No wakeup
01: No wakeup
10: Wakes up from shutdown if this pad is going low.
11: Wakes up from shutdown if this pad is going high.
If IO is configured for AON peripheral signals or AUX, that is
PORT_ID 0x01-0x08, this register only sets wakeup enable or not.
00, 01: Wakeup disabled
10, 11: Wakeup enabled
Polarity is controlled from AON registers.
Note: When the MSB is set, the IOC will deactivate the output
enable for the DIO.
26-24
IOMODE
R/W
0h
IO Mode
N/A for IO configured for AON peripheral signals and AUX, that is
PORT_ID 0x01-0x08
AUX has its own open_source/drain configuration.
0x2: Reserved. Undefined behavior.
0x3: Reserved. Undefined behavior.
0h = NORMAL : Normal input/output
1h = INV : Inverted input/output
4h = OPENDR : Open Drain,
Normal input/output
5h = OPENDR_INV : Open Drain
Inverted input/output
6h = OPENSRC : Open Source
Normal input/output
7h = OPENSRC_INV : Open Source
Inverted input/output
998
I/O Control
SWCU117C – February 2015 – Revised September 2015
Copyright © 2015, Texas Instruments Incorporated