macro_rules! systick_monotonic { ($name:ident) => { ... }; ($name:ident, $tick_rate_hz:expr) => { ... }; }
Expand description
Create a Systick based monotonic and register the Systick interrupt for it.
See crate::systick
for more details.
ยงArguments
name
- The name that the monotonic type will have.tick_rate_hz
- The tick rate of the timer peripheral. Can be omitted; defaults to 1kHz.