This module includes the platform abstraction for the time service.

Functions

uint64_t otPlatTimeGet (void)
Get the current time (64bits width).
uint16_t otPlatTimeGetXtalAccuracy (void)
Get the device's XTAL accuracy.

Detailed Description

This module includes the platform abstraction for the time service.

Function Documentation

otPlatTimeGet()

uint64_t otPlatTimeGet ( void )

Get the current time (64bits width).

Returns
The current time in microseconds.

otPlatTimeGetXtalAccuracy()

uint16_t otPlatTimeGetXtalAccuracy ( void )

Get the device's XTAL accuracy.

Returns
The device's XTAL accuracy, in ppm.