On page 681 of the TM4C123GH6PM document says to enable write access to GPIOCR, GPIOLOCK needs to be set to 0x4C4F.434B.
Can someone explain how the above was derived?
Thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
On page 681 of the TM4C123GH6PM document says to enable write access to GPIOCR, GPIOLOCK needs to be set to 0x4C4F.434B.
Can someone explain how the above was derived?
Thanks
Hi Mahendra
It could have been any 32-bit value. The only reason why it is this particular value is that each byte of the 32-bit string when looked up in a ASCII Mapping Table will give you the work "LOCK"
Regards
Amit