Speeduino
Loading...
Searching...
No Matches
speeduino
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
14
extern
SECONDARY_SERIAL_T
*
pSecondarySerial
;
15
#define secondarySerial (*pSecondarySerial)
16
17
void
secondserial_Command
(
void
);
//This is the heart of the Command Line Interpreter. All that needed to be done was to make it human readable.
18
void
sendCancommand
(
uint8_t
cmdtype
,
uint16_t
canadddress
,
uint8_t
candata1
,
uint8_t
candata2
,
uint16_t
sourcecanAddress
);
19
20
#endif
// COMMS_SECONDARY_H
SECONDARY_SERIAL_T
#define SECONDARY_SERIAL_T
Definition
board_avr2560.h:171
pSecondarySerial
SECONDARY_SERIAL_T * pSecondarySerial
Definition
comms_secondary.cpp:30
secondserial_Command
void secondserial_Command(void)
Definition
comms_secondary.cpp:38
sendCancommand
void sendCancommand(uint8_t cmdtype, uint16_t canadddress, uint8_t candata1, uint8_t candata2, uint16_t sourcecanAddress)
Definition
comms_secondary.cpp:157
array
Definition
array.h:14
Generated by
1.9.8