pub struct R(_);
Expand description
Register CR2
reader
Implementations
sourceimpl R
impl R
sourcepub fn bren(&self) -> BitReaderRaw<bool>
pub fn bren(&self) -> BitReaderRaw<bool>
Bit 0 - 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.
sourcepub fn monen(&self) -> BitReaderRaw<bool>
pub fn monen(&self) -> BitReaderRaw<bool>
Bit 4 - VBAT and temperature monitoring enable When set, the VBAT supply and temperature monitoring is enabled.
sourcepub fn brrdy(&self) -> BitReaderRaw<bool>
pub fn brrdy(&self) -> BitReaderRaw<bool>
Bit 16 - Backup regulator ready This bit is set by hardware to indicate that the Backup regulator is ready.
Methods from Deref<Target = R<CR2_SPEC>>
sourcepub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.