Enum Prescaler
#[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 (16 MHz)
DIV_2 = 1
Divide by 2 (8 MHz)
DIV_4 = 2
Divide by 4 (4 MHz)
DIV_8 = 3
Divide by 8 (2 MHz)
DIV_16 = 4
Divide by 16 (1 MHz)
DIV_32 = 5
Divide by 32 (500 kHz)
DIV_64 = 6
Divide by 64 (250 kHz)
DIV_128 = 7
Divide by 128 (125 kHz)
Implementations§
Trait Implementations§
§impl Ord for Prescaler
impl Ord for Prescaler
§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
)