Enum Adc1swpretrg
#[repr(u8)]pub enum Adc1swpretrg {
_000 = 0,
_001 = 1,
_010 = 2,
_011 = 3,
_100 = 4,
_101 = 5,
_110 = 6,
_111 = 7,
}Expand description
ADC1 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 Adc1swpretrg
impl Clone for Adc1swpretrg
§fn clone(&self) -> Adc1swpretrg
fn clone(&self) -> Adc1swpretrg
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 Adc1swpretrg
impl Debug for Adc1swpretrg
§impl Format for Adc1swpretrg
impl Format for Adc1swpretrg
§impl From<Adc1swpretrg> for u8
impl From<Adc1swpretrg> for u8
§fn from(variant: Adc1swpretrg) -> Self
fn from(variant: Adc1swpretrg) -> Self
Converts to this type from the input type.
§impl PartialEq for Adc1swpretrg
impl PartialEq for Adc1swpretrg
impl Copy for Adc1swpretrg
impl Eq for Adc1swpretrg
impl IsEnum for Adc1swpretrg
impl StructuralPartialEq for Adc1swpretrg
Auto Trait Implementations§
impl Freeze for Adc1swpretrg
impl RefUnwindSafe for Adc1swpretrg
impl Send for Adc1swpretrg
impl Sync for Adc1swpretrg
impl Unpin for Adc1swpretrg
impl UnwindSafe for Adc1swpretrg
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