Expand description
Wrappers around the Cortex-M SysTick peripheral for making
embedded_hal::timer::CountDown
instances.
The CountDown trait is by default non-blocking, but can be made blocking
with nb::block!.
§Usage
Create an instance of PollingSysTick after
you have configured your clocks. It consumes the SYST peripheral in order
to get exclusive control over it.
You can use the embedded_hal::blocking::delay::DelayMs
trait
on PollingSysTick directly, or you can use PollingSysTick to make
MillisCountDown instances that are independent, non-blocking
counters.
Structs§
- Millis
Count Down CountDownthat uses an underlyingCountsMillis(probablyPollingSysTick).- Polling
SysTick - Millisecond counter based on SysTick
- SysTick
Calibration - Configuration information for setting the SysTick reload value.
Traits§
- Counts
Millis - Trait that abstracts a counter that increases as milliseconds go by.