nRF5 SDK v17.1.0
Functions

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]intervaltimer interval in microseconds for timer start.

Documentation feedback | Developer Zone | Subscribe | Updated