Module to declare HAL timer interface. More...
Functions | |
void | hal_timer_init (void) |
Initializes hardware timer. | |
void | hal_timer_start (uint64_t interval) |
Starts hardware timer. More... | |
void | hal_timer_stop (void) |
Stops hardware timer. | |
uint64_t | hal_time_get (void) |
Reads microseconds passed since the device start. More... | |
Module to declare HAL timer interface.
uint64_t hal_time_get | ( | void | ) |
Reads microseconds passed since the device start.
void hal_timer_start | ( | uint64_t | interval | ) |
Starts hardware timer.
[in] | interval | timer interval in microseconds for timer start. |