Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Disabling the CAN Bus

To stop or reconfigure the CAN bus communication, the CAN controller must be stopped with the corresponding bus identifier.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.