pub struct R(_);
Expand description

Register CR2 reader

Implementations

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.

Bit 4 - VBAT and temperature monitoring enable When set, the VBAT supply and temperature monitoring is enabled.

Bit 16 - Backup regulator ready This bit is set by hardware to indicate that the Backup regulator is ready.

Bit 20 - VBAT level monitoring versus low threshold

Bit 21 - VBAT level monitoring versus high threshold

Bit 22 - Temperature level monitoring versus low threshold

Bit 23 - Temperature level monitoring versus high threshold

Methods from Deref<Target = R<CR2_SPEC>>

Reads raw bits from register.

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.
Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.