AWS IoT FreeRTOS+POSIX
FreeRTOS_POSIX_utils.c File Reference

Implementation of utility functions in utils.h. More...

#include <stddef.h>
#include "FreeRTOS_POSIX.h"
#include "FreeRTOS_POSIX/errno.h"
#include "FreeRTOS_POSIX/utils.h"

Macros

#define NANOSECONDS_PER_SECOND   ( 1000000000LL )
 
#define NANOSECONDS_PER_TICK   ( NANOSECONDS_PER_SECOND / configTICK_RATE_HZ )
 

Detailed Description

Implementation of utility functions in utils.h.

Macro Definition Documentation

◆ NANOSECONDS_PER_SECOND

#define NANOSECONDS_PER_SECOND   ( 1000000000LL )

Nanoseconds per second.

◆ NANOSECONDS_PER_TICK

#define NANOSECONDS_PER_TICK   ( NANOSECONDS_PER_SECOND / configTICK_RATE_HZ )

Nanoseconds per FreeRTOS tick.