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...
|
|
Detailed Description
Module to declare HAL timer interface.
Function Documentation
| uint64_t hal_time_get | ( | void | ) |
Reads microseconds passed since the device start.
- Returns
- time in microseconds since the device was launched.
| void hal_timer_start | ( | uint64_t | interval | ) |
Starts hardware timer.
- Parameters
-
[in] interval timer interval in microseconds for timer start.