Enum stm32_hal2::sai::FsOffset
source · #[repr(u8)]pub enum FsOffset {
FirstBit = 0,
BeforeFirstBit = 1,
}
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 = 0
FS is asserted on the first bit of the slot 0.
BeforeFirstBit = 1
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more