Enum Adc0swpretrg
#[repr(u8)]pub enum Adc0swpretrg {
_000 = 0,
_001 = 1,
_010 = 2,
_011 = 3,
_100 = 4,
_101 = 5,
_110 = 6,
_111 = 7,
}Expand description
ADC0 software pretrigger sources
Value on reset: 0
Variants§
_000 = 0
0: Software pretrigger disabled
_001 = 1
1: Reserved (do not use)
_010 = 2
2: Reserved (do not use)
_011 = 3
3: Reserved (do not use)
_100 = 4
4: Software pretrigger 0
_101 = 5
5: Software pretrigger 1
_110 = 6
6: Software pretrigger 2
_111 = 7
7: Software pretrigger 3
Trait Implementations§
§impl Clone for Adc0swpretrg
impl Clone for Adc0swpretrg
§fn clone(&self) -> Adc0swpretrg
fn clone(&self) -> Adc0swpretrg
Returns a duplicate 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 more§impl Debug for Adc0swpretrg
impl Debug for Adc0swpretrg
§impl Format for Adc0swpretrg
impl Format for Adc0swpretrg
§impl From<Adc0swpretrg> for u8
impl From<Adc0swpretrg> for u8
§fn from(variant: Adc0swpretrg) -> Self
fn from(variant: Adc0swpretrg) -> Self
Converts to this type from the input type.
§impl PartialEq for Adc0swpretrg
impl PartialEq for Adc0swpretrg
impl Copy for Adc0swpretrg
impl Eq for Adc0swpretrg
impl IsEnum for Adc0swpretrg
impl StructuralPartialEq for Adc0swpretrg
Auto Trait Implementations§
impl Freeze for Adc0swpretrg
impl RefUnwindSafe for Adc0swpretrg
impl Send for Adc0swpretrg
impl Sync for Adc0swpretrg
impl Unpin for Adc0swpretrg
impl UnwindSafe for Adc0swpretrg
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