Enum nrf52840_pac::pdm::mode::OPERATION_A
source · pub enum OPERATION_A {
STEREO = 0,
MONO = 1,
}
Expand description
Mono or stereo operation
Value on reset: 0
Variants§
STEREO = 0
0: Sample and store one pair (Left + Right) of 16bit samples per RAM word R=[31:16]; L=[15:0]
MONO = 1
1: Sample and store two successive Left samples (16 bit each) per RAM word L1=[31:16]; L0=[15:0]
Trait Implementations§
source§impl Clone for OPERATION_A
impl Clone for OPERATION_A
source§fn clone(&self) -> OPERATION_A
fn clone(&self) -> OPERATION_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 OPERATION_A
impl Debug for OPERATION_A
source§impl From<OPERATION_A> for bool
impl From<OPERATION_A> for bool
source§fn from(variant: OPERATION_A) -> Self
fn from(variant: OPERATION_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for OPERATION_A
impl PartialEq for OPERATION_A
impl Copy for OPERATION_A
impl StructuralPartialEq for OPERATION_A
Auto Trait Implementations§
impl Freeze for OPERATION_A
impl RefUnwindSafe for OPERATION_A
impl Send for OPERATION_A
impl Sync for OPERATION_A
impl Unpin for OPERATION_A
impl UnwindSafe for OPERATION_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
)