Struct nrf52832_hal::pac::i2s::CONFIG [−][src]
#[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>, }
Expand description
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.