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

Common LIN driver configuration structure. More...

#include <zephyr/drivers/lin.h>

Data Fields

const struct device * phy
 Pointer to the device structure for the associated LIN transceiver device or NULL.
uint32_t min_bitrate
 Minimum supported bitrate by the LIN controller/transceiver combination.
uint32_t max_bitrate
 Maximum supported bitrate by the LIN controller/transceiver combination.
uint32_t bitrate
 Initial LIN bitrate.

Detailed Description

Common LIN driver configuration structure.

This structure is used to configure LIN devices and is expected to be the first element in the object pointed to by the config field in the device structure.

Field Documentation

◆ bitrate

uint32_t lin_driver_config::bitrate

Initial LIN bitrate.

◆ max_bitrate

uint32_t lin_driver_config::max_bitrate

Maximum supported bitrate by the LIN controller/transceiver combination.

◆ min_bitrate

uint32_t lin_driver_config::min_bitrate

Minimum supported bitrate by the LIN controller/transceiver combination.

◆ phy

const struct device* lin_driver_config::phy

Pointer to the device structure for the associated LIN transceiver device or NULL.


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