Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include "ca821x-posix-thread/posix-platform.h"
#include "openthread/platform/alarm-milli.h"
Macros | |
#define | _DEFAULT_SOURCE 1 |
#define | _POSIX_SOURCE 1 |
Functions | |
void | posixPlatformAlarmInit (void) |
This method initializes the alarm service used by OpenThread. More... | |
uint32_t | otPlatAlarmMilliGetNow (void) |
void | otPlatAlarmMilliStartAt (otInstance *aInstance, uint32_t t0, uint32_t dt) |
void | otPlatAlarmMilliStop (otInstance *aInstance) |
void | posixPlatformAlarmUpdateTimeout (struct timeval *aTimeout) |
This method retrieves the time remaining until the alarm fires. More... | |
void | posixPlatformAlarmProcess (otInstance *aInstance) |
This method performs alarm driver processing. More... | |
#define _DEFAULT_SOURCE 1 |
#define _POSIX_SOURCE 1 |
uint32_t otPlatAlarmMilliGetNow | ( | void | ) |
void otPlatAlarmMilliStartAt | ( | otInstance * | aInstance, |
uint32_t | t0, | ||
uint32_t | dt | ||
) |
void otPlatAlarmMilliStop | ( | otInstance * | aInstance | ) |
void posixPlatformAlarmInit | ( | void | ) |
This method initializes the alarm service used by OpenThread.
void posixPlatformAlarmProcess | ( | otInstance * | aInstance | ) |
This method performs alarm driver processing.
void posixPlatformAlarmUpdateTimeout | ( | struct timeval * | tv | ) |
This method retrieves the time remaining until the alarm fires.
[out] | tv | A pointer to the timeval struct. |