arch/armv8-m: Fix typo error for NVIC_SYSHCON_HARDFAULTPENDED

and the comment too

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-11-10 14:37:56 +08:00 committed by Alan Carvalho de Assis
parent a92bd5d081
commit 122558a1de
1 changed files with 3 additions and 3 deletions

View File

@ -672,9 +672,9 @@
#define NVIC_SYSHCON_MEMFAULTENA (1 << 16) /* Bit 16: MemFault enabled */
#define NVIC_SYSHCON_BUSFAULTENA (1 << 17) /* Bit 17: BusFault enabled */
#define NVIC_SYSHCON_USGFAULTENA (1 << 18) /* Bit 18: UsageFault enabled */
#define NVIC_SYSHCON_SECUREFAULTENA (1 << 19) /* Bit 10: SecureFault enabled */
#define NVIC_SYSHCON_SECUREFAULTPENDED (1 << 20) /* Bit 10: SecureFault is pended */
#define NVIC_SYSHCON_HARDFAULTPENDED (1 << 20) /* Bit 10: HardFault is pended */
#define NVIC_SYSHCON_SECUREFAULTENA (1 << 19) /* Bit 19: SecureFault enabled */
#define NVIC_SYSHCON_SECUREFAULTPENDED (1 << 20) /* Bit 20: SecureFault is pended */
#define NVIC_SYSHCON_HARDFAULTPENDED (1 << 21) /* Bit 21: HardFault is pended */
/* SCB Configurable Fault Status Register Definitions */