#[repr(transparent)]pub struct ClkAdcSelected(pub u32);
Expand description
Indicates which src is currently selected (one-hot)
Tuple Fields§
§0: u32
Implementations§
Source§impl ClkAdcSelected
impl ClkAdcSelected
Sourcepub const fn clk_adc_selected(&self) -> bool
pub const fn clk_adc_selected(&self) -> bool
This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1.
Sourcepub fn set_clk_adc_selected(&mut self, val: bool)
pub fn set_clk_adc_selected(&mut self, val: bool)
This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1.
Trait Implementations§
Source§impl Clone for ClkAdcSelected
impl Clone for ClkAdcSelected
Source§fn clone(&self) -> ClkAdcSelected
fn clone(&self) -> ClkAdcSelected
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 ClkAdcSelected
impl Debug for ClkAdcSelected
Source§impl Default for ClkAdcSelected
impl Default for ClkAdcSelected
Source§fn default() -> ClkAdcSelected
fn default() -> ClkAdcSelected
Returns the “default value” for a type. Read more
Source§impl PartialEq for ClkAdcSelected
impl PartialEq for ClkAdcSelected
impl Copy for ClkAdcSelected
impl Eq for ClkAdcSelected
impl StructuralPartialEq for ClkAdcSelected
Auto Trait Implementations§
impl Freeze for ClkAdcSelected
impl RefUnwindSafe for ClkAdcSelected
impl Send for ClkAdcSelected
impl Sync for ClkAdcSelected
impl Unpin for ClkAdcSelected
impl UnwindSafe for ClkAdcSelected
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