[]Struct stm32f072b_disco::stm32::rcc::cfgr3::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R

pub fn bits(&self) -> u32

Value of the register as raw bits

pub fn usart1sw(&self) -> USART1SWR

Bits 0:1 - USART1 clock source selection

pub fn i2c1sw(&self) -> I2C1SWR

Bit 4 - I2C1 clock source selection

pub fn cecsw(&self) -> CECSWR

Bit 6 - HDMI CEC clock source selection

pub fn usbsw(&self) -> USBSWR

Bit 7 - USB clock source selection

pub fn adcsw(&self) -> ADCSWR

Bit 8 - ADCSW is deprecated. See ADC field in CFGR2 register.

pub fn usart2sw(&self) -> USART1SWR

Bits 16:17 - USART2 clock source selection

pub fn usart3sw(&self) -> USART1SWR

Bits 18:19 - USART3 clock source

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

impl<T> Same for T

type Output = T

Should always be Self