[][src]Type Definition cc2538::gpio_c::DATA

type DATA = Reg<u32, _DATA>;

This is the data register. In software control mode, values written in the GPIODATA register are transferred onto the GPOUT pins if the respective pins have been configured as outputs through the GPIODIR register. A read from GPIODATA returns the last bit value written if the respective pins are configured as output, or it returns the value on the corresponding input GPIN bit when these are configured as inputs.

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

For information about avaliable fields see data module

Trait Implementations

impl Readable for DATA[src]

read() method returns data::R reader structure

impl Writable for DATA[src]

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

impl ResetValue for DATA[src]

Register DATA reset()'s with value 0

type Type = u32

Register size