[][src]Type Definition cc3220sf::gpioa3::LOCK

type LOCK = Reg<u32, _LOCK>;

0x4000 5520 0x4000 6520 0x4000 7520 0x4002 4520 GPIO Lock (GPIOLOCK)@@ offset 0x520 The GPIOLOCK register enables write access to the GPIOCR register . Writing 0x4C4F.434B to the GPIOLOCK register unlocks the GPIOCR register. Writing any other value to the GPIOLOCK register re-enables the locked state. Reading the GPIOLOCK register returns the lock status rather than the 32-bit value that was previously written. Therefore@@ when write accesses are disabled@@ or locked@@ reading the GPIOLOCK register returns 0x0000.0001. When write accesses are enabled@@ or unlocked@@ reading the GPIOLOCK register returns 0x0000.0000.

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

For information about available fields see lock module

Trait Implementations

impl Readable for LOCK[src]

read() method returns lock::R reader structure

impl ResetValue for LOCK[src]

Register LOCK reset()'s with value 0

type Type = u32

Register size

impl Writable for LOCK[src]

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