Speeduino
Loading...
Searching...
No Matches
Macros | Functions | Variables
comms_secondary.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NEW_CAN_PACKET_SIZE   123
 
#define CAN_PACKET_SIZE   75
 
#define SECONDARY_SERIAL_PROTO_GENERIC_FIXED   0
 
#define SECONDARY_SERIAL_PROTO_GENERIC_INI   1
 
#define SECONDARY_SERIAL_PROTO_CAN   2
 
#define SECONDARY_SERIAL_PROTO_MSDROID   3
 
#define SECONDARY_SERIAL_PROTO_REALDASH   4
 
#define SECONDARY_SERIAL_PROTO_TUNERSTUDIO   5
 
#define secondarySerial   (*pSecondarySerial)
 

Functions

void secondserial_Command (void)
 
void sendCancommand (uint8_t cmdtype, uint16_t canadddress, uint8_t candata1, uint8_t candata2, uint16_t sourcecanAddress)
 

Variables

SECONDARY_SERIAL_TpSecondarySerial
 

Macro Definition Documentation

◆ CAN_PACKET_SIZE

#define CAN_PACKET_SIZE   75

◆ NEW_CAN_PACKET_SIZE

#define NEW_CAN_PACKET_SIZE   123

◆ SECONDARY_SERIAL_PROTO_CAN

#define SECONDARY_SERIAL_PROTO_CAN   2

◆ SECONDARY_SERIAL_PROTO_GENERIC_FIXED

#define SECONDARY_SERIAL_PROTO_GENERIC_FIXED   0

◆ SECONDARY_SERIAL_PROTO_GENERIC_INI

#define SECONDARY_SERIAL_PROTO_GENERIC_INI   1

◆ SECONDARY_SERIAL_PROTO_MSDROID

#define SECONDARY_SERIAL_PROTO_MSDROID   3

◆ SECONDARY_SERIAL_PROTO_REALDASH

#define SECONDARY_SERIAL_PROTO_REALDASH   4

◆ SECONDARY_SERIAL_PROTO_TUNERSTUDIO

#define SECONDARY_SERIAL_PROTO_TUNERSTUDIO   5

◆ secondarySerial

#define secondarySerial   (*pSecondarySerial)

Function Documentation

◆ secondserial_Command()

void secondserial_Command ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendCancommand()

void sendCancommand ( uint8_t  cmdtype,
uint16_t  canadddress,
uint8_t  candata1,
uint8_t  candata2,
uint16_t  sourcecanAddress 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ pSecondarySerial

SECONDARY_SERIAL_T* pSecondarySerial
extern