Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
can_driver_config Struct Reference

Common CAN controller driver configuration. More...

#include <zephyr/drivers/can.h>

Data Fields

const struct devicephy
 Pointer to the device structure for the associated CAN transceiver device or NULL.
uint32_t min_bitrate
 The minimum bitrate supported by the CAN controller/transceiver combination.
uint32_t max_bitrate
 The maximum bitrate supported by the CAN controller/transceiver combination.
uint32_t bitrate
 Initial CAN classic/CAN FD arbitration phase bitrate.
uint16_t sample_point
 Initial CAN classic/CAN FD arbitration phase sample point in permille.

Detailed Description

Common CAN controller driver configuration.

This structure is common to all CAN controller drivers 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 can_driver_config::bitrate

Initial CAN classic/CAN FD arbitration phase bitrate.

◆ max_bitrate

uint32_t can_driver_config::max_bitrate

The maximum bitrate supported by the CAN controller/transceiver combination.

◆ min_bitrate

uint32_t can_driver_config::min_bitrate

The minimum bitrate supported by the CAN controller/transceiver combination.

◆ phy

const struct device* can_driver_config::phy

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

◆ sample_point

uint16_t can_driver_config::sample_point

Initial CAN classic/CAN FD arbitration phase sample point in permille.


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