Enum stm32_metapac::adccommon::vals::Presc
#[repr(u8)]pub enum Presc {
Show 16 variants
DIV1 = 0,
DIV2 = 1,
DIV4 = 2,
DIV6 = 3,
DIV8 = 4,
DIV10 = 5,
DIV12 = 6,
DIV16 = 7,
DIV32 = 8,
DIV64 = 9,
DIV128 = 10,
DIV256 = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}
Variants§
DIV1 = 0
adc_ker_ck_input not divided
DIV2 = 1
adc_ker_ck_input divided by 2
DIV4 = 2
adc_ker_ck_input divided by 4
DIV6 = 3
adc_ker_ck_input divided by 6
DIV8 = 4
adc_ker_ck_input divided by 8
DIV10 = 5
adc_ker_ck_input divided by 10
DIV12 = 6
adc_ker_ck_input divided by 12
DIV16 = 7
adc_ker_ck_input divided by 16
DIV32 = 8
adc_ker_ck_input divided by 32
DIV64 = 9
adc_ker_ck_input divided by 64
DIV128 = 10
adc_ker_ck_input divided by 128
DIV256 = 11
adc_ker_ck_input divided by 256
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Trait Implementations§
§impl Ord for Presc
impl Ord for Presc
§impl PartialOrd for Presc
impl PartialOrd for Presc
§fn partial_cmp(&self, other: &Presc) -> Option<Ordering>
fn partial_cmp(&self, other: &Presc) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Presc
impl Eq for Presc
impl StructuralEq for Presc
impl StructuralPartialEq for Presc
Auto Trait Implementations§
impl RefUnwindSafe for Presc
impl Send for Presc
impl Sync for Presc
impl Unpin for Presc
impl UnwindSafe for Presc
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