Struct nrf51_hal::timer::Timer
[−]
[src]
pub struct Timer(_);
Methods
impl Timer
[src]
Trait Implementations
impl CountDown for Timer
[src]
type Time = Duration
The unit of time used by this timer
fn start<T>(&mut self, count: T) where
T: Into<Self::Time>,
[src]
T: Into<Self::Time>,
Starts a new count down
fn wait(&mut self) -> Result<(), !>
[src]
Non-blockingly "waits" until the count down finishes Read more