Type Definition stm32_hal2::pac::sai1::ch::slotr::NBSLOT_W

source · []
pub type NBSLOT_W<'a, const O: u8> = FieldWriterRaw<'a, u32, SLOTR_SPEC, u8, u8, Unsafe, 4, O>;
Expand description

Field NBSLOT writer - Number of slots in an audio frame. These bits are set and cleared by software. The value set in this bitfield represents the number of slots + 1 in the audio frame (including the number of inactive slots). The maximum number of slots is 16. The number of slots should be even if FSDEF bit in the SAI_xFRCR register is set. The number of slots must be configured when the audio block is disabled. They are ignored in AC97 or SPDIF mode.