Enum d1_pac::gpadc::gp_ctrl::GPADC_WORK_MODE_A
source · #[repr(u8)]pub enum GPADC_WORK_MODE_A {
SINGLE = 0,
CONTINUOUS = 2,
BURST = 3,
}
Expand description
GPADC Work Mode
Value on reset: 0
Variants§
SINGLE = 0
0: Single conversion mode
CONTINUOUS = 2
2: Continuous conversion mode
BURST = 3
3: Burst conversion mode
Trait Implementations§
source§impl Clone for GPADC_WORK_MODE_A
impl Clone for GPADC_WORK_MODE_A
source§fn clone(&self) -> GPADC_WORK_MODE_A
fn clone(&self) -> GPADC_WORK_MODE_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 GPADC_WORK_MODE_A
impl Debug for GPADC_WORK_MODE_A
source§impl From<GPADC_WORK_MODE_A> for u8
impl From<GPADC_WORK_MODE_A> for u8
source§fn from(variant: GPADC_WORK_MODE_A) -> Self
fn from(variant: GPADC_WORK_MODE_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for GPADC_WORK_MODE_A
impl PartialEq for GPADC_WORK_MODE_A
impl Copy for GPADC_WORK_MODE_A
impl Eq for GPADC_WORK_MODE_A
impl StructuralPartialEq for GPADC_WORK_MODE_A
Auto Trait Implementations§
impl Freeze for GPADC_WORK_MODE_A
impl RefUnwindSafe for GPADC_WORK_MODE_A
impl Send for GPADC_WORK_MODE_A
impl Sync for GPADC_WORK_MODE_A
impl Unpin for GPADC_WORK_MODE_A
impl UnwindSafe for GPADC_WORK_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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)