[−][src]Module cc2538::gpio_c::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.
Structs
CR_W | Write proxy for field |
RESERVED32_W | Write proxy for field |
Type Definitions
CR_R | Reader of field |
R | Reader of register GPIOCR |
RESERVED32_R | Reader of field |
W | Writer for register GPIOCR |