pub struct Ticks { /* private fields */ }
Implementations§
source§impl Ticks
impl Ticks
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
sourcepub const fn proc0_ctrl(self) -> Reg<Proc0ctrl, RW>
pub const fn proc0_ctrl(self) -> Reg<Proc0ctrl, RW>
Controls the tick generator
pub const fn proc0_cycles(self) -> Reg<Proc0cycles, RW>
pub const fn proc0_count(self) -> Reg<Proc0count, RW>
sourcepub const fn proc1_ctrl(self) -> Reg<Proc1ctrl, RW>
pub const fn proc1_ctrl(self) -> Reg<Proc1ctrl, RW>
Controls the tick generator
pub const fn proc1_cycles(self) -> Reg<Proc1cycles, RW>
pub const fn proc1_count(self) -> Reg<Proc1count, RW>
sourcepub const fn timer0_ctrl(self) -> Reg<Timer0ctrl, RW>
pub const fn timer0_ctrl(self) -> Reg<Timer0ctrl, RW>
Controls the tick generator
pub const fn timer0_cycles(self) -> Reg<Timer0cycles, RW>
pub const fn timer0_count(self) -> Reg<Timer0count, RW>
sourcepub const fn timer1_ctrl(self) -> Reg<Timer1ctrl, RW>
pub const fn timer1_ctrl(self) -> Reg<Timer1ctrl, RW>
Controls the tick generator
pub const fn timer1_cycles(self) -> Reg<Timer1cycles, RW>
pub const fn timer1_count(self) -> Reg<Timer1count, RW>
sourcepub const fn watchdog_ctrl(self) -> Reg<WatchdogCtrl, RW>
pub const fn watchdog_ctrl(self) -> Reg<WatchdogCtrl, RW>
Controls the tick generator
pub const fn watchdog_cycles(self) -> Reg<WatchdogCycles, RW>
pub const fn watchdog_count(self) -> Reg<WatchdogCount, RW>
sourcepub const fn riscv_ctrl(self) -> Reg<RiscvCtrl, RW>
pub const fn riscv_ctrl(self) -> Reg<RiscvCtrl, RW>
Controls the tick generator
pub const fn riscv_cycles(self) -> Reg<RiscvCycles, RW>
pub const fn riscv_count(self) -> Reg<RiscvCount, RW>
Trait Implementations§
impl Copy for Ticks
impl Eq for Ticks
impl Send for Ticks
impl StructuralPartialEq for Ticks
impl Sync for Ticks
Auto Trait Implementations§
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
)