Enum atsame54n::i2s::clkctrl::FSWIDTHSELECT_A
source · #[repr(u8)]pub enum FSWIDTHSELECT_A {
SLOT = 0,
HALF = 1,
BIT = 2,
BURST = 3,
}
Expand description
Frame Sync Width
Value on reset: 0
Variants§
SLOT = 0
0: Frame Sync Pulse is 1 Slot wide (default for I2S protocol)
HALF = 1
1: Frame Sync Pulse is half a Frame wide
BIT = 2
2: Frame Sync Pulse is 1 Bit wide
BURST = 3
3: Clock Unit n operates in Burst mode, with a 1-bit wide Frame Sync pulse per Data sample, only when Data transfer is requested
Trait Implementations§
source§impl Clone for FSWIDTHSELECT_A
impl Clone for FSWIDTHSELECT_A
source§fn clone(&self) -> FSWIDTHSELECT_A
fn clone(&self) -> FSWIDTHSELECT_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FSWIDTHSELECT_A
impl Debug for FSWIDTHSELECT_A
source§impl From<FSWIDTHSELECT_A> for u8
impl From<FSWIDTHSELECT_A> for u8
source§fn from(variant: FSWIDTHSELECT_A) -> Self
fn from(variant: FSWIDTHSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for FSWIDTHSELECT_A
impl PartialEq for FSWIDTHSELECT_A
source§fn eq(&self, other: &FSWIDTHSELECT_A) -> bool
fn eq(&self, other: &FSWIDTHSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FSWIDTHSELECT_A
impl Eq for FSWIDTHSELECT_A
impl StructuralPartialEq for FSWIDTHSELECT_A
Auto Trait Implementations§
impl Freeze for FSWIDTHSELECT_A
impl RefUnwindSafe for FSWIDTHSELECT_A
impl Send for FSWIDTHSELECT_A
impl Sync for FSWIDTHSELECT_A
impl Unpin for FSWIDTHSELECT_A
impl UnwindSafe for FSWIDTHSELECT_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