Enum stm32_hal2::sai::SyncIn
source · #[repr(u8)]pub enum SyncIn {
Sai1 = 0,
Sai2 = 1,
Sai3 = 2,
Sai4 = 3,
}
Expand description
Synchronization inputs. Sets xGCR register, SYNCIn field. Must be set when SAI is diabled.
Not block specific. Syncs this SAI peripheral with the one specified here, if sync_mode
is
configured as SyncExternal
. The block synchronized with is controlled by that SAI’s sync_out
setting.
Variants§
Sai1 = 0
Sync with SAI1 as master.
Sai2 = 1
Sync with SAI2 as master.
Sai3 = 2
Sync with SAI3 as master.
Sai4 = 3
Sync with SAI4 as master.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SyncIn
impl Send for SyncIn
impl Sync for SyncIn
impl Unpin for SyncIn
impl UnwindSafe for SyncIn
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