Zephyr API Documentation
3.0.0
A Scalable Open Source RTOS
|
|
3.0.0 |
CAN filter structure. More...
#include <can.h>
Data Fields | |
uint32_t | id: 29 |
uint32_t | rtr: 1 |
uint32_t | id_type: 1 |
uint32_t | id_mask: 29 |
uint32_t | rtr_mask: 1 |
CAN filter structure.
uint32_t zcan_filter::id |
CAN identifier to match.
uint32_t zcan_filter::id_mask |
CAN identifier matching mask. If a bit in this mask is 0, the value of the corresponding bit in the id
field is ignored by the filter.
uint32_t zcan_filter::id_type |
Standard or extended CAN identifier. Use can_ide enum for assignment.
uint32_t zcan_filter::rtr |
Match data frame or Remote Transmission Request (RTR) frame.
uint32_t zcan_filter::rtr_mask |
Data frame/Remote Transmission Request (RTR) bit matching mask. If this bit is 0, the value of the rtr
field is ignored by the filter.