#[repr(u8)]pub enum Apbadivselect {
Div1 = 0,
Div2 = 1,
Div4 = 2,
Div8 = 3,
Div16 = 4,
Div32 = 5,
Div64 = 6,
Div128 = 7,
}
Expand description
APBA Prescaler Selection
Value on reset: 0
Variants§
Div1 = 0
0: Divide by 1
Div2 = 1
1: Divide by 2
Div4 = 2
2: Divide by 4
Div8 = 3
3: Divide by 8
Div16 = 4
4: Divide by 16
Div32 = 5
5: Divide by 32
Div64 = 6
6: Divide by 64
Div128 = 7
7: Divide by 128
Trait Implementations§
Source§impl Clone for Apbadivselect
impl Clone for Apbadivselect
Source§fn clone(&self) -> Apbadivselect
fn clone(&self) -> Apbadivselect
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Apbadivselect
impl Debug for Apbadivselect
Source§impl From<Apbadivselect> for u8
impl From<Apbadivselect> for u8
Source§fn from(variant: Apbadivselect) -> Self
fn from(variant: Apbadivselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Apbadivselect
impl PartialEq for Apbadivselect
impl Copy for Apbadivselect
impl Eq for Apbadivselect
impl IsEnum for Apbadivselect
impl StructuralPartialEq for Apbadivselect
Auto Trait Implementations§
impl Freeze for Apbadivselect
impl RefUnwindSafe for Apbadivselect
impl Send for Apbadivselect
impl Sync for Apbadivselect
impl Unpin for Apbadivselect
impl UnwindSafe for Apbadivselect
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