[][src]Struct gd32vf103_pac::spi0::i2sctl::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u16[src]

Value of the register as raw bits

pub fn i2ssel(&self) -> I2SSELR[src]

Bit 11 - I2S mode selection

pub fn i2sen(&self) -> I2SENR[src]

Bit 10 - I2S Enable

pub fn i2sopmod(&self) -> I2SOPMODR[src]

Bits 8:9 - I2S operation mode

pub fn pcmsmod(&self) -> PCMSMODR[src]

Bit 7 - PCM frame synchronization mode

pub fn i2sstd(&self) -> I2SSTDR[src]

Bits 4:5 - I2S standard selection

pub fn ckpl(&self) -> CKPLR[src]

Bit 3 - Idle state clock polarity

pub fn dtlen(&self) -> DTLENR[src]

Bits 1:2 - Data length

pub fn chlen(&self) -> CHLENR[src]

Bit 0 - Channel length (number of bits per audio channel)

Auto Trait Implementations

impl Unpin for R

impl Sync for R

impl Send for R

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]