#[repr(transparent)]pub struct Cmp1fclksel(pub u32);Expand description
CMP1 Function Clock Selection
Tuple Fields§
§0: u32Implementations§
Source§impl Cmp1fclksel
impl Cmp1fclksel
Sourcepub const fn sel(&self) -> Cmp1fclkselSel
pub const fn sel(&self) -> Cmp1fclkselSel
Selects the CMP1 function clock
Sourcepub const fn set_sel(&mut self, val: Cmp1fclkselSel)
pub const fn set_sel(&mut self, val: Cmp1fclkselSel)
Selects the CMP1 function clock
Trait Implementations§
Source§impl Clone for Cmp1fclksel
impl Clone for Cmp1fclksel
Source§fn clone(&self) -> Cmp1fclksel
fn clone(&self) -> Cmp1fclksel
Returns a duplicate 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 Cmp1fclksel
impl Debug for Cmp1fclksel
Source§impl Default for Cmp1fclksel
impl Default for Cmp1fclksel
Source§fn default() -> Cmp1fclksel
fn default() -> Cmp1fclksel
Returns the “default value” for a type. Read more
Source§impl PartialEq for Cmp1fclksel
impl PartialEq for Cmp1fclksel
impl Copy for Cmp1fclksel
impl Eq for Cmp1fclksel
impl StructuralPartialEq for Cmp1fclksel
Auto Trait Implementations§
impl Freeze for Cmp1fclksel
impl RefUnwindSafe for Cmp1fclksel
impl Send for Cmp1fclksel
impl Sync for Cmp1fclksel
impl Unpin for Cmp1fclksel
impl UnwindSafe for Cmp1fclksel
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