|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Interfaces for LIN transceivers. More...
Files | |
| file | transceiver.h |
| LIN transceiver driver API. | |
Functions | |
| static int | lin_transceiver_enable (const struct device *dev, uint8_t flags) |
| Enable LIN transceiver. | |
| static int | lin_transceiver_disable (const struct device *dev) |
| Disable LIN transceiver. | |
Interfaces for LIN transceivers.
|
inlinestatic |
#include <zephyr/drivers/lin/transceiver.h>
Disable LIN transceiver.
Disable the LIN transceiver.
| dev | Pointer to the device structure for the LIN transceiver. |
| 0 | if successful. |
| -EALREADY | if the transceiver is already disabled. |
| -EIO | General input/output error, failed to disable transceiver. |
#include <zephyr/drivers/lin/transceiver.h>
Enable LIN transceiver.
Enable the LIN transceiver.
| dev | Pointer to the device structure for the LIN transceiver. |
| flags | Flags to control the behavior of the transceiver. Specific to each transceiver. |
| 0 | if successful. |
| -EALREADY | if the transceiver is already enabled. |
| -EIO | General input/output error, failed to enable transceiver. |