/
CanBusDisable
CanBusDisable
Description
This function checks, if a CAN bus data element is in use. If so, the CAN bus will be closed with the low level device driver, e.g. the CAN device will be set to a bus off state.
Prototype
CPU_INT16S CanBusDisable(CPU_INT
16S busId);
Parameter | Meaning |
---|---|
| Unique bus identifier |
Return Value
One of the following error codes is returned: CAN_ERR_NONE
, CAN_ERR_BUSID
or CAN_ERR_NULLPTR
.
Related content
CanBusEnable
CanBusEnable
More like this
CanBusInit
CanBusInit
More like this
CanBusIoCtl
CanBusIoCtl
More like this
CanBusRxHandler
CanBusRxHandler
More like this
CanMsgInit
CanMsgInit
More like this
CanBusNSHandler
CanBusNSHandler
More like this