#[repr(u8)]
pub enum Prescaler {
DIV2,
DIV4,
DIV8,
DIV16,
DIV32,
DIV64,
DIV128,
DIV256,
}
Expand description
Prescaler Configuration
Value on reset: 0
Variants
DIV2
0: Peripheral clock divided by 2
DIV4
1: Peripheral clock divided by 4
DIV8
2: Peripheral clock divided by 8
DIV16
3: Peripheral clock divided by 16
DIV32
4: Peripheral clock divided by 32
DIV64
5: Peripheral clock divided by 64
DIV128
6: Peripheral clock divided by 128
DIV256
7: Peripheral clock divided by 256
Trait Implementations
impl Clone for PRESCALER_A
impl Clone for PRESCALER_A
pub fn clone(&self) -> PRESCALER_A
pub fn clone(&self) -> PRESCALER_A
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for PRESCALER_A
impl Debug for PRESCALER_A
impl PartialEq<PRESCALER_A> for PRESCALER_A
impl PartialEq<PRESCALER_A> for PRESCALER_A
impl Copy for PRESCALER_A
impl StructuralPartialEq for PRESCALER_A
Auto Trait Implementations
impl RefUnwindSafe for PRESCALER_A
impl Send for PRESCALER_A
impl Sync for PRESCALER_A
impl Unpin for PRESCALER_A
impl UnwindSafe for PRESCALER_A
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Casts the value.
OverflowingCasts the value.
Casts the value.
Casts the value.
Casts the value.
UnwrappedCasts the value.
Casts the value.
WrappingCasts the value.