Struct rp_pac::ticks::regs::Proc0cycles
source · #[repr(transparent)]pub struct Proc0cycles(pub u32);
Tuple Fields§
§0: u32
Implementations§
source§impl Proc0cycles
impl Proc0cycles
sourcepub const fn proc0_cycles(&self) -> u16
pub const fn proc0_cycles(&self) -> u16
Total number of clk_tick cycles before the next tick.
sourcepub fn set_proc0_cycles(&mut self, val: u16)
pub fn set_proc0_cycles(&mut self, val: u16)
Total number of clk_tick cycles before the next tick.
Trait Implementations§
source§impl Clone for Proc0cycles
impl Clone for Proc0cycles
source§fn clone(&self) -> Proc0cycles
fn clone(&self) -> Proc0cycles
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 Proc0cycles
impl Default for Proc0cycles
source§fn default() -> Proc0cycles
fn default() -> Proc0cycles
Returns the “default value” for a type. Read more
source§impl PartialEq for Proc0cycles
impl PartialEq for Proc0cycles
impl Copy for Proc0cycles
impl Eq for Proc0cycles
impl StructuralPartialEq for Proc0cycles
Auto Trait Implementations§
impl Freeze for Proc0cycles
impl RefUnwindSafe for Proc0cycles
impl Send for Proc0cycles
impl Sync for Proc0cycles
impl Unpin for Proc0cycles
impl UnwindSafe for Proc0cycles
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
)