[][src]Type Definition cc2538::gpio_a::GPIOCR

type GPIOCR = Reg<u32, _GPIOCR>;

The GPIOCR register is the commit register. The value of the GPIOCR register determines which bits of the AFSEL register is committed when a write to the AFSEL register is performed. If a bit in the GPIOCR register is 0, the data being written to the corresponding bit in the AFSEL register is not committed and retains its previous value. If a bit in the GPIOCR register is set to 1, the data being written to the corresponding bit of the AFSEL register is committed to the register and will reflect the new value. The contents of the GPIOCR register can only be modified if the GPIOLOCK register is unlocked. Writes to the GPIOCR register will be ignored if the GPIOLOCK register is locked. Any write to the commit register causes the lock register to be locked.

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

For information about avaliable fields see gpiocr module

Trait Implementations

impl Readable for GPIOCR[src]

read() method returns gpiocr::R reader structure

impl Writable for GPIOCR[src]

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

impl ResetValue for GPIOCR[src]

Register GPIOCR reset()'s with value 0

type Type = u32

Register size