Z-Wave Protocol Controller Reference
zwapi_timestamp.c File Reference
#include <stdlib.h>
#include <time.h>
#include "zwapi_timestamp.h"
#include <assert.h>
#include <stdbool.h>
#include "sl_log.h"
Include dependency graph for zwapi_timestamp.c:

Functions

void zwapi_timestamp_get (zwapi_timestamp_t *timestamp, int period_ms)
 get the timestamp More...
 
bool zwapi_is_timestamp_elapsed (const zwapi_timestamp_t *timestamp_1)
 compare the current timestamp with the timestamp passed as an argument More...
 

Function Documentation

◆ zwapi_is_timestamp_elapsed()

bool zwapi_is_timestamp_elapsed ( const zwapi_timestamp_t timestamp)

compare the current timestamp with the timestamp passed as an argument

Parameters
timestamp
Returns
true if the timestamp is greater than the current timestamp
Here is the caller graph for this function:

◆ zwapi_timestamp_get()

void zwapi_timestamp_get ( zwapi_timestamp_t timestamp,
int  period_ms 
)

get the timestamp

Parameters
timestamp
period_ms
Here is the caller graph for this function: