Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
LIN Transceiver

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.

Detailed Description

Interfaces for LIN transceivers.

Since
4.5
Version
0.1.0

Function Documentation

◆ lin_transceiver_disable()

int lin_transceiver_disable ( const struct device * dev)
inlinestatic

#include <transceiver.h>

Disable LIN transceiver.

Disable the LIN transceiver.

Note
The LIN transceiver is controlled by the LIN controller driver and should not normally be controlled by the application.
See also
lin_stop()
Parameters
devPointer to the device structure for the LIN transceiver.
Return values
0if successful.
-EALREADYif the transceiver is already disabled.
-EIOGeneral input/output error, failed to disable transceiver.

◆ lin_transceiver_enable()

int lin_transceiver_enable ( const struct device * dev,
uint8_t flags )
inlinestatic

#include <transceiver.h>

Enable LIN transceiver.

Enable the LIN transceiver.

Note
The LIN transceiver is controlled by the LIN controller driver and should not normally be controlled by the application.
See also
lin_start()
Parameters
devPointer to the device structure for the LIN transceiver.
flagsFlags to control the behavior of the transceiver. Specific to each transceiver.
Return values
0if successful.
-EALREADYif the transceiver is already enabled.
-EIOGeneral input/output error, failed to enable transceiver.