Versions Compared

Key

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

Now that CAN Signals and Messages have been defined and configured, it is time to initialize them in the application. Please refer to the previous section if CAN Signals and Messages haven't been defined and configured. The following code snippets are taken from can_demo.c found in $:\Micrium\Software\uC-CAN\Examples\<OS> where 'OS' is either NONE (for No-OS), uCOS-II or uCOS-III.

Initialization and Creation
Anchor
ex_init_can_sig&msgs_Init&creation
ex_init_can_sig&msgs_Init&creation

Before using CAN Signals and Messages, both Signals and Messages should be initialized and created during Startup. 

...