Versions Compared

Key

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

...

CPU_INT16S	XXX_Open(CPU_INT16S  drv, 
                     CPU_INT32U  devName,
                     CPU_INT16U  mode);

CPU_INT32U devName,

CPU_INT16U mode);

Parameter

Meaning

drv

bus node name which must be used by the interrupt routine to access the can bus layer.

devName

device name which indicates the device within the controller

mode

not used

Return Value

Device identifier for success or -1 if an error occurs.

Note

...

Separation of bus node from driver device is necessary when different CAN modules are used, i.e. on a processor with integrated CAN module and also external CAN module(s).

...