1#ifndef COMMS_SECONDARY_H
2#define COMMS_SECONDARY_H
4#define NEW_CAN_PACKET_SIZE 123
5#define CAN_PACKET_SIZE 75
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
15#define secondarySerial (*pSecondarySerial)
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