Enum embassy_stm32::adc::vals::SampleTime
#[repr(u8)]pub enum SampleTime {
CYCLES2_5 = 0,
CYCLES6_5 = 1,
CYCLES12_5 = 2,
CYCLES24_5 = 3,
CYCLES47_5 = 4,
CYCLES92_5 = 5,
CYCLES247_5 = 6,
CYCLES640_5 = 7,
}
Variantsยง
CYCLES2_5 = 0
2.5 clock cycles
CYCLES6_5 = 1
6.5 clock cycles
CYCLES12_5 = 2
12.5 clock cycles
CYCLES24_5 = 3
24.5 clock cycles
CYCLES47_5 = 4
47.5 clock cycles
CYCLES92_5 = 5
92.5 clock cycles
CYCLES247_5 = 6
247.5 clock cycles
CYCLES640_5 = 7
640.5 clock 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 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 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
sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
sourceยงunsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit
)