Struct rp_pac::clocks::regs::ClkPeriSelected
source · #[repr(transparent)]pub struct ClkPeriSelected(pub u32);
Expand description
Indicates which src is currently selected (one-hot)
Tuple Fields§
§0: u32
Implementations§
source§impl ClkPeriSelected
impl ClkPeriSelected
sourcepub const fn clk_peri_selected(&self) -> bool
pub const fn clk_peri_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_peri_selected(&mut self, val: bool)
pub fn set_clk_peri_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 ClkPeriSelected
impl Clone for ClkPeriSelected
source§fn clone(&self) -> ClkPeriSelected
fn clone(&self) -> ClkPeriSelected
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 Default for ClkPeriSelected
impl Default for ClkPeriSelected
source§fn default() -> ClkPeriSelected
fn default() -> ClkPeriSelected
Returns the “default value” for a type. Read more
source§impl PartialEq for ClkPeriSelected
impl PartialEq for ClkPeriSelected
impl Copy for ClkPeriSelected
impl Eq for ClkPeriSelected
impl StructuralPartialEq for ClkPeriSelected
Auto Trait Implementations§
impl Freeze for ClkPeriSelected
impl RefUnwindSafe for ClkPeriSelected
impl Send for ClkPeriSelected
impl Sync for ClkPeriSelected
impl Unpin for ClkPeriSelected
impl UnwindSafe for ClkPeriSelected
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)