Pin Control Register Unlocked State.
Pin Control Register Unlocked StatePin Control Register fields [15:0] are not write-protected and can be modified. All pin configuration parameters can be changed dynamically during runtime. This is the default state allowing normal pin configuration operations.
引腳控制暫存器未鎖定狀態,允許正常的引腳配置操作
- All PCR configuration bits [14:0] are writable
- Pin multiplexer, drive strength, pull resistors, etc. can be modified
- Lock bit [15] can be set to transition to locked state
- Normal operational mode for dynamic pin reconfiguration
- Allows runtime adaptation of pin functions
- 註
- Default state after system reset
-
Enables flexible pin function switching during operation
-
Required for applications needing dynamic pin reconfiguration
Cases:
- Dynamic peripheral switching (GPIO ↔ UART ↔ SPI)
- Power mode dependent pin configurations
- Runtime optimization of electrical characteristics
- Debugging and development flexibility
- 警告
- Vulnerable to accidental configuration changes
-
Software errors could modify critical pin settings