Versions Compared

Key

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

...

Source code (Application Startup):

Description

...

  1. Initialize the CAN signal layer

...

  1. If dynamic signal handling is enabled loop through all constant CAN signal parameter list and create the signals

...

  1. Initialize the CAN message layer

...

  1. Loop through all constant CAN message parameter list and create the messages

...

  1. Start the communication bus as described in chapter 6.2 Enable the CAN bus

Source code (Application Task)

...

Description

...

  1. Anywhere in your application the write access to the CAN signal is possible.

...

  1. This function will send the status message to the CAN bus. The source code of the function is shown below.

...

  1. This callback-function is included in the signal configuration parameter list for the signal status. The function is called, when the change of the signal value is detected.

...

  1. The parameter CallbackId is used to identify where this callback-function was called from.

...

  1. The parameter NewVal holds the new CAN signal value and is used to determine the required start / stop action of the Load-Task.