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,
CYCLES814_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
CYCLES814_5 = 7
160.5 ADC cycles
Implementations§
§impl Adc4SampleTime
impl Adc4SampleTime
pub const fn from_bits(val: u8) -> Adc4SampleTime
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Adc4SampleTime
impl Clone for Adc4SampleTime
§fn clone(&self) -> Adc4SampleTime
fn clone(&self) -> Adc4SampleTime
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 more§impl Debug for Adc4SampleTime
impl Debug for Adc4SampleTime
§impl From<u8> for Adc4SampleTime
impl From<u8> for Adc4SampleTime
§fn from(val: u8) -> Adc4SampleTime
fn from(val: u8) -> Adc4SampleTime
Converts to this type from the input type.
§impl Ord for Adc4SampleTime
impl Ord for Adc4SampleTime
§impl PartialEq for Adc4SampleTime
impl PartialEq for Adc4SampleTime
§impl PartialOrd for Adc4SampleTime
impl PartialOrd for Adc4SampleTime
impl Copy for Adc4SampleTime
impl Eq for Adc4SampleTime
impl StructuralPartialEq for Adc4SampleTime
Auto Trait Implementations§
impl Freeze for Adc4SampleTime
impl RefUnwindSafe for Adc4SampleTime
impl Send for Adc4SampleTime
impl Sync for Adc4SampleTime
impl Unpin for Adc4SampleTime
impl UnwindSafe for Adc4SampleTime
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