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