1. Now method takes Uint62 instead of Uint32
2. Comment TA bit checking for not potentially make processor to stand in
endless loop if there is no answer from another node
3. The method do not set data lenght now. It should be set when MBOX
configuring
1. Add an arbitrator class to control all necessary periphery
main2.cpp represents it usage.
main.cpp without periphery class.
2. Add XINTF init and DigitalIO interface
3. Change DI/O MBOX length to 2 bytes instead of 3
1. Add new methods for update and receive. It is become possiple
to work with Uint32.
2. ADD changes in ConfigTX method. It determines data length
of a MBOX now as well
1. Change receiveMsg. Now it returns int16 with error identification
2. Change CANMessage structure. Now it only has dataLenght variable
instead of previos MsgCtrlReg union
3. Change MsgCtrlReg. Add an OPC flag in it
4. Change configRxMBox method. Overwrite protection enabling is
added
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