[][src]Type Definition cc3220sf::gpioa2::AFSEL

type AFSEL = Reg<u32, _AFSEL>;

0x4000 5420 0x4000 6420 0x4000 7420 0x4002 4420 GPIO Alternate Function Select (GPIOAFSEL)@@ offset 0x420 The GPIOAFSEL register is the mode control select register. If a bit is clear@@ the pin is used as a GPIO and is controlled by the GPIO registers. Setting a bit in this register configures the corresponding GPIO line to be controlled by an associated peripheral. Several possible peripheral functions are multiplexed on each GPIO. The GPIO Port Control (GPIOPCTL) register is used to select one of the possible functions.

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

For information about available fields see afsel module

Trait Implementations

impl Readable for AFSEL[src]

read() method returns afsel::R reader structure

impl ResetValue for AFSEL[src]

Register AFSEL reset()'s with value 0

type Type = u32

Register size

impl Writable for AFSEL[src]

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