STMicroelectronics /STM32U585 /FLASH /FLASH_PRIVCFGR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as FLASH_PRIVCFGR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)SPRIV 0 (B_0x0)NSPRIV

NSPRIV=B_0x0, SPRIV=B_0x0

Description

FLASH privilege configuration register

Fields

SPRIV

Privileged protection for secure registers This bit can be accessed only when TrustZone is enabled (TZEN = 1). This bit can be read by both privileged or unprivileged, secure and non-secure access. The SPRIV bit can be written only by a secure privileged access. A non-secure write access on SPRIV bit is ignored. A secure unprivileged write access on SPRIV bit is ignored.

0 (B_0x0): Secure Flash registers can be read and written by privileged or unprivileged access.

1 (B_0x1): Secure Flash registers can be read and written by privileged access only.

NSPRIV

Privileged protection for non-secure registers This bit can be read by both privileged or unprivileged, secure and non-secure access. The NSPRIV bit can be written by a secure or non-secure privileged access. A secure or non-secure unprivileged write access on NSPRIV bit is ignored.

0 (B_0x0): Non-secure Flash registers can be read and written by privileged or unprivileged access.

1 (B_0x1): Non-secure Flash registers can be read and written by privileged access only.

Links

()