NimBLE-Arduino 2.1.2
|
#include <hal_timer.h>
Public Attributes | |
void * | bsp_timer |
hal_timer_cb | cb_func |
void * | cb_arg |
uint32_t | expiry |
The HAL timer structure. The user can declare as many of these structures as desired. They are enqueued on a particular HW timer queue when the user calls the :c:func:hal_timer_start()
or :c:func:hal_timer_start_at()
API. The user must have called :c:func:hal_timer_set_cb()
before starting a timer.
NOTE: the user should not have to modify/examine the contents of this structure; the hal timer API should be used.
void* hal_timer::bsp_timer |
Internal platform specific pointer
void* hal_timer::cb_arg |
Callback argument
hal_timer_cb hal_timer::cb_func |
Callback function
uint32_t hal_timer::expiry |
Tick at which timer should expire