8#ifndef ZEPHYR_INCLUDE_ZEPHYR_DRIVERS_LIN_TRANSCEIVER_H
9#define ZEPHYR_INCLUDE_ZEPHYR_DRIVERS_LIN_TRANSCEIVER_H
51typedef int (*lin_transceiver_disable_t)(
const struct device *dev);
56__subsystem
struct lin_transceiver_driver_api {
58 lin_transceiver_enable_t enable;
60 lin_transceiver_disable_t disable;
APIs and macros for the Zephyr device model.
#define DEVICE_API_GET(_class, _dev)
Expands to the pointer of a device's API for a given class.
Definition device.h:1486
static int lin_transceiver_disable(const struct device *dev)
Disable LIN transceiver.
Definition transceiver.h:101
static int lin_transceiver_enable(const struct device *dev, uint8_t flags)
Enable LIN transceiver.
Definition transceiver.h:81
LIN (Local Interconnect Network) driver API.
flags
Definition parser.h:86
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Runtime device structure (in ROM) per driver instance.
Definition device.h:543