Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
|
SocketCAN definitions. More...
Go to the source code of this file.
Data Structures | |
struct | sockaddr_can |
struct sockaddr_can - The sockaddr structure for CAN sockets More... | |
struct | socketcan_frame |
CAN frame for Linux SocketCAN compatibility. More... | |
struct | socketcan_filter |
CAN filter for Linux SocketCAN compatibility. More... | |
Macros | |
#define | CAN_RAW 1 |
Protocols of the protocol family PF_CAN. | |
#define | SOCKETCAN_MAX_DLEN 8U |
SocketCAN max data length. | |
#define | CAN_MTU (sizeof(struct socketcan_frame)) |
CAN frame MTU. | |
#define | CANFD_BRS 0x01 |
Bit rate switch (second bitrate for payload data) | |
#define | CANFD_ESI 0x02 |
Error state indicator of the transmitting node. | |
#define | CANFD_FDF 0x04 |
Mark CAN FD for dual use of struct canfd_frame. | |
Typedefs | |
Linux SocketCAN compatibility | |
The following structures and functions provide compatibility with the CAN frame and CAN filter formats used by Linux SocketCAN. | |
typedef uint32_t | socketcan_id_t |
CAN Identifier structure for Linux SocketCAN compatibility. | |
SocketCAN definitions.
Definitions for SocketCAN support.