SLAU723A October 2017 – October 2018 MSP432E401Y , MSP432E411Y
GPIO Lock (GPIOLOCK)
The GPIOLOCK register enables write access to the GPIOCR register (see Section 17.5.20). Writing 0x4C4F434B 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 0x00000001. When write accesses are enabled, or unlocked, reading the GPIOLOCK register returns 0x00000000.
GPIOLOCK is shown in Figure 17-23 and described in Table 17-29.
Return to Summary Table.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LOCK | |||||||||||||||||||||||||||||||
R/W-0x1 | |||||||||||||||||||||||||||||||