EaserCAT-7000 initial

This commit is contained in:
Hakan Bastedt
2025-02-08 11:41:29 +01:00
parent c410207d52
commit dda9d3bf20
59 changed files with 185416 additions and 2187 deletions

View File

@@ -0,0 +1,14 @@
#ifndef EXTEND32TO64
#define EXTEND32TO54
#include <Arduino.h>
class extend32to64
{
public:
int64_t previousTimeValue = 0;
const uint64_t ONE_PERIOD = 4294967296; // almost UINT32_MAX;
const uint64_t HALF_PERIOD = 2147483648; // Half of that
int64_t extendTime(uint32_t in);
};
#endif