[]Struct nucleo_f042k6::crs::cr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W

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

Writes raw bits to the register

pub fn trim(&mut self) -> _TRIMW

Bits 8:13 - HSI48 oscillator smooth trimming

pub fn swsync(&mut self) -> _SWSYNCW

Bit 7 - Generate software SYNC event

pub fn autotrimen(&mut self) -> _AUTOTRIMENW

Bit 6 - Automatic trimming enable

pub fn cen(&mut self) -> _CENW

Bit 5 - Frequency error counter enable

pub fn esyncie(&mut self) -> _ESYNCIEW

Bit 3 - Expected SYNC interrupt enable

pub fn errie(&mut self) -> _ERRIEW

Bit 2 - Synchronization or trimming error interrupt enable

pub fn syncwarnie(&mut self) -> _SYNCWARNIEW

Bit 1 - SYNC warning interrupt enable

pub fn syncokie(&mut self) -> _SYNCOKIEW

Bit 0 - SYNC event OK interrupt enable

Auto Trait Implementations

impl Unpin for W

impl Sync for W

impl Send for W

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self