Data structures for CAN driver. More...
Data Structures | |
| struct | can_tx_frame_t |
| Transmit frame layout written into CAN hardware memory. More... | |
| struct | can_tx_schedule_time_t |
| 64-bit timestamp used for scheduled transmit requests. More... | |
| struct | can_rx_classic_header_t |
| Header layout reported for a received Classical CAN frame. More... | |
| struct | can_rx_fd_header_t |
| Header layout reported for a received CAN FD frame. More... | |
| struct | can_rx_frame_t |
| Receive frame container returned to RX callbacks. More... | |
| struct | can_rx_filter_t |
| Receive filter entry matched against incoming CAN identifiers. More... | |
| struct | can_hw_config_t |
| Hardware-specific CAN controller configuration. More... | |
| struct | can_config_t |
| Runtime CAN controller configuration. More... | |
Typedefs | |
| typedef void(* | can_tx_handler_t) (void *user_data, can_transfer_status_en status) |
| CAN TX completion callback type. | |
| typedef void(* | can_rx_handler_t) (void *user_data, const can_rx_frame_t *frame) |
| CAN RX frame callback type. | |
| typedef void(* | can_timestamp_handler_t) (void *user_data, uint32_t timestamp_low, uint32_t timestamp_high) |
| CAN timestamp capture callback type. | |
Data structures for CAN driver.
| typedef void(* can_tx_handler_t) (void *user_data, can_transfer_status_en status) |
CAN TX completion callback type.
| user_data | Application-supplied callback context. |
| status | Transfer completion status. |
| typedef void(* can_rx_handler_t) (void *user_data, const can_rx_frame_t *frame) |
CAN RX frame callback type.
| user_data | Application-supplied callback context. |
| frame | Pointer to the received frame. The frame pointer remains valid only during the callback. |
| typedef void(* can_timestamp_handler_t) (void *user_data, uint32_t timestamp_low, uint32_t timestamp_high) |
CAN timestamp capture callback type.
| user_data | Application-supplied callback context. |
| timestamp_low | Lower 32 bits of the sampled timestamp. |
| timestamp_high | Higher 32 bits of the sampled timestamp. |