Enum 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
Input ADC clock not divided.
DIV2 = 1
Input ADC clock divided by 2.
DIV4 = 2
Input ADC clock divided by 4.
DIV6 = 3
Input ADC clock divided by 6.
DIV8 = 4
Input ADC clock divided by 8.
DIV10 = 5
Input ADC clock divided by 10.
DIV12 = 6
Input ADC clock divided by 12.
DIV16 = 7
Input ADC clock divided by 16.
DIV32 = 8
Input ADC clock divided by 32.
DIV64 = 9
Input ADC clock divided by 64.
DIV128 = 10
Input ADC clock divided by 128.
DIV256 = 11
Input ADC clock 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
)