[][src]Struct nrf52840_hal::target::i2s::CONFIG

#[repr(C)]pub struct CONFIG {
    pub mode: Reg<u32, _MODE>,
    pub rxen: Reg<u32, _RXEN>,
    pub txen: Reg<u32, _TXEN>,
    pub mcken: Reg<u32, _MCKEN>,
    pub mckfreq: Reg<u32, _MCKFREQ>,
    pub ratio: Reg<u32, _RATIO>,
    pub swidth: Reg<u32, _SWIDTH>,
    pub align: Reg<u32, _ALIGN>,
    pub format: Reg<u32, _FORMAT>,
    pub channels: Reg<u32, _CHANNELS>,
}

Register block

Fields

mode: Reg<u32, _MODE>

0x00 - I2S mode.

rxen: Reg<u32, _RXEN>

0x04 - Reception (RX) enable.

txen: Reg<u32, _TXEN>

0x08 - Transmission (TX) enable.

mcken: Reg<u32, _MCKEN>

0x0c - Master clock generator enable.

mckfreq: Reg<u32, _MCKFREQ>

0x10 - Master clock generator frequency.

ratio: Reg<u32, _RATIO>

0x14 - MCK / LRCK ratio.

swidth: Reg<u32, _SWIDTH>

0x18 - Sample width.

align: Reg<u32, _ALIGN>

0x1c - Alignment of sample within a frame.

format: Reg<u32, _FORMAT>

0x20 - Frame format.

channels: Reg<u32, _CHANNELS>

0x24 - Enable channels.

Auto Trait Implementations

impl Send for CONFIG

impl !Sync for CONFIG

impl Unpin for CONFIG

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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> 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.