Bug in low-level driver file stm32u5xx_ll_pwr.h for STM32U5
Affected driver libraries: STM32Cube_FW_U5_V1.3.0 and STM32Cube_FW_U5_V1.2.0, and presumably all earlier versions
Following defines are wrong:
#define LL_PWR_LPM_SEC PWR_SECCFGR_WUP8SEC
#define LL_PWR_VDM_SEC PWR_SECCFGR_WUP8SEC
#define LL_PWR_VB_SEC PWR_SECCFGR_WUP8SEC
#define LL_PWR_APC_SEC PWR_SECCFGR_WUP8SEC
Instead the defines should look like this:
#define LL_PWR_LPM_SEC PWR_SECCFGR_LPMSEC
#define LL_PWR_VDM_SEC PWR_SECCFGR_VDMSEC
#define LL_PWR_VB_SEC PWR_SECCFGR_VBSEC
#define LL_PWR_APC_SEC PWR_SECCFGR_APCSEC
