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