Versions Compared

Key

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

Enabling the CAN bus interface means, that the CAN controller will go in active mode and will be ready for communication. The CAN Bus that we configured in the previous section will be the source of our example. (For more the previous section info on how to configure the CAN Bus, click Here). 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.

...