Zephyr Project API  3.2.0
A Scalable Open Source RTOS
CAN Transceiver

CAN Transceiver Driver APIs. More...

Functions

static int can_transceiver_enable (const struct device *dev)
 Enable CAN transceiver. More...
 
static int can_transceiver_disable (const struct device *dev)
 Disable CAN transceiver. More...
 

Detailed Description

CAN Transceiver Driver APIs.

Function Documentation

◆ can_transceiver_disable()

static int can_transceiver_disable ( const struct device dev)
inlinestatic

#include <include/zephyr/drivers/can/transceiver.h>

Disable CAN transceiver.

Disable the CAN transceiver.

Note
The CAN transceiver is controlled by the CAN controller driver and should not normally be controlled by the application.
See also
can_stop()
Parameters
devPointer to the device structure for the driver instance.
Return values
0If successful.
-EIOGeneral input/output error, failed to disable device.

◆ can_transceiver_enable()

static int can_transceiver_enable ( const struct device dev)
inlinestatic

#include <include/zephyr/drivers/can/transceiver.h>

Enable CAN transceiver.

Enable the CAN transceiver.

Note
The CAN transceiver is controlled by the CAN controller driver and should not normally be controlled by the application.
See also
can_start()
Parameters
devPointer to the device structure for the driver instance.
Return values
0If successful.
-EIOGeneral input/output error, failed to enable device.