[−][src]Trait esb::peripherals::EsbTimer
Trait implemented for the nRF timer peripherals.
Required methods
fn init(&mut self)
Initialize the timer with a 1MHz rate.
fn set_interrupt_retransmit(&mut self, micros: u16)
Configures the timer's interrupt used for the retransmit, to fire after a given time in micro seconds.
fn clear_interrupt_retransmit(&mut self)
Acknowledges the retransmit interrupt.
fn is_retransmit_pending(&self) -> bool
Returns whether the retransmit interrupt is currently pending.
fn set_interrupt_ack(&mut self, micros: u16)
Configures the timer's interrupt used for the acknowledge timeout, to fire after a given time in micro seconds.
fn clear_interrupt_ack(&mut self)
Acknowledges the ack timeout interrupt.
fn is_ack_pending(&self) -> bool
Returns whether the ack timeout interrupt is currently pending.
fn stop(&mut self)
Stops the timer.