Struct nrf52832_hal::pac::i2s::CONFIG [−][src]
#[repr(C)]pub struct CONFIG {
pub mode: Reg<MODE_SPEC>,
pub rxen: Reg<RXEN_SPEC>,
pub txen: Reg<TXEN_SPEC>,
pub mcken: Reg<MCKEN_SPEC>,
pub mckfreq: Reg<MCKFREQ_SPEC>,
pub ratio: Reg<RATIO_SPEC>,
pub swidth: Reg<SWIDTH_SPEC>,
pub align: Reg<ALIGN_SPEC>,
pub format: Reg<FORMAT_SPEC>,
pub channels: Reg<CHANNELS_SPEC>,
}
Expand description
Register block
Fields
mode: Reg<MODE_SPEC>
0x00 - I2S mode.
rxen: Reg<RXEN_SPEC>
0x04 - Reception (RX) enable.
txen: Reg<TXEN_SPEC>
0x08 - Transmission (TX) enable.
mcken: Reg<MCKEN_SPEC>
0x0c - Master clock generator enable.
mckfreq: Reg<MCKFREQ_SPEC>
0x10 - Master clock generator frequency.
ratio: Reg<RATIO_SPEC>
0x14 - MCK / LRCK ratio.
swidth: Reg<SWIDTH_SPEC>
0x18 - Sample width.
align: Reg<ALIGN_SPEC>
0x1c - Alignment of sample within a frame.
format: Reg<FORMAT_SPEC>
0x20 - Frame format.
channels: Reg<CHANNELS_SPEC>
0x24 - Enable channels.
Auto Trait Implementations
impl !RefUnwindSafe for CONFIG
impl UnwindSafe for CONFIG
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Performs the conversion.
Performs the conversion.
Casts the value.
OverflowingCasts the value.
Casts the value.
Casts the value.
Casts the value.
UnwrappedCasts the value.
Casts the value.
WrappingCasts the value.