Disabling the CAN Bus

To stop or reconfigure the CAN bus communication, the CAN controller must be stopped with the corresponding bus identifier.


Figure - Disabling the CAN bus


  1. The function CanBusDisable() is called with the unique CAN bus identifier which selects the object in the CAN bus table
  2. After checking, that the CAN bus object is in use, the lowlevel device driver functions IoCtl() and Close() are used to set the bus in passive mode and free the device lock.
  3. The object link to the configuration parameter structure is removed.