2022-04-07 17:31:01 +02:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <stdint.h>
|
2022-05-30 12:54:56 +02:00
|
|
|
#include <stdlib.h>
|
2022-06-21 15:13:10 +02:00
|
|
|
//#include <linuxstruct_timespec.h>
|
|
|
|
#define __USE_ISOC11 1
|
|
|
|
#include <linux/time.h>
|
2022-05-31 17:42:26 +02:00
|
|
|
#include <math.h>
|
2022-05-30 18:01:28 +02:00
|
|
|
|
2022-06-09 17:34:24 +02:00
|
|
|
/**
|
|
|
|
* @brief struct used to stock binary 32 bits data from the captor
|
2022-06-21 15:13:10 +02:00
|
|
|
*
|
2022-06-09 17:34:24 +02:00
|
|
|
*/
|
2022-06-21 15:13:10 +02:00
|
|
|
typedef struct
|
|
|
|
{
|
2022-04-07 17:31:01 +02:00
|
|
|
uint8_t octet1;
|
|
|
|
uint8_t octet2;
|
|
|
|
uint8_t octet3;
|
|
|
|
uint8_t octet4;
|
|
|
|
} quartet;
|