Struct W

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

Value to write to the register

Implementations§

Source§

impl W

Source

pub fn reset_value() -> W

Reset value of the register

Source

pub unsafe fn bits(&mut self, bits: u32) -> &mut W

Writes raw bits to the register

Source

pub fn tim1lpen(&mut self) -> _TIM1LPENW<'_>

Bit 0 - TIM1 clock enable during Sleep mode

Source

pub fn tim8lpen(&mut self) -> _TIM8LPENW<'_>

Bit 1 - TIM8 clock enable during Sleep mode

Source

pub fn usart1lpen(&mut self) -> _USART1LPENW<'_>

Bit 4 - USART1 clock enable during Sleep mode

Source

pub fn usart6lpen(&mut self) -> _USART6LPENW<'_>

Bit 5 - USART6 clock enable during Sleep mode

Source

pub fn adc1lpen(&mut self) -> _ADC1LPENW<'_>

Bit 8 - ADC1 clock enable during Sleep mode

Source

pub fn adc2lpen(&mut self) -> _ADC2LPENW<'_>

Bit 9 - ADC2 clock enable during Sleep mode

Source

pub fn adc3lpen(&mut self) -> _ADC3LPENW<'_>

Bit 10 - ADC 3 clock enable during Sleep mode

Source

pub fn spi1lpen(&mut self) -> _SPI1LPENW<'_>

Bit 12 - SPI 1 clock enable during Sleep mode

Source

pub fn spi4lpen(&mut self) -> _SPI4LPENW<'_>

Bit 13 - SPI 4 clock enable during Sleep mode

Source

pub fn syscfglpen(&mut self) -> _SYSCFGLPENW<'_>

Bit 14 - System configuration controller clock enable during Sleep mode

Source

pub fn tim9lpen(&mut self) -> _TIM9LPENW<'_>

Bit 16 - TIM9 clock enable during sleep mode

Source

pub fn tim10lpen(&mut self) -> _TIM10LPENW<'_>

Bit 17 - TIM10 clock enable during Sleep mode

Source

pub fn tim11lpen(&mut self) -> _TIM11LPENW<'_>

Bit 18 - TIM11 clock enable during Sleep mode

Source

pub fn spi5lpen(&mut self) -> _SPI5LPENW<'_>

Bit 20 - SPI 5 clock enable during Sleep mode

Source

pub fn spi6lpen(&mut self) -> _SPI6LPENW<'_>

Bit 21 - SPI 6 clock enable during Sleep mode

Source

pub fn sai1lpen(&mut self) -> _SAI1LPENW<'_>

Bit 22 - SAI1 clock enable during sleep mode

Source

pub fn ltdclpen(&mut self) -> _LTDCLPENW<'_>

Bit 26 - LTDC clock enable during sleep mode

Source

pub fn sai2lpen(&mut self) -> _SAI2LPENW<'_>

Bit 23 - SAI2 clock enable during sleep mode

Source

pub fn sdmmc1lpen(&mut self) -> _SDMMC1LPENW<'_>

Bit 11 - SDMMC1 clock enable during Sleep mode

Auto Trait Implementations§

§

impl Freeze for W

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

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.