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 tim1en(&mut self) -> _TIM1ENW<'_>

Bit 0 - TIM1 clock enable

Source

pub fn tim8en(&mut self) -> _TIM8ENW<'_>

Bit 1 - TIM8 clock enable

Source

pub fn usart1en(&mut self) -> _USART1ENW<'_>

Bit 4 - USART1 clock enable

Source

pub fn usart6en(&mut self) -> _USART6ENW<'_>

Bit 5 - USART6 clock enable

Source

pub fn adc1en(&mut self) -> _ADC1ENW<'_>

Bit 8 - ADC1 clock enable

Source

pub fn adc2en(&mut self) -> _ADC2ENW<'_>

Bit 9 - ADC2 clock enable

Source

pub fn adc3en(&mut self) -> _ADC3ENW<'_>

Bit 10 - ADC3 clock enable

Source

pub fn spi1en(&mut self) -> _SPI1ENW<'_>

Bit 12 - SPI1 clock enable

Source

pub fn spi4en(&mut self) -> _SPI4ENW<'_>

Bit 13 - SPI4 clock enable

Source

pub fn syscfgen(&mut self) -> _SYSCFGENW<'_>

Bit 14 - System configuration controller clock enable

Source

pub fn tim9en(&mut self) -> _TIM9ENW<'_>

Bit 16 - TIM9 clock enable

Source

pub fn tim10en(&mut self) -> _TIM10ENW<'_>

Bit 17 - TIM10 clock enable

Source

pub fn tim11en(&mut self) -> _TIM11ENW<'_>

Bit 18 - TIM11 clock enable

Source

pub fn spi5en(&mut self) -> _SPI5ENW<'_>

Bit 20 - SPI5 clock enable

Source

pub fn spi6en(&mut self) -> _SPI6ENW<'_>

Bit 21 - SPI6 clock enable

Source

pub fn sai1en(&mut self) -> _SAI1ENW<'_>

Bit 22 - SAI1 clock enable

Source

pub fn ltdcen(&mut self) -> _LTDCENW<'_>

Bit 26 - LTDC clock enable

Source

pub fn sai2en(&mut self) -> _SAI2ENW<'_>

Bit 23 - SAI2 clock enable

Source

pub fn sdmmc1en(&mut self) -> _SDMMC1ENW<'_>

Bit 11 - SDMMC1 clock enable

Source

pub fn mdioen(&mut self) -> _MDIOENW<'_>

Bit 30 - MDIO clock enable

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.