Registers
Table 9. GPIO Set Data Register (SET_DATA n) Field Descriptions
Bit Field Value Description
31-16 SET n Set output drive state of GPIO pin n. The SET n bit is used to set the output of pin n on GPIO bank 2 I + 1
only when pin n is configured as an output (DIR n = 0). The SET n bit is ignored when GPIO pin n is
configured as an input. Writing a 1 to the SET n bit sets the output drive state of the corresponding GPIO
pin n; reading the SET n 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 SET n Set output drive state of GPIO pin n. The SET n bit is used to set the output of pin n on GPIO bank 2 I only
when pin n is configured as an output (DIR n = 0). The SET n bit is ignored when GPIO pin n is configured
as an input. Writing a 1 to the SET n bit sets the output drive state of the corresponding GPIO pin n;
reading the SET n 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
Comments to this Manuals