In the STM32L071 reference manual, there is following statement regarding STOP mode entry with HSE as a system clock:"If the application needs to disable the external clock before entering Stop mode, the HSEON bit must be first disabled and the syste...