21 lines
359 B
C
21 lines
359 B
C
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
//#include <linuxstruct_timespec.h>
|
|
#define __USE_ISOC11 1
|
|
#include <linux/time.h>
|
|
#include <math.h>
|
|
|
|
/**
|
|
* @brief struct used to stock binary 32 bits data from the captor
|
|
*
|
|
*/
|
|
typedef struct
|
|
{
|
|
uint8_t octet1;
|
|
uint8_t octet2;
|
|
uint8_t octet3;
|
|
uint8_t octet4;
|
|
} quartet;
|