mn_timespan.cpp File Reference
#include "mn_config.hpp"
#include "mn_timespan.hpp"
#include <stdio.h>
#include <sys/time.h>
#include <ctime>
#include <freertos/FreeRTOS.h>

Namespaces

 mn
 

Macros

#define _MINILIB_TIMEDIFF_MILLISECONDS   1000
 The number of microseconds in a millisecond. More...
 
#define _MINILIB_TIMEDIFF_SECONDS   1000000
 The number of microseconds in a seconds. More...
 
#define _MINILIB_TIMEDIFF_MINUTES   60000000
 The number of microseconds in a minute. More...
 
#define _MINILIB_TIMEDIFF_HOURS   3600000000
 The number of microseconds in a hour. More...
 
#define _MINILIB_TIMEDIFF_DAYS   86400000000
 The number of microseconds in a day. More...
 

Macro Definition Documentation

◆ _MINILIB_TIMEDIFF_DAYS

#define _MINILIB_TIMEDIFF_DAYS   86400000000

The number of microseconds in a day.

Note
(24 * HOUR)

◆ _MINILIB_TIMEDIFF_HOURS

#define _MINILIB_TIMEDIFF_HOURS   3600000000

The number of microseconds in a hour.

Note
(60 * MINUTES)

◆ _MINILIB_TIMEDIFF_MILLISECONDS

#define _MINILIB_TIMEDIFF_MILLISECONDS   1000

The number of microseconds in a millisecond.

◆ _MINILIB_TIMEDIFF_MINUTES

#define _MINILIB_TIMEDIFF_MINUTES   60000000

The number of microseconds in a minute.

Note
(60 * SECONDS)

◆ _MINILIB_TIMEDIFF_SECONDS

#define _MINILIB_TIMEDIFF_SECONDS   1000000

The number of microseconds in a seconds.

Note
(1000 * MILLISECONDS)