|
Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
|
Common CAN controller driver data. More...
#include <zephyr/drivers/can.h>
Data Fields | |
| can_mode_t | mode |
| Current CAN controller mode. | |
| bool | started |
| True if the CAN controller is started, false otherwise. | |
| can_state_change_callback_t | state_change_cb |
| State change callback function pointer or NULL. | |
| void * | state_change_cb_user_data |
| State change callback user data pointer or NULL. | |
Common CAN controller driver data.
This structure is common to all CAN controller drivers and is expected to be the first element in the driver's struct driver_data declaration.
| can_mode_t can_driver_data::mode |
Current CAN controller mode.
| bool can_driver_data::started |
True if the CAN controller is started, false otherwise.
| can_state_change_callback_t can_driver_data::state_change_cb |
State change callback function pointer or NULL.
| void* can_driver_data::state_change_cb_user_data |
State change callback user data pointer or NULL.