|
ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
|
Install a custom clock running at ticks_per_second; the library divides it down to its internal 1000 Hz. Pass (NULL, 0) to revert to the platform default.
More...
#include <clock.h>
Public Attributes | |
| protocore_clock_fn | fn |
| the source; NULL falls back to the platform's own | |
| uint32_t | ticks_per_second |
| its rate, divided down to the library's | |
Install a custom clock running at ticks_per_second; the library divides it down to its internal 1000 Hz. Pass (NULL, 0) to revert to the platform default.
A time source and the rate it counts at.
| protocore_clock_fn ClockSrcArgs::fn |
| uint32_t ClockSrcArgs::ticks_per_second |