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