[]Struct stm32f407g_disc::sai1::sai_bcr1::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 mode(&self) -> MODER

Bits 0:1 - Audio block mode

pub fn prtcfg(&self) -> PRTCFGR

Bits 2:3 - Protocol configuration

pub fn ds(&self) -> DSR

Bits 5:7 - Data size

pub fn lsbfirst(&self) -> LSBFIRSTR

Bit 8 - Least significant bit first

pub fn ckstr(&self) -> CKSTRR

Bit 9 - Clock strobing edge

pub fn syncen(&self) -> SYNCENR

Bits 10:11 - Synchronization enable

pub fn mono(&self) -> MONOR

Bit 12 - Mono mode

pub fn outdriv(&self) -> OUTDRIVR

Bit 13 - Output drive

pub fn saiben(&self) -> SAIBENR

Bit 16 - Audio block enable

pub fn dmaen(&self) -> DMAENR

Bit 17 - DMA enable

pub fn nodiv(&self) -> NODIVR

Bit 19 - No divider

pub fn mckdiv(&self) -> MCKDIVR

Bits 20:23 - Master clock divider

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]