Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
ticker_event_queue_t Struct Reference
[Hal]
Ticker's event queue structure. More...
#include <ticker_api.h>
Data Fields | |
| ticker_event_handler | event_handler |
| Event handler. | |
| ticker_event_t * | head |
| A pointer to head. | |
| uint32_t | frequency |
| Frequency of the timer in Hz. | |
| uint32_t | bitmask |
| Mask to be applied to time values read. | |
| uint32_t | max_delta |
| Largest delta in ticks that can be used when scheduling. | |
| uint64_t | max_delta_us |
| Largest delta in us that can be used when scheduling. | |
| uint32_t | tick_last_read |
| Last tick read. | |
| uint64_t | tick_remainder |
| Ticks that have not been added to base_time. | |
| us_timestamp_t | present_time |
| Store the timestamp used for present time. | |
| bool | initialized |
| Indicate if the instance is initialized. | |
| bool | dispatching |
| The function ticker_irq_handler is dispatching. | |
| bool | suspended |
| Indicate if the instance is suspended. | |
| uint8_t | frequency_shifts |
| If frequency is a value of 2^n, this is n, otherwise 0. | |
Detailed Description
Ticker's event queue structure.
Definition at line 73 of file ticker_api.h.
Field Documentation
| uint32_t bitmask |
Mask to be applied to time values read.
Definition at line 77 of file ticker_api.h.
| bool dispatching |
The function ticker_irq_handler is dispatching.
Definition at line 84 of file ticker_api.h.
| ticker_event_handler event_handler |
Event handler.
Definition at line 74 of file ticker_api.h.
| uint32_t frequency |
Frequency of the timer in Hz.
Definition at line 76 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 86 of file ticker_api.h.
A pointer to head.
Definition at line 75 of file ticker_api.h.
| bool initialized |
Indicate if the instance is initialized.
Definition at line 83 of file ticker_api.h.
| uint32_t max_delta |
Largest delta in ticks that can be used when scheduling.
Definition at line 78 of file ticker_api.h.
| uint64_t max_delta_us |
Largest delta in us that can be used when scheduling.
Definition at line 79 of file ticker_api.h.
Store the timestamp used for present time.
Definition at line 82 of file ticker_api.h.
| bool suspended |
Indicate if the instance is suspended.
Definition at line 85 of file ticker_api.h.
| uint32_t tick_last_read |
Last tick read.
Definition at line 80 of file ticker_api.h.
| uint64_t tick_remainder |
Ticks that have not been added to base_time.
Definition at line 81 of file ticker_api.h.
Generated on Tue Jul 12 2022 13:34:18 by
1.7.2