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