Struct R

Source
pub struct R { /* private fields */ }
Expand description

Value read from the register

Implementations§

Source§

impl R

Source

pub fn bits(&self) -> u32

Value of the register as raw bits

Source

pub fn tim2lpen(&self) -> TIM2LPENR

Bit 0 - TIM2 clock enable during Sleep mode

Source

pub fn tim3lpen(&self) -> TIM2LPENR

Bit 1 - TIM3 clock enable during Sleep mode

Source

pub fn tim4lpen(&self) -> TIM2LPENR

Bit 2 - TIM4 clock enable during Sleep mode

Source

pub fn tim5lpen(&self) -> TIM2LPENR

Bit 3 - TIM5 clock enable during Sleep mode

Source

pub fn tim6lpen(&self) -> TIM2LPENR

Bit 4 - TIM6 clock enable during Sleep mode

Source

pub fn tim7lpen(&self) -> TIM2LPENR

Bit 5 - TIM7 clock enable during Sleep mode

Source

pub fn tim12lpen(&self) -> TIM2LPENR

Bit 6 - TIM12 clock enable during Sleep mode

Source

pub fn tim13lpen(&self) -> TIM2LPENR

Bit 7 - TIM13 clock enable during Sleep mode

Source

pub fn tim14lpen(&self) -> TIM2LPENR

Bit 8 - TIM14 clock enable during Sleep mode

Source

pub fn wwdglpen(&self) -> TIM2LPENR

Bit 11 - Window watchdog clock enable during Sleep mode

Source

pub fn spi2lpen(&self) -> TIM2LPENR

Bit 14 - SPI2 clock enable during Sleep mode

Source

pub fn spi3lpen(&self) -> TIM2LPENR

Bit 15 - SPI3 clock enable during Sleep mode

Source

pub fn usart2lpen(&self) -> TIM2LPENR

Bit 17 - USART2 clock enable during Sleep mode

Source

pub fn usart3lpen(&self) -> TIM2LPENR

Bit 18 - USART3 clock enable during Sleep mode

Source

pub fn uart4lpen(&self) -> TIM2LPENR

Bit 19 - UART4 clock enable during Sleep mode

Source

pub fn uart5lpen(&self) -> TIM2LPENR

Bit 20 - UART5 clock enable during Sleep mode

Source

pub fn i2c1lpen(&self) -> TIM2LPENR

Bit 21 - I2C1 clock enable during Sleep mode

Source

pub fn i2c2lpen(&self) -> TIM2LPENR

Bit 22 - I2C2 clock enable during Sleep mode

Source

pub fn i2c3lpen(&self) -> TIM2LPENR

Bit 23 - I2C3 clock enable during Sleep mode

Source

pub fn can1lpen(&self) -> TIM2LPENR

Bit 25 - CAN 1 clock enable during Sleep mode

Source

pub fn can2lpen(&self) -> TIM2LPENR

Bit 26 - CAN 2 clock enable during Sleep mode

Source

pub fn pwrlpen(&self) -> TIM2LPENR

Bit 28 - Power interface clock enable during Sleep mode

Source

pub fn daclpen(&self) -> TIM2LPENR

Bit 29 - DAC interface clock enable during Sleep mode

Source

pub fn uart7lpen(&self) -> TIM2LPENR

Bit 30 - UART7 clock enable during Sleep mode

Source

pub fn uart8lpen(&self) -> TIM2LPENR

Bit 31 - UART8 clock enable during Sleep mode

Source

pub fn spdifrxlpen(&self) -> TIM2LPENR

Bit 16 - SPDIF-RX clock enable during sleep mode

Source

pub fn ceclpen(&self) -> TIM2LPENR

Bit 27 - HDMI-CEN clock enable during Sleep mode

Source

pub fn lptim1lpen(&self) -> TIM2LPENR

Bit 9 - low power timer 1 clock enable during Sleep mode

Source

pub fn i2c4lpen(&self) -> TIM2LPENR

Bit 24 - I2C4 clock enable during Sleep mode

Auto Trait Implementations§

§

impl Freeze for R

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.