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_INT16S busId);

Parameter

Meaning

busId

Unique bus identifier

Return Value

One of the following error codes is returned: CAN_ERR_NONE, CAN_ERR_BUSID or CAN_ERR_NULLPTR.