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

type DIR = Reg<u32, _DIR>;

0x4000 5400 0x4000 6400 0x4000 7400 0x4002 4400 GPIO Direction (GPIODIR)@@ offset 0x400 The GPIODIR register is the data direction register. Setting a bit in the GPIODIR register configures the corresponding pin to be an output@@ while clearing a bit configures the corresponding pin to be an input. All bits are cleared by a reset@@ meaning all GPIO pins are inputs by default.

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

For information about available fields see dir module

Trait Implementations

impl Readable for DIR[src]

read() method returns dir::R reader structure

impl ResetValue for DIR[src]

Register DIR reset()'s with value 0

type Type = u32

Register size

impl Writable for DIR[src]

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