Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
can_transceiver_driver_api Struct Reference

Driver Operations CAN Transceiver driver operations More...

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

Data Fields

can_transceiver_enable_t enable
  REQ Enable CAN transceiver.
can_transceiver_disable_t disable
  REQ Disable CAN transceiver.

Detailed Description

Driver Operations CAN Transceiver driver operations

This is the driver API structure any CAN Transceiver driver needs to define. It contains function pointers to the operations the driver implements, as well as any other driver-specific constant data.

Members marked with REQ MUST be set by the driver, whereas those marked with OPT are optional.

See also
DEVICE_DT_INST_DEFINE()
DEVICE_DT_DEFINE()
DEVICE_API()

Field Documentation

◆ disable

can_transceiver_disable_t can_transceiver_driver_api::disable

REQ Disable CAN transceiver.

◆ enable

can_transceiver_enable_t can_transceiver_driver_api::enable

REQ Enable CAN transceiver.


The documentation for this struct was generated from the following file: