Configure and enable the low speed clock domain.
Unlock write access to the backup domain control.
Lock write access to backup control domain.
Enable the internal high speed clock (HSI)
Disable the internal high speed clock (HSI)
Configure the high speed clock domain (main system clock)
Disable the low frequency clock domain.