GD32W51x User Manual
223
Table 7-4. Register protection overview
Register nam e
Access type
Protection
(1)(2)
EXTI_INTEN
RW
Security and privilege can be bit w ise enabled in
EXTI_SECCFG and EXTI_PRIV CFG.
EXTI_EVEN
RW
EXTI_RTEN
RW
EXTI_FTEN
RW
EXTI_SWIEV
RW
EXTI_PD
RW
EXTI_SECCFG
RW
Alw ays secure, and privilege can be bit w ise enabled in
EXTI_PRIV CFG.
EXTI_PRIVCFG
RW
Alw ays privilege, and security can be bit w ise enabled in
EXTI_SECCFG.
EXTI_LOCK
RW
Alw ays secure.
1. Security is enabled with the individual input event (EXTI_SECCFG register).
2. Privilege is enabled with the individual input event (EXTI_PRIVCFG register).
7.7.
EXTI security protection
When security is enabled for an input event, the associated input event configuration and
control bits can only be modified and read by a secure access, a non-secure write access is
discarded and a read returns 0.
When input events are non-secure, the security is disabled. The associated input event
configuration and control bits can be modified and read by a secure access and non-secure
access. The security configuration in registers EXTI_SECCFG can be globally locked after
reset by EXTI_LOCK.LOCK.
7.8.
EXTI privilege protection
When privilege is enabled for an input event, the associated input event configuration and
control bits can only be modified and read by a privilege access, an unprivileged write access
is discarded and a read returns 0.
When input events are unprivileged, the privilege is disabled. The associated input event
configuration and control bits can be modified and read by a privilege access and unprivileged
access. The privilege configuration in registers EXTI_PRIVCFG can be globally locked after
reset by EXTI_LOCK.LOCK.