SAE Teensy ECU
IIT SAE Microcontroller programming
Loading...
Searching...
No Matches
CanBusAddresses.def File Reference

Define incoming CAN line addresses. More...

Go to the source code of this file.

Macros

#define CAN_ADDRESS
 Defines the Can bus addresses that will be used to receive and send data.
 

Detailed Description

Define incoming CAN line addresses.

Author
IR
Version
0.2
Date
2020-11-15

Definition in file CanBusAddresses.def.

Macro Definition Documentation

◆ CAN_ADDRESS

#define CAN_ADDRESS

Defines the Can bus addresses that will be used to receive and send data.

Every definition is given a direction denoting whether it is incoming(INPUT) or outgoing(OUTPUT)

CANPIN can also be used for direction, this simply reserves the address and ensures it is used for canpins

Unless it is the last entry, this is how to add a new message

X(CAN address, direction) \

Only the last entry should NOT have a '\'

Note
Currently, address 0xFFFFFFFF cannot be used

Definition at line 81 of file CanBusAddresses.def.