#[repr(u8)]
pub enum PRESCBUF_A {
DIV1,
DIV2,
DIV4,
DIV8,
DIV16,
DIV32,
DIV64,
DIV128,
DIV256,
DIV512,
DIV1024,
}
Expand description
Prescaler Buffer Value
Value on reset: 0
Variants
DIV1
0: No division
DIV2
1: Divide by 2
DIV4
2: Divide by 4
DIV8
3: Divide by 8
DIV16
4: Divide by 16
DIV32
5: Divide by 32
DIV64
6: Divide by 64
DIV128
7: Divide by 128
DIV256
8: Divide by 256
DIV512
9: Divide by 512
DIV1024
10: Divide by 1024
Trait Implementations
sourceimpl Clone for PRESCBUF_A
impl Clone for PRESCBUF_A
sourcefn clone(&self) -> PRESCBUF_A
fn clone(&self) -> PRESCBUF_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PRESCBUF_A
impl Debug for PRESCBUF_A
sourceimpl From<PRESCBUF_A> for u8
impl From<PRESCBUF_A> for u8
sourcefn from(variant: PRESCBUF_A) -> Self
fn from(variant: PRESCBUF_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<PRESCBUF_A> for PRESCBUF_A
impl PartialEq<PRESCBUF_A> for PRESCBUF_A
sourcefn eq(&self, other: &PRESCBUF_A) -> bool
fn eq(&self, other: &PRESCBUF_A) -> bool
impl Copy for PRESCBUF_A
impl StructuralPartialEq for PRESCBUF_A
Auto Trait Implementations
impl RefUnwindSafe for PRESCBUF_A
impl Send for PRESCBUF_A
impl Sync for PRESCBUF_A
impl Unpin for PRESCBUF_A
impl UnwindSafe for PRESCBUF_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more