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/STM32L5xx_HAL_Driver/Inc/stm32l5xx_hal_cortex.h
+30-22Lines changed: 30 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -121,49 +121,49 @@ typedef struct
121
121
/** @defgroup CORTEX_MPU_HFNMI_PRIVDEF_Control CORTEX MPU HFNMI and PRIVILEGED Access control
122
122
* @{
123
123
*/
124
-
#defineMPU_HFNMI_PRIVDEF_NONE 0U
125
-
#defineMPU_HARDFAULT_NMI 2U
126
-
#defineMPU_PRIVILEGED_DEFAULT 4U
127
-
#defineMPU_HFNMI_PRIVDEF 6U
124
+
#defineMPU_HFNMI_PRIVDEF_NONE 0U/*!< Background region access not allowed, MPU disabled for Hardfaults, NMIs, and exception handlers when FAULTMASK=1 */
125
+
#defineMPU_HARDFAULT_NMI 2U/*!< Background region access not allowed, MPU enabled for Hardfaults, NMIs, and exception handlers when FAULTMASK=1 */
126
+
#defineMPU_PRIVILEGED_DEFAULT 4U/*!< Background region privileged-only access allowed, MPU disabled for Hardfaults, NMIs, and exception handlers when FAULTMASK=1 */
127
+
#defineMPU_HFNMI_PRIVDEF 6U/*!< Background region privileged-only access allowed, MPU enabled for Hardfaults, NMIs, and exception handlers when FAULTMASK=1 */
128
128
/**
129
129
* @}
130
130
*/
131
131
132
132
/** @defgroup CORTEX_MPU_Region_Enable CORTEX MPU Region Enable
133
133
* @{
134
134
*/
135
-
#defineMPU_REGION_ENABLE 1U
136
-
#defineMPU_REGION_DISABLE 0U
135
+
#defineMPU_REGION_ENABLE 1U/*!< Enable region */
136
+
#defineMPU_REGION_DISABLE 0U/*!< Disable region */
0 commit comments