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
impl Copy for Presc
impl Eq for Presc
impl StructuralPartialEq for Presc
Auto Trait Implementations§
impl Freeze for Presc
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
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
)