Upload files to "/"
This commit is contained in:
30
types.h
Normal file
30
types.h
Normal file
@@ -0,0 +1,30 @@
|
||||
// types.h - Common data structures for ESP32-S3 CAN FD Logger
|
||||
|
||||
#ifndef TYPES_H
|
||||
#define TYPES_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
struct CanFrame {
|
||||
uint64_t timestamp;
|
||||
uint32_t id;
|
||||
uint8_t len;
|
||||
uint8_t flags;
|
||||
uint8_t data[64];
|
||||
};
|
||||
|
||||
struct CanTxRequest {
|
||||
uint32_t id;
|
||||
uint8_t len;
|
||||
uint8_t data[64];
|
||||
uint32_t delay_ms;
|
||||
uint32_t repeat_count;
|
||||
};
|
||||
|
||||
struct GraphSignal {
|
||||
char signal_id[32];
|
||||
float value;
|
||||
uint32_t timestamp;
|
||||
};
|
||||
|
||||
#endif // TYPES_H
|
||||
Reference in New Issue
Block a user