Type Definition stm32_hal2::pac::sai1::ch::cr1::DS_W

source · []
pub type DS_W<'a, const O: u8> = FieldWriterRaw<'a, u32, CR1_SPEC, u8, DS_A, Unsafe, 3, O>;
Expand description

Field DS writer - Data size. These bits are set and cleared by software. These bits are ignored when the SPDIF protocols are selected (bit PRTCFG[1:0]), because the frame and the data size are fixed in such case. When the companding mode is selected through COMP[1:0] bits, DS[1:0] are ignored since the data size is fixed to 8 bits by the algorithm. These bits must be configured when the audio block is disabled.