CAN module is added here. This is not the can protocol for communication
between CPU and COMM boards, but common CAN protocol that must be
extended in the future
It started not to compile at all without changing anything manually
Some libs were deleted (because they was added automatically)
Add protection agaist accessing to MBOX with number >31
in transmitMsg method
Add TPL configuration in configTX method
Clear some garbage
Replace #define to enum for safety reasons
Now config function takes as an arguments not only baudrate, but
flags for most significant bit and self teset mode initialization.
All parameters have a default value now
Add protection against access to MBOX with number > 31 in every
possible functions
Remove some old code
Add function for configuring system interrupts
Add interrupt that monitors the following errors:
EPIM - CAN module has entered “error passive” mode
WLIM - One or both error counters (TX and RX) are >= 96
AAIM - A transmission request was aborted
Delete some old code