You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: system/Drivers/STM32H5xx_HAL_Driver/Inc/stm32h5xx_hal_cortex.h
+30-26
Original file line number
Diff line number
Diff line change
@@ -123,53 +123,49 @@ typedef struct
123
123
/** @defgroup CORTEX_MPU_HFNMI_PRIVDEF_Control CORTEX MPU HFNMI and PRIVILEGED Access control
124
124
* @{
125
125
*/
126
-
#defineMPU_HFNMI_PRIVDEF_NONE 0U /*!< MPU is disabled during HardFault and NMI handlers,
127
-
privileged software access to the default memory map is disabled */
128
-
#defineMPU_HARDFAULT_NMI 2U /*!< MPU is enabled during HardFault and NMI handlers,
129
-
privileged software access to the default memory map is disabled */
130
-
#defineMPU_PRIVILEGED_DEFAULT 4U /*!< MPU is disabled during HardFault and NMI handlers,
131
-
privileged software access to the default memory map is enabled */
132
-
#defineMPU_HFNMI_PRIVDEF 6U /*!< MPU is enabled during HardFault and NMI handlers,
133
-
privileged software access to the default memory map is enabled */
126
+
#defineMPU_HFNMI_PRIVDEF_NONE 0U /*!< Background region access not allowed, MPU disabled for Hardfaults, NMIs, and exception handlers when FAULTMASK=1 */
127
+
#defineMPU_HARDFAULT_NMI 2U /*!< Background region access not allowed, MPU enabled for Hardfaults, NMIs, and exception handlers when FAULTMASK=1 */
128
+
#defineMPU_PRIVILEGED_DEFAULT 4U /*!< Background region privileged-only access allowed, MPU disabled for Hardfaults, NMIs, and exception handlers when FAULTMASK=1 */
129
+
#defineMPU_HFNMI_PRIVDEF 6U /*!< Background region privileged-only access allowed, MPU enabled for Hardfaults, NMIs, and exception handlers when FAULTMASK=1 */
134
130
/**
135
131
* @}
136
132
*/
137
133
138
134
/** @defgroup CORTEX_MPU_Region_Enable CORTEX MPU Region Enable
139
135
* @{
140
136
*/
141
-
#defineMPU_REGION_ENABLE 1U /*!< MPU region enabled */
142
-
#defineMPU_REGION_DISABLE 0U /*!< MPU region disabled */
137
+
#defineMPU_REGION_ENABLE 1U /*!< Enable region */
138
+
#defineMPU_REGION_DISABLE 0U /*!< Disable region */
0 commit comments