4 using a gpio signal as an output – Texas Instruments TMS320DM644x User Manual
Page 11
www.ti.com
2.4
Using a GPIO Signal as an Output
Peripheral Architecture
Table 1. GPIO Register Bits and Banks Associated With GPIO Pins (continued)
GPIO Signal
Bank Number
Register Pair Number
Register Field Number
Bit Number
GPIO38
2
register_name23
field_name38
Bit 6
GPIO39
2
register_name23
field_name39
Bit 7
GPIO40
2
register_name23
field_name40
Bit 8
GPIO41
2
register_name23
field_name41
Bit 9
GPIO42
2
register_name23
field_name42
Bit 10
GPIO43
2
register_name23
field_name43
Bit 11
GPIO44
2
register_name23
field_name44
Bit 12
GPIO45
2
register_name23
field_name45
Bit 13
GPIO46
2
register_name23
field_name46
Bit 14
GPIO47
2
register_name23
field_name47
Bit 15
GPIO48
3
register_name23
field_name48
Bit 16
GPIO49
3
register_name23
field_name49
Bit 17
GPIO50
3
register_name23
field_name50
Bit 18
GPIO51
3
register_name23
field_name51
Bit 19
GPIO52
3
register_name23
field_name52
Bit 20
GPIO53
3
register_name23
field_name53
Bit 21
GPIOV33_0
3
register_name23
field_name54
Bit 22
GPIOV33_1
3
register_name23
field_name55
Bit 23
GPIOV33_2
3
register_name23
field_name56
Bit 24
GPIOV33_3
3
register_name23
field_name57
Bit 25
GPIOV33_4
3
register_name23
field_name58
Bit 26
GPIOV33_5
3
register_name23
field_name59
Bit 27
GPIOV33_6
3
register_name23
field_name60
Bit 28
GPIOV33_7
3
register_name23
field_name61
Bit 29
GPIOV33_8
3
register_name23
field_name62
Bit 30
GPIOV33_9
3
register_name23
field_name63
Bit 31
GPIOV33_10
4
register_name4
field_name64
Bit 0
GPIOV33_11
4
register_name4
field_name65
Bit 1
GPIOV33_12
4
register_name4
field_name66
Bit 2
GPIOV33_13
4
register_name4
field_name67
Bit 3
GPIOV33_14
4
register_name4
field_name68
Bit 4
GPIOV33_15
4
register_name4
field_name69
Bit 5
GPIOV33_16
4
register_name4
field_name70
Bit 6
GPIO signals are configured to operate as inputs or outputs by writing the appropriate value to the GPIO
direction register (DIR). This section describes using the GPIO signal as an output signal.
2.4.1
Configuring a GPIO Output Signal
To configure a given GPIO signal as an output, clear the bit in DIR that is associated with the desired
GPIO signal. For detailed information on DIR, see
.
SPRUE25 – December 2005
General-Purpose Input/Output (GPIO)
11