Enum stm32_hal2::sai::SyncMode
source · #[repr(u8)]pub enum SyncMode {
Async = 0,
Sync = 1,
SyncExternal = 2,
}
Expand description
Specify wheather sub-clocks A and B are synchronized. Sets xCR1 register, SYNCEN field.
Variants§
Async = 0
Audio sub-block in asynchronous mode
Sync = 1
Audio sub-block is synchronous with the other internal audio sub-block. In this case, the audio sub-block must be configured in slave mode
SyncExternal = 2
Audio subblock is synchronous with an external SAI embedded peripheral. In this case the audio subblock should be configured in Slave mode.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SyncMode
impl Send for SyncMode
impl Sync for SyncMode
impl Unpin for SyncMode
impl UnwindSafe for SyncMode
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