#[repr(u8)]pub enum Sts {
SAMPLE_3P5 = 0,
SAMPLE_5P5 = 1,
SAMPLE_7P5 = 2,
SAMPLE_11P5 = 3,
SAMPLE_19P5 = 4,
SAMPLE_35P5 = 5,
SAMPLE_67P5 = 6,
SAMPLE_131P5 = 7,
}Variants§
SAMPLE_3P5 = 0
Minimum sample time of 3.5 ADCK cycles.
SAMPLE_5P5 = 1
3.5 + 21 ADCK cycles; 5.5 ADCK cycles total sample time.
SAMPLE_7P5 = 2
3.5 + 22 ADCK cycles; 7.5 ADCK cycles total sample time.
SAMPLE_11P5 = 3
3.5 + 23 ADCK cycles; 11.5 ADCK cycles total sample time.
SAMPLE_19P5 = 4
3.5 + 24 ADCK cycles; 19.5 ADCK cycles total sample time.
SAMPLE_35P5 = 5
3.5 + 25 ADCK cycles; 35.5 ADCK cycles total sample time.
SAMPLE_67P5 = 6
3.5 + 26 ADCK cycles; 67.5 ADCK cycles total sample time.
SAMPLE_131P5 = 7
3.5 + 27 ADCK cycles; 131.5 ADCK cycles total sample time.
Implementations§
Trait Implementations§
Source§impl Ord for Sts
impl Ord for Sts
Source§impl PartialOrd for Sts
impl PartialOrd for Sts
impl Copy for Sts
impl Eq for Sts
impl StructuralPartialEq for Sts
Auto Trait Implementations§
impl Freeze for Sts
impl RefUnwindSafe for Sts
impl Send for Sts
impl Sync for Sts
impl Unpin for Sts
impl UnwindSafe for Sts
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