Struct stm32f4xx_hal::timer::delay::SysDelay
source · pub struct SysDelay(/* private fields */);
Expand description
Timer as a delay provider (SysTick by default)
Implementations§
Methods from Deref<Target = Timer<SYST>>§
pub fn configure(&mut self, clocks: &Clocks)
pub fn configure_external(&mut self, clocks: &Clocks)
pub fn configure(&mut self, clocks: &Clocks)
pub fn set_master_mode(&mut self, mode: TIM::Mms)
Trait Implementations§
source§impl Delay<1000000> for SysDelay
impl Delay<1000000> for SysDelay
§type Error = Infallible
type Error = Infallible
An error that might happen during waiting
source§impl DelayNs for SysDelay
impl DelayNs for SysDelay
source§fn delay_ns(&mut self, ns: u32)
fn delay_ns(&mut self, ns: u32)
Pauses execution for at minimum
ns
nanoseconds. Pause can be longer
if the implementation requires it due to precision/timing issues.Auto Trait Implementations§
impl RefUnwindSafe for SysDelay
impl Send for SysDelay
impl !Sync for SysDelay
impl Unpin for SysDelay
impl UnwindSafe for SysDelay
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