Struct SampleTime
#[repr(transparent)]pub struct SampleTime(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl SampleTime
impl SampleTime
pub const CYCLES2_5: Self
pub const CYCLES2_5: Self
2.5 ADC cycles
pub const CYCLES6_5: Self
pub const CYCLES6_5: Self
6.5 ADC cycles
pub const CYCLES12_5: Self
pub const CYCLES12_5: Self
12.5 ADC cycles
pub const CYCLES24_5: Self
pub const CYCLES24_5: Self
24.5 ADC cycles
pub const CYCLES47_5: Self
pub const CYCLES47_5: Self
47.5 ADC cycles
pub const CYCLES92_5: Self
pub const CYCLES92_5: Self
92.5 ADC cycles
pub const CYCLES247_5: Self
pub const CYCLES247_5: Self
247.5 ADC cycles
pub const CYCLES640_5: Self
pub const CYCLES640_5: Self
640.5 ADC cycles
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§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§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