[][src]Type Definition cc3220sf::gpioa0::CR

type CR = Reg<u32, _CR>;

0x4000 5524 0x4000 6524 0x4000 7524 0x4002 4524 GPIO Commit (GPIOCR)@@ offset 0x524 The GPIOCR register is the commit register. The value of the GPIOCR register determines which bits of the GPIOAFSEL@@ GPIOPUR@@ GPIOPDR@@ and GPIODEN registers are committed when a write to these registers is performed. If a bit in the GPIOCR register is cleared@@ the data being written to the corresponding bit in the GPIOAFSEL@@ GPIOPUR@@ GPIOPDR@@ or GPIODEN registers cannot be committed and retains its previous value. If a bit in the GPIOCR register is set@@ the data being written to the corresponding bit of the GPIOAFSEL@@ GPIOPUR@@ GPIOPDR@@ or GPIODEN registers is committed to the register and reflects the new value. The contents of the GPIOCR register can only be modified if the status in the GPIOLOCK register is unlocked. Writes to the GPIOCR register are ignored if the status in the GPIOLOCK register is locked.

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

For information about available fields see cr module

Trait Implementations

impl Readable for CR[src]

read() method returns cr::R reader structure

impl ResetValue for CR[src]

Register CR reset()'s with value 0

type Type = u32

Register size

impl Writable for CR[src]

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