Enum stm32_hal2::sai::FsOffset
source · [−]#[repr(u8)]
pub enum FsOffset {
FirstBit,
BeforeFirstBit,
}
Expand description
Frame synchronization offset. Depending on the audio protocol targeted in the application, the Frame synchronization signal can be asserted when transmitting the last bit or the first bit of the audio frame (this is the case in I2S standard protocol and in MSB-justified protocol, respectively). Sets FRCR register, FSOFF field.
Variants
FirstBit
FS is asserted on the first bit of the slot 0.
BeforeFirstBit
FS is asserted one bit before the first bit of the slot 0
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FsOffset
impl Send for FsOffset
impl Sync for FsOffset
impl Unpin for FsOffset
impl UnwindSafe for FsOffset
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more