W

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 tim2lpen(&mut self) -> _TIM2LPENW<'_>

Bit 0 - TIM2 clock enable during Sleep mode

Source

pub fn tim3lpen(&mut self) -> _TIM3LPENW<'_>

Bit 1 - TIM3 clock enable during Sleep mode

Source

pub fn tim4lpen(&mut self) -> _TIM4LPENW<'_>

Bit 2 - TIM4 clock enable during Sleep mode

Source

pub fn tim5lpen(&mut self) -> _TIM5LPENW<'_>

Bit 3 - TIM5 clock enable during Sleep mode

Source

pub fn tim6lpen(&mut self) -> _TIM6LPENW<'_>

Bit 4 - TIM6 clock enable during Sleep mode

Source

pub fn tim7lpen(&mut self) -> _TIM7LPENW<'_>

Bit 5 - TIM7 clock enable during Sleep mode

Source

pub fn tim12lpen(&mut self) -> _TIM12LPENW<'_>

Bit 6 - TIM12 clock enable during Sleep mode

Source

pub fn tim13lpen(&mut self) -> _TIM13LPENW<'_>

Bit 7 - TIM13 clock enable during Sleep mode

Source

pub fn tim14lpen(&mut self) -> _TIM14LPENW<'_>

Bit 8 - TIM14 clock enable during Sleep mode

Source

pub fn wwdglpen(&mut self) -> _WWDGLPENW<'_>

Bit 11 - Window watchdog clock enable during Sleep mode

Source

pub fn spi2lpen(&mut self) -> _SPI2LPENW<'_>

Bit 14 - SPI2 clock enable during Sleep mode

Source

pub fn spi3lpen(&mut self) -> _SPI3LPENW<'_>

Bit 15 - SPI3 clock enable during Sleep mode

Source

pub fn usart2lpen(&mut self) -> _USART2LPENW<'_>

Bit 17 - USART2 clock enable during Sleep mode

Source

pub fn usart3lpen(&mut self) -> _USART3LPENW<'_>

Bit 18 - USART3 clock enable during Sleep mode

Source

pub fn uart4lpen(&mut self) -> _UART4LPENW<'_>

Bit 19 - UART4 clock enable during Sleep mode

Source

pub fn uart5lpen(&mut self) -> _UART5LPENW<'_>

Bit 20 - UART5 clock enable during Sleep mode

Source

pub fn i2c1lpen(&mut self) -> _I2C1LPENW<'_>

Bit 21 - I2C1 clock enable during Sleep mode

Source

pub fn i2c2lpen(&mut self) -> _I2C2LPENW<'_>

Bit 22 - I2C2 clock enable during Sleep mode

Source

pub fn i2c3lpen(&mut self) -> _I2C3LPENW<'_>

Bit 23 - I2C3 clock enable during Sleep mode

Source

pub fn can1lpen(&mut self) -> _CAN1LPENW<'_>

Bit 25 - CAN 1 clock enable during Sleep mode

Source

pub fn can2lpen(&mut self) -> _CAN2LPENW<'_>

Bit 26 - CAN 2 clock enable during Sleep mode

Source

pub fn pwrlpen(&mut self) -> _PWRLPENW<'_>

Bit 28 - Power interface clock enable during Sleep mode

Source

pub fn daclpen(&mut self) -> _DACLPENW<'_>

Bit 29 - DAC interface clock enable during Sleep mode

Source

pub fn uart7lpen(&mut self) -> _UART7LPENW<'_>

Bit 30 - UART7 clock enable during Sleep mode

Source

pub fn uart8lpen(&mut self) -> _UART8LPENW<'_>

Bit 31 - UART8 clock enable during Sleep mode

Source

pub fn spdifrxlpen(&mut self) -> _SPDIFRXLPENW<'_>

Bit 16 - SPDIF-RX clock enable during sleep mode

Source

pub fn ceclpen(&mut self) -> _CECLPENW<'_>

Bit 27 - HDMI-CEN clock enable during Sleep mode

Source

pub fn lptim1lpen(&mut self) -> _LPTIM1LPENW<'_>

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

Source

pub fn i2c4lpen(&mut self) -> _I2C4LPENW<'_>

Bit 24 - I2C4 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.