...
Parameter | Meaning |
---|---|
devId | device identifier, returned by |
func | function code |
argp | optional function argument |
Additional Information
...
Function Code IO_< | Meaning | used by µCμC/CAN |
| set the bus baudrate | yes |
| configure the CAN receiver to receive only CAN standard identifiers. | no |
| configure the CAN receiver to receive only CAN extended identifiers. | yes* |
START | starts the CAN controller interface. Most common is to set the CAN controller in active mode | yes |
STOP | stop the CAN controller interface. Most common is to set the CAN controller in passive mode | yes |
| get the node status from the CAN controller | no** |
| get status if CAN controller is ready to send new CAN frame | yes |
...
** needed only if CanBusNSHandler()
is used.
Note: It’s Its possible that some CAN devices do not support the function codes RX_STANDARD
and RX_EXTENDED
(e.g. SJA1000) or that this filter setting must be done via other function codes, e.g. for LPC2xxx CAN device drivers this must be set via SET_xxx_FILTER function codes. Please see the appropriate CanDriverManual if the function code is supported.
...