Speeduino
Loading...
Searching...
No Matches
comms_secondary.h
Go to the documentation of this file.
1#ifndef COMMS_SECONDARY_H
2#define COMMS_SECONDARY_H
3
4#define NEW_CAN_PACKET_SIZE 123
5#define CAN_PACKET_SIZE 75
6
7#define SECONDARY_SERIAL_PROTO_GENERIC_FIXED 0
8#define SECONDARY_SERIAL_PROTO_GENERIC_INI 1
9#define SECONDARY_SERIAL_PROTO_CAN 2
10#define SECONDARY_SERIAL_PROTO_MSDROID 3
11#define SECONDARY_SERIAL_PROTO_REALDASH 4
12#define SECONDARY_SERIAL_PROTO_TUNERSTUDIO 5
13
15#define secondarySerial (*pSecondarySerial)
16
17void secondserial_Command(void);//This is the heart of the Command Line Interpreter. All that needed to be done was to make it human readable.
19
20#endif // COMMS_SECONDARY_H
SECONDARY_SERIAL_T * pSecondarySerial
Definition comms_secondary.cpp:30
void secondserial_Command(void)
Definition comms_secondary.cpp:38
void sendCancommand(uint8_t cmdtype, uint16_t canadddress, uint8_t candata1, uint8_t candata2, uint16_t sourcecanAddress)
Definition comms_secondary.cpp:160
static uint32_t rshift(uint32_t a)
Bitwise right shift - generic, unoptimized, case.
Definition bit_shifts.h:349