Enum SampleTime  
#[repr(u8)]pub enum SampleTime {
    CYCLES1_5 = 0,
    CYCLES3_5 = 1,
    CYCLES7_5 = 2,
    CYCLES12_5 = 3,
    CYCLES19_5 = 4,
    CYCLES39_5 = 5,
    CYCLES79_5 = 6,
    CYCLES160_5 = 7,
}Variants§
CYCLES1_5 = 0
1.5 ADC cycles
CYCLES3_5 = 1
3.5 ADC cycles
CYCLES7_5 = 2
7.5 ADC cycles
CYCLES12_5 = 3
12.5 ADC cycles
CYCLES19_5 = 4
19.5 ADC cycles
CYCLES39_5 = 5
39.5 ADC cycles
CYCLES79_5 = 6
79.5 ADC cycles
CYCLES160_5 = 7
160.5 ADC cycles
Implementations§
§impl SampleTime
 
impl SampleTime
pub const fn from_bits(val: u8) -> SampleTime
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for SampleTime
 
impl Clone for SampleTime
§fn clone(&self) -> SampleTime
 
fn clone(&self) -> SampleTime
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 SampleTime
 
impl Debug for SampleTime
§impl Format for SampleTime
 
impl Format for SampleTime
§impl From<u8> for SampleTime
 
impl From<u8> for SampleTime
§fn from(val: u8) -> SampleTime
 
fn from(val: u8) -> SampleTime
Converts to this type from the input type.
§impl Ord for SampleTime
 
impl Ord for SampleTime
§impl PartialEq for SampleTime
 
impl PartialEq for SampleTime
§impl PartialOrd for SampleTime
 
impl PartialOrd for SampleTime
impl Copy for SampleTime
impl Eq for SampleTime
impl StructuralPartialEq for SampleTime
Auto Trait Implementations§
impl Freeze for SampleTime
impl RefUnwindSafe for SampleTime
impl Send for SampleTime
impl Sync for SampleTime
impl Unpin for SampleTime
impl UnwindSafe for SampleTime
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