Actions

EmSys

Difference between revisions of "TM4C123GXL GPIO - lock the configurations of the NMI and JTAG-SWD pins on the GPIO port"

From EdWiki

m
m (GPIO - Lock the configurations of the NMI and JTAG-SWD pins on the GPIO)
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
| 31:0 || LOCK || <u>GPIO Lock</u><br />A write of the value 0x4C4F.434B unlocks the GPIO Commit (GPIOCR) register for write access. A write of any other value or a write to the GPIOCR register reapplies the lock, preventing any register updates.<br />A read of this register returns the following values:<br />0x1: The GPIOCR register is locked and may not be modified.<br />0x0: The GPIOCR register is unlocked and may be modified.
 
| 31:0 || LOCK || <u>GPIO Lock</u><br />A write of the value 0x4C4F.434B unlocks the GPIO Commit (GPIOCR) register for write access. A write of any other value or a write to the GPIOCR register reapplies the lock, preventing any register updates.<br />A read of this register returns the following values:<br />0x1: The GPIOCR register is locked and may not be modified.<br />0x0: The GPIOCR register is unlocked and may be modified.
 
|}
 
|}
 +
 +
<!--
 +
[[File:prev.gif|left|link=EmSys:TM4C123GXL GPIO - Set up the type-event-and-mask of the interrupts for each port]]
 +
[[File:next.gif|right|link=EmSys:TM4C123GXL GPIO - Read Write Data Register]]
 +
[[File:home.gif|center|link=EmSys:Programming the GPIO in TM4C123#Initialization and Configuration]]
 +
-->

Latest revision as of 06:23, 3 March 2020

GPIO - Lock the configurations of the NMI and JTAG-SWD pins on the GPIO

Optionally, you can lock the configurations of the NMI and JTAG/SWD pins on the GPIO port pins by setting the LOCK bits in the GPIOLOCK register.

Tm4c gpiolock r.png
Bit/Field Name Description
31:0 LOCK GPIO Lock
A write of the value 0x4C4F.434B unlocks the GPIO Commit (GPIOCR) register for write access. A write of any other value or a write to the GPIOCR register reapplies the lock, preventing any register updates.
A read of this register returns the following values:
0x1: The GPIOCR register is locked and may not be modified.
0x0: The GPIOCR register is unlocked and may be modified.