Ticker's event queue structure. More...
#include <ticker_api.h>
Data Fields | |
| ticker_event_handler | event_handler |
| Event handler. More... | |
| ticker_event_t * | head |
| A pointer to head. More... | |
| uint32_t | frequency |
| Frequency of the timer in Hz. More... | |
| uint32_t | bitmask |
| Mask to be applied to time values read. More... | |
| uint32_t | max_delta |
| Largest delta in ticks that can be used when scheduling. More... | |
| uint64_t | max_delta_us |
| Largest delta in us that can be used when scheduling. More... | |
| uint32_t | tick_last_read |
| Last tick read. More... | |
| uint64_t | tick_remainder |
| Ticks that have not been added to base_time. More... | |
| us_timestamp_t | present_time |
| Store the timestamp used for present time. More... | |
| bool | initialized |
| Indicate if the instance is initialized. More... | |
| bool | dispatching |
| The function ticker_irq_handler is dispatching. More... | |
| bool | suspended |
| Indicate if the instance is suspended. More... | |
| uint8_t | frequency_shifts |
| If frequency is a value of 2^n, this is n, otherwise 0. More... | |
Ticker's event queue structure.
Definition at line 75 of file ticker_api.h.
| uint32_t bitmask |
Mask to be applied to time values read.
Definition at line 79 of file ticker_api.h.
| bool dispatching |
The function ticker_irq_handler is dispatching.
Definition at line 86 of file ticker_api.h.
| ticker_event_handler event_handler |
Event handler.
Definition at line 76 of file ticker_api.h.
| uint32_t frequency |
Frequency of the timer in Hz.
Definition at line 78 of file ticker_api.h.
| uint8_t frequency_shifts |
If frequency is a value of 2^n, this is n, otherwise 0.
Definition at line 88 of file ticker_api.h.
| ticker_event_t* head |
A pointer to head.
Definition at line 77 of file ticker_api.h.
| bool initialized |
Indicate if the instance is initialized.
Definition at line 85 of file ticker_api.h.
| uint32_t max_delta |
Largest delta in ticks that can be used when scheduling.
Definition at line 80 of file ticker_api.h.
| uint64_t max_delta_us |
Largest delta in us that can be used when scheduling.
Definition at line 81 of file ticker_api.h.
| us_timestamp_t present_time |
Store the timestamp used for present time.
Definition at line 84 of file ticker_api.h.
| bool suspended |
Indicate if the instance is suspended.
Definition at line 87 of file ticker_api.h.
| uint32_t tick_last_read |
Last tick read.
Definition at line 82 of file ticker_api.h.
| uint64_t tick_remainder |
Ticks that have not been added to base_time.
Definition at line 83 of file ticker_api.h.