#[repr(u8)]pub enum Prescaler {
DIV_1 = 0,
DIV_2 = 1,
DIV_4 = 2,
DIV_8 = 3,
DIV_16 = 4,
DIV_32 = 5,
DIV_64 = 6,
DIV_128 = 7,
}
Variants§
DIV_1 = 0
Divide by 1 (16MHz)
DIV_2 = 1
Divide by 2 ( 8MHz)
DIV_4 = 2
Divide by 4 ( 4MHz)
DIV_8 = 3
Divide by 8 ( 2MHz)
DIV_16 = 4
Divide by 16 ( 1MHz)
DIV_32 = 5
Divide by 32 ( 500kHz)
DIV_64 = 6
Divide by 64 ( 250kHz)
DIV_128 = 7
Divide by 128 ( 125kHz)
Implementations§
Trait Implementations§
Source§impl Ord for Prescaler
impl Ord for Prescaler
Source§impl PartialOrd for Prescaler
impl PartialOrd for Prescaler
impl Copy for Prescaler
impl Eq for Prescaler
impl StructuralPartialEq for Prescaler
Auto Trait Implementations§
impl Freeze for Prescaler
impl RefUnwindSafe for Prescaler
impl Send for Prescaler
impl Sync for Prescaler
impl Unpin for Prescaler
impl UnwindSafe for Prescaler
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
)