Enum Adc3SampleTime
#[repr(u8)]pub enum Adc3SampleTime {
Cycles25 = 0,
Cycles65 = 1,
Cycles125 = 2,
Cycles245 = 3,
Cycles475 = 4,
Cycles925 = 5,
Cycles2475 = 6,
Cycles6405 = 7,
}Variants§
Cycles25 = 0
2.5 ADC clock cycles
Cycles65 = 1
6.5 ADC clock cycles
Cycles125 = 2
12.5 ADC clock cycles
Cycles245 = 3
24.5 ADC clock cycles
Cycles475 = 4
47.5 ADC clock cycles
Cycles925 = 5
92.5 ADC clock cycles
Cycles2475 = 6
247.5 ADC clock cycles
Cycles6405 = 7
640.5 ADC clock cycles
Implementations§
§impl Adc3SampleTime
impl Adc3SampleTime
pub const fn from_bits(val: u8) -> Adc3SampleTime
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Adc3SampleTime
impl Clone for Adc3SampleTime
§fn clone(&self) -> Adc3SampleTime
fn clone(&self) -> Adc3SampleTime
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Adc3SampleTime
§impl Debug for Adc3SampleTime
impl Debug for Adc3SampleTime
impl Eq for Adc3SampleTime
§impl From<Adc3SampleTime> for u8
impl From<Adc3SampleTime> for u8
§fn from(val: Adc3SampleTime) -> u8
fn from(val: Adc3SampleTime) -> u8
Converts to this type from the input type.
§impl From<u8> for Adc3SampleTime
impl From<u8> for Adc3SampleTime
§fn from(val: u8) -> Adc3SampleTime
fn from(val: u8) -> Adc3SampleTime
Converts to this type from the input type.
§impl Ord for Adc3SampleTime
impl Ord for Adc3SampleTime
§fn cmp(&self, other: &Adc3SampleTime) -> Ordering
fn cmp(&self, other: &Adc3SampleTime) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for Adc3SampleTime
impl PartialEq for Adc3SampleTime
§impl PartialOrd for Adc3SampleTime
impl PartialOrd for Adc3SampleTime
impl StructuralPartialEq for Adc3SampleTime
Auto Trait Implementations§
impl Freeze for Adc3SampleTime
impl RefUnwindSafe for Adc3SampleTime
impl Send for Adc3SampleTime
impl Sync for Adc3SampleTime
impl Unpin for Adc3SampleTime
impl UnsafeUnpin for Adc3SampleTime
impl UnwindSafe for Adc3SampleTime
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