From 122558a1de13ab18017cd88205f9deb718159b65 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Fri, 10 Nov 2023 14:37:56 +0800 Subject: [PATCH] arch/armv8-m: Fix typo error for NVIC_SYSHCON_HARDFAULTPENDED and the comment too Signed-off-by: Xiang Xiao --- arch/arm/src/armv8-m/nvic.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/src/armv8-m/nvic.h b/arch/arm/src/armv8-m/nvic.h index 8f62f5c67b..07459ba904 100644 --- a/arch/arm/src/armv8-m/nvic.h +++ b/arch/arm/src/armv8-m/nvic.h @@ -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 */