Initializing the CAN Bus Manager
During the startup phase of the system, the CAN bus management must be initialized. This clears all CAN bus objects in the Can bus table.
Figure - CAN bus objects after initialization
The function
CanBusInit()
creates all needed OS data elements like queues, semaphores, etc.. and builds the internal CanBus Data Area.
Note: there is no access to any CAN controller in the system during this phase.