This module includes the platform abstraction for the microsecond alarm service.
More...
|
typedef void(* | otPlatUsecAlarmHandler )(void *aContext) |
|
This module includes the platform abstraction for the microsecond alarm service.
Get the current time.
- Parameters
-
[out] | aNow | The current time in milliseconds and microseconds. |
Set the alarm to fire at aDt
milliseconds and microseconds after aT0
.
- Parameters
-
[in] | aInstance | The OpenThread instance structure. |
[in] | aT0 | The reference time. |
[in] | aDt | The time delay in milliseconds and microseconds from aT0 . |
[in] | aHandler | A pointer to a function that is called when the timer expires. |
[in] | aContext | A pointer to arbitrary context information. |
void otPlatUsecAlarmStop |
( |
otInstance * |
aInstance | ) |
|
Stop the alarm.
- Parameters
-
[in] | aInstance | The OpenThread instance structure. |