[][src]Struct stm32f1xx_hal::backup_domain::BackupDomain

pub struct BackupDomain { /* fields omitted */ }

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

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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.