ztimer mock clock backend API More...
ztimer mock clock backend API
Definition in file mock.h.
Go to the source code of this file.
Data Structures | |
struct | ztimer_mock_t |
ztimer mock clock class More... | |
Functions | |
void | ztimer_mock_advance (ztimer_mock_t *self, uint32_t val) |
Advance the mock clock counter and update target. | |
void | ztimer_mock_jump (ztimer_mock_t *self, uint32_t target) |
Set the mock clock counter value without updating timer target. | |
void | ztimer_mock_fire (ztimer_mock_t *self) |
Trigger the timer handlers. | |
void | ztimer_mock_init (ztimer_mock_t *self, unsigned width) |
Constructor. | |