Enum Pll2divr2Divs
#[repr(u8)]pub enum Pll2divr2Divs {
Div1 = 0,
Div2 = 1,
Div3 = 2,
Div4 = 3,
Div5 = 4,
Div6 = 5,
Div7 = 6,
Div8 = 7,
}Variants§
Div1 = 0
pll2_s_ck = vco2_ck.
Div2 = 1
pll2_s_ck = vco2_ck / 2 (default after reset).
Div3 = 2
pll2_s_ck = vco2_ck / 3.
Div4 = 3
pll2_s_ck = vco2_ck / 4.
Div5 = 4
pll2_s_ck = vco2_ck / 5.
Div6 = 5
pll2_s_ck = vco2_ck / 6.
Div7 = 6
pll2_s_ck = vco2_ck / 7.
Div8 = 7
pll2_s_ck = vco2_ck / 8.
Implementations§
§impl Pll2divr2Divs
impl Pll2divr2Divs
pub const fn from_bits(val: u8) -> Pll2divr2Divs
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Pll2divr2Divs
impl Clone for Pll2divr2Divs
§fn clone(&self) -> Pll2divr2Divs
fn clone(&self) -> Pll2divr2Divs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Pll2divr2Divs
§impl Debug for Pll2divr2Divs
impl Debug for Pll2divr2Divs
impl Eq for Pll2divr2Divs
§impl From<Pll2divr2Divs> for u8
impl From<Pll2divr2Divs> for u8
§fn from(val: Pll2divr2Divs) -> u8
fn from(val: Pll2divr2Divs) -> u8
Converts to this type from the input type.
§impl From<u8> for Pll2divr2Divs
impl From<u8> for Pll2divr2Divs
§fn from(val: u8) -> Pll2divr2Divs
fn from(val: u8) -> Pll2divr2Divs
Converts to this type from the input type.
§impl Ord for Pll2divr2Divs
impl Ord for Pll2divr2Divs
§fn cmp(&self, other: &Pll2divr2Divs) -> Ordering
fn cmp(&self, other: &Pll2divr2Divs) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for Pll2divr2Divs
impl PartialEq for Pll2divr2Divs
§impl PartialOrd for Pll2divr2Divs
impl PartialOrd for Pll2divr2Divs
impl StructuralPartialEq for Pll2divr2Divs
Auto Trait Implementations§
impl Freeze for Pll2divr2Divs
impl RefUnwindSafe for Pll2divr2Divs
impl Send for Pll2divr2Divs
impl Sync for Pll2divr2Divs
impl Unpin for Pll2divr2Divs
impl UnsafeUnpin for Pll2divr2Divs
impl UnwindSafe for Pll2divr2Divs
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