Enum Prescaler
#[repr(u8)]pub enum Prescaler {
_000 = 0,
_001 = 1,
_010 = 2,
_011 = 3,
_100 = 4,
_101 = 5,
_110 = 6,
_111 = 7,
}Expand description
Prescaler Divider Select
Value on reset: 0
Variants§
_000 = 0
0: Counting uses the peripheral clock divided by MULT (the multiplication factor).
_001 = 1
1: Counting uses the peripheral clock divided by 2 x MULT (the multiplication factor).
_010 = 2
2: Counting uses the peripheral clock divided by 4 x MULT (the multiplication factor).
_011 = 3
3: Counting uses the peripheral clock divided by 8 x MULT (the multiplication factor).
_100 = 4
4: Counting uses the peripheral clock divided by 16 x MULT (the multiplication factor).
_101 = 5
5: Counting uses the peripheral clock divided by 32 x MULT (the multiplication factor).
_110 = 6
6: Counting uses the peripheral clock divided by 64 x MULT (the multiplication factor).
_111 = 7
7: Counting uses the peripheral clock divided by 128 x MULT (the multiplication factor).
Trait Implementations§
impl Copy for Prescaler
impl Eq for Prescaler
impl IsEnum 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