pub enum WsWidth {
    HalfFrame,
    OneChannel,
    Bit,
    Bits(u16),
}Expand description
I2S word select signal width
Variants§
HalfFrame
Word select signal will be kept active for half of the frame
OneChannel
Word select signal will be kept active for the length of the first channel (PCM long frame standard)
Bit
Word select signal will be kept active for a single BCLK cycle (PCM short frame standard)
Bits(u16)
Word select signal will be kept active for the specified amount of bits(BCLK cycles)
Trait Implementations§
impl Copy for WsWidth
Available on crate feature 
unstable only.impl Eq for WsWidth
Available on crate feature 
unstable only.impl StructuralPartialEq for WsWidth
Available on crate feature 
unstable only.Auto Trait Implementations§
impl Freeze for WsWidth
impl RefUnwindSafe for WsWidth
impl Send for WsWidth
impl Sync for WsWidth
impl Unpin for WsWidth
impl UnwindSafe for WsWidth
Blanket Implementations§
§impl<T> Any for Twhere
    T: 'static + ?Sized,
 
impl<T> Any for Twhere
    T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
    T: ?Sized,
 
impl<T> Borrow<T> for Twhere
    T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
 
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)