pub enum Mode {
Master = 0,
Slave = 1,
BclkMasterFrameSyncSlave = 2,
BclkSlaveFrameSyncMaster = 3,
}Expand description
Mode of operation for the SAI peripheral
Variants§
Master = 0
Master mode where all clocks are generated from the SAI
Slave = 1
Slave mode where all audio clocks are expecting to come from external sources
BclkMasterFrameSyncSlave = 2
Bitclock Master, FrameSync Slave
BclkSlaveFrameSyncMaster = 3
Bitclock Slave, FrameSync Master
Trait Implementations§
impl Copy for Mode
impl Eq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
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