Struct esp32c2_hal::systimer::SystemTimer
source · pub struct SystemTimer {
pub alarm0: Alarm<Target, 0>,
pub alarm1: Alarm<Target, 1>,
pub alarm2: Alarm<Target, 2>,
/* private fields */
}
Fields
alarm0: Alarm<Target, 0>
alarm1: Alarm<Target, 1>
alarm2: Alarm<Target, 2>
Implementations
sourceimpl SystemTimer
impl SystemTimer
pub const TICKS_PER_SECOND: u64 = 16_000_000u64
pub fn new(p: SYSTIMER) -> SystemTimer
pub fn now() -> u64
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SystemTimer
impl Send for SystemTimer
impl !Sync for SystemTimer
impl Unpin for SystemTimer
impl UnwindSafe for SystemTimer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more