Type Definition stm32_hal2::pac::pwr::cr2::BREN_W

source · []
pub type BREN_W<'a, const O: u8> = BitWriterRaw<'a, u32, CR2_SPEC, bool, BitM, O>;
Expand description

Field BREN writer - Backup regulator enable When set, the Backup regulator (used to maintain the backup RAM content in Standby and VBAT modes) is enabled. If BREN is reset, the backup regulator is switched off. The backup RAM can still be used in Run and Stop modes. However, its content will be lost in Standby and VBAT modes. If BREN is set, the application must wait till the Backup Regulator Ready flag (BRRDY) is set to indicate that the data written into the SRAM will be maintained in Standby and VBAT modes.