Struct rp_pac::clocks::regs::ClkGpout0selected
source · #[repr(transparent)]pub struct ClkGpout0selected(pub u32);
Expand description
Indicates which src is currently selected (one-hot)
Tuple Fields§
§0: u32
Implementations§
source§impl ClkGpout0selected
impl ClkGpout0selected
sourcepub const fn clk_gpout0_selected(&self) -> bool
pub const fn clk_gpout0_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_gpout0_selected(&mut self, val: bool)
pub fn set_clk_gpout0_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 ClkGpout0selected
impl Clone for ClkGpout0selected
source§fn clone(&self) -> ClkGpout0selected
fn clone(&self) -> ClkGpout0selected
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 ClkGpout0selected
impl Default for ClkGpout0selected
source§fn default() -> ClkGpout0selected
fn default() -> ClkGpout0selected
Returns the “default value” for a type. Read more
source§impl PartialEq for ClkGpout0selected
impl PartialEq for ClkGpout0selected
impl Copy for ClkGpout0selected
impl Eq for ClkGpout0selected
impl StructuralPartialEq for ClkGpout0selected
Auto Trait Implementations§
impl Freeze for ClkGpout0selected
impl RefUnwindSafe for ClkGpout0selected
impl Send for ClkGpout0selected
impl Sync for ClkGpout0selected
impl Unpin for ClkGpout0selected
impl UnwindSafe for ClkGpout0selected
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
)