Struct DataPacket
Defined in File uart_comm.h
Struct Documentation
-
struct DataPacket
Data packet structure for serial communication protocol.
This structure defines the format of commands sent from the host to the device. Each packet contains a command string and associated parameters for execution.
Public Members
-
char cmd[4]
3-character command string, null-terminated
-
uint32_t arg1
First argument for the command
-
uint32_t arg2
Second argument for the command
-
uint32_t ts_us
Timestamp for command execution in microseconds
-
uint32_t N
Number of times to run command (0 = forever)
-
uint32_t interv_us
Interval between command executions in microseconds
-
char cmd[4]