#[repr(u8)]pub enum Refclkselect {
Ref0 = 0,
Ref1 = 1,
Gclk = 2,
}
Expand description
Reference Clock Selection
Value on reset: 0
Variants§
Ref0 = 0
0: CLK_DPLL_REF0 clock reference
Ref1 = 1
1: CLK_DPLL_REF1 clock reference
Gclk = 2
2: GCLK_DPLL clock reference
Trait Implementations§
Source§impl Clone for Refclkselect
impl Clone for Refclkselect
Source§fn clone(&self) -> Refclkselect
fn clone(&self) -> Refclkselect
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 Refclkselect
impl Debug for Refclkselect
Source§impl From<Refclkselect> for u8
impl From<Refclkselect> for u8
Source§fn from(variant: Refclkselect) -> Self
fn from(variant: Refclkselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Refclkselect
impl PartialEq for Refclkselect
impl Copy for Refclkselect
impl Eq for Refclkselect
impl IsEnum for Refclkselect
impl StructuralPartialEq for Refclkselect
Auto Trait Implementations§
impl Freeze for Refclkselect
impl RefUnwindSafe for Refclkselect
impl Send for Refclkselect
impl Sync for Refclkselect
impl Unpin for Refclkselect
impl UnwindSafe for Refclkselect
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