Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
transceiver.h File Reference

Header file for CAN transceiver driver API. More...

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

Go to the source code of this file.

Data Structures

struct  can_transceiver_driver_api
  Driver Operations CAN Transceiver driver operations More...

Typedefs

typedef int(* can_transceiver_enable_t) (const struct device *dev, can_mode_t mode)
 Callback API upon enabling CAN transceiver.
typedef int(* can_transceiver_disable_t) (const struct device *dev)
 Callback API upon disabling CAN transceiver.

Functions

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

Detailed Description

Header file for CAN transceiver driver API.