pub struct BackupDomain { /* private fields */ }
Expand description

The existence of this struct indicates that writing to the the backup domain has been enabled. It is acquired by calling constrain on rcc::Rcc::BKP

Implementations§

Read a 16-bit value from one of the DR1 to DR10 registers part of the Backup Data Register. The register argument is a zero based index to the DRx registers: 0 is DR1, up to 9 for DR10. Providing a number above 9 will panic.

Read a 16-bit value from one of the DR11 to DR42 registers part of the Backup Data Register. The register argument is a zero based index to the DRx registers: 0 is DR11, up to 31 for DR42. Providing a number above 31 will panic. NOTE: not available on medium- and low-density devices!

Write a 16-bit value to one of the DR1 to DR10 registers part of the Backup Data Register. The register argument is a zero based index to the DRx registers: 0 is DR1, up to 9 for DR10. Providing a number above 9 will panic.

Write a 16-bit value to one of the DR11 to DR42 registers part of the Backup Data Register. The register argument is a zero based index to the DRx registers: 0 is DR11, up to 31 for DR42. Providing a number above 31 will panic. NOTE: not available on medium- and low-density devices!

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.