Struct esp32c2_hal::systimer::Alarm
source · pub struct Alarm<MODE, const CHANNEL: u8> { /* private fields */ }
Implementations§
source§impl<T, const CHANNEL: u8> Alarm<T, CHANNEL>
impl<T, const CHANNEL: u8> Alarm<T, CHANNEL>
pub fn enable_interrupt(&self, val: bool)
pub fn clear_interrupt(&self)
source§impl<const CHANNEL: u8> Alarm<Target, CHANNEL>
impl<const CHANNEL: u8> Alarm<Target, CHANNEL>
pub fn set_target(&self, timestamp: u64)
pub fn into_periodic(self) -> Alarm<Periodic, CHANNEL>
Trait Implementations§
Auto Trait Implementations§
impl<MODE, const CHANNEL: u8> RefUnwindSafe for Alarm<MODE, CHANNEL>where MODE: RefUnwindSafe,
impl<MODE, const CHANNEL: u8> Send for Alarm<MODE, CHANNEL>where MODE: Send,
impl<MODE, const CHANNEL: u8> Sync for Alarm<MODE, CHANNEL>where MODE: Sync,
impl<MODE, const CHANNEL: u8> Unpin for Alarm<MODE, CHANNEL>where MODE: Unpin,
impl<MODE, const CHANNEL: u8> UnwindSafe for Alarm<MODE, CHANNEL>where MODE: UnwindSafe,
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