/* Function to configure and enter in STOP 1 Mode.  */
void EnterStop1Mode(void)
/* Function to configure and enter in STOP 1 Mode.  */
void EnterStop1Mode(void)
{
    LL_PWR_SetPowerMode(LL_PWR_MODE_STOP_MAINREGU);
    LL_LPM_EnableDeepSleep();
    __WFI();
}