#[repr(u32)]pub enum Direction {
Tx = 1,
Rx = 2,
TxRx = 3,
}Expand description
I²S stream direction — mirrors ove_i2s_dir_t.
Pass the underlying u32 value into ove_i2s_cfg::direction via
as bindings::ove_i2s_dir_t.
Variants§
Tx = 1
Transmit only (playback).
Rx = 2
Receive only (capture).
TxRx = 3
Full-duplex (simultaneous TX + RX).
Trait Implementations§
impl Copy for Direction
impl Eq for Direction
impl StructuralPartialEq for Direction
Auto Trait Implementations§
impl Freeze for Direction
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnsafeUnpin for Direction
impl UnwindSafe for Direction
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