2022-10-25 10:09 AM
Is there an easy way to find out after the WFI() instruction if the device did really sleep? Using stop modes, the device will have switched clock to HSI/MSI. Setting the clock to the state before sleep is some effort and could be omitted, if sleep was not active