[FL-635] Enable LSE CSS (#371)

* LSE CSS: explicitly configure and start LSE + LSI1 and enable LSECSS at boot, enable LSECSS interrupt in firmware.
* F4: backport LSE CSS shenanigans.
* Split LSE/HSE CSS handling routines, add TODO for missing notification.
This commit is contained in:
あく
2021-03-08 18:55:51 +03:00
committed by GitHub
parent 73e5379520
commit 9df4d8e2ed
8 changed files with 48 additions and 38 deletions

View File

@@ -15,8 +15,7 @@
volatile uint32_t api_hal_power_insomnia = 1;
void HAL_RCC_CSSCallback(void) {
LL_RCC_ForceBackupDomainReset();
LL_RCC_ReleaseBackupDomainReset();
// TODO: notify user about issue with HSE
NVIC_SystemReset();
}