|
Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
|
Common CAN controller driver configuration. More...
#include <zephyr/drivers/can.h>
Data Fields | |
| const struct device * | phy |
| 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. | |
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.
| uint32_t can_driver_config::bitrate |
Initial CAN classic/CAN FD arbitration phase bitrate.
| uint32_t can_driver_config::max_bitrate |
The maximum bitrate supported by the CAN controller/transceiver combination.
| uint32_t can_driver_config::min_bitrate |
The minimum bitrate supported by the CAN controller/transceiver combination.
| const struct device* can_driver_config::phy |
Pointer to the device structure for the associated CAN transceiver device or NULL.
| uint16_t can_driver_config::sample_point |
Initial CAN classic/CAN FD arbitration phase sample point in permille.