The pullup disable (GPxPUD) registers allow you to specify which pins should have an internal pullup resister
enabled. The internal pullups on the pins that can be configured as ePWM outputs (GPIO0-GPIO11) are all
disabled asynchronously when the external reset signal (XRS) is low. The internal pullups on all other pins are
enabled on reset. When coming out of reset, the pullups remain in their default state until you enable or disable
them selectively in software by writing to this register. The pullup configuration applies both to pins configured as
I/O and those configured as peripheral functions.
Figure 1-80. GPIO Port A Pullup Disable (GPAPUD) Registers
31
30
29
28
27
26
25
24
GPIO31
GPIO30
GPIO29
GPIO28
GPIO27
GPIO26
GPIO25
GPIO24
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
23
22
21
20
19
18
17
16
GPIO23
GPIO22
GPIO21
GPIO20
GPIO19
GPIO18
GPIO17
GPIO16
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
15
14
13
12
11
10
9
8
GPIO15
GPIO14
GPIO13
GPIO12
GPIO11
GPIO10
GPIO9
GPIO8
R/W-0
R/W-0
R/W-0
R/W-0
R/W-1
R/W-1
R/W-1
R/W-1
7
6
5
4
3
2
1
0
GPIO7
GPIO6
GPIO5
GPIO4
GPIO3
GPIO2
GPIO1
GPIO0
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 1-82. GPIO Port A Internal Pullup Disable (GPAPUD) Register Field Descriptions
Bits
Field
Value
Description
31-0
GPIO31-GPIO0
Configure the internal pullup resister on the selected GPIO Port A pin. Each GPIO pin
corresponds to one bit in this register.
0
Enable the internal pullup on the specified pin. (default for GPIO12-GPIO31)
1
Disable the internal pullup on the specified pin. (default for GPIO0-GPIO11)
System Control and Interrupts
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
145
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......