[][src]Type Definition cc3220sf::gpioa4::DATA

type DATA = Reg<u32, _DATA>;

0x4000 5000 0x4000 6000 0x4000 7000 0x4002 4000 GPIO Data (GPIODATA)@@ offset 0x000 The GPIODATA register is the data register. In software control mode@@ values written in the GPIODATA register are transferred onto the GPIO port pins if the respective pins have been configured as outputs through the GPIO Direction (GPIODIR) register (see page 653). In order to write to GPIODATA@@ the corresponding bits in the mask@@ resulting from the address bus bits [9:2]@@ must be set. Otherwise@@ the bit values remain unchanged by the write. Similarly@@ the values read from this register are determined for each bit by the mask bit derived from the address used to access the data register@@ bits [9:2]. Bits that are set in the address mask cause the corresponding bits in GPIODATA to be read@@ and bits that are clear in the address mask cause the corresponding bits in GPIODATA to be read as 0@@ regardless of their value. A read from GPIODATA returns the last bit value written if the respective pins are configured as outputs@@ or it returns the value on the corresponding input pin when these are configured as inputs. All bits are cleared by a reset.

This register you can read, reset, write, write_with_zero, modify. See API.

For information about available fields see data module

Trait Implementations

impl Readable for DATA[src]

read() method returns data::R reader structure

impl ResetValue for DATA[src]

Register DATA reset()'s with value 0

type Type = u32

Register size

impl Writable for DATA[src]

write(|w| ..) method takes data::W writer structure