pub enum MODE_A {
MASTER = 0,
SLAVE = 1,
}
Expand description
I2S mode.
Value on reset: 0
Variants§
MASTER = 0
0: Master mode. SCK and LRCK generated from internal master clcok (MCK) and output on pins defined by PSEL.xxx.
SLAVE = 1
1: Slave mode. SCK and LRCK generated by external master and received on pins defined by PSEL.xxx
Trait Implementations§
impl Copy for MODE_A
impl StructuralPartialEq for MODE_A
Auto Trait Implementations§
impl Freeze for MODE_A
impl RefUnwindSafe for MODE_A
impl Send for MODE_A
impl Sync for MODE_A
impl Unpin for MODE_A
impl UnwindSafe for MODE_A
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)