Table 9 – Texas Instruments TMS320DM644x User Manual

Page 22

Advertising
background image

www.ti.com

Registers

Table 9. GPIO Set Data Register (SET_DATAn) Field Descriptions

Bit

Field

Value

Description

31-16

SETn

Set output drive state of GPIO pin n. The SETn bit is used to set the output of pin n on GPIO bank 2I + 1
only when pin n is configured as an output (DIRn = 0). The SETn bit is ignored when GPIO pin n is
configured as an input. Writing a 1 to the SETn bit sets the output drive state of the corresponding GPIO
pin n; reading the SETn bit returns the output drive state of the corresponding GPIO pin n. This bit field
configures the GPIO pins on GPIO banks 1 and 3.

0

No effect.

1

Set GPIO pin n output to 1.

15-0

SETn

Set output drive state of GPIO pin n. The SETn bit is used to set the output of pin n on GPIO bank 2I only
when pin n is configured as an output (DIRn = 0). The SETn bit is ignored when GPIO pin n is configured
as an input. Writing a 1 to the SETn bit sets the output drive state of the corresponding GPIO pin n;
reading the SETn bit returns the output drive state of the corresponding GPIO pin n. This bit field
configures the GPIO pins on GPIO banks 0, 2, and 4.

0

No effect.

1

Set GPIO pin n output to 1.

General-Purpose Input/Output (GPIO)

22

SPRUE25 – December 2005

Advertising