 | RL-ARM User's Guide |  |
|
|
| ConfigurationCAN Generic ConfigurationThe following symbols specify CAN Generic Configuration related parameters and are located in CAN_Cfg.h file: - USE_CAN_CTRL1 .. USE_CAN_CTRL3 enables the CAN controller that will be used. To enable the CAN controller, set this value to 1.
The RL-CAN uses this information to reserve the memory pool and the memory for software FIFO buffers, as well as to enable interrupts for handling transmission and reception of CAN messages on the specified CAN controller.
#define USE_CAN_CTRL1 1
#define USE_CAN_CTRL2 1
#define USE_CAN_CTRL3 0
Using Configuration WizardFile CAN_Cfg.h edited with Configuration Wizard: 
|
|