[−][src]Struct stm32f1xx_hal::backup_domain::BackupDomain
The existence of this struct indicates that writing to the the backup
domain has been enabled. It is aquired by calling constrain on rcc::Rcc::BKP
Methods
impl BackupDomain[src]
pub fn read_data_register_low(&self, register: usize) -> u16[src]
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.
pub fn write_data_register_low(&self, register: usize, data: u16)[src]
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.
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self