![]() |
RT-Thread RTOS
An open source embedded real-time operating system
|
#include <dev_can.h>
Data Fields | |
| rt_uint32_t | count |
| rt_uint32_t | actived |
| struct rt_can_filter_item * | items |
CAN hardware filter configuration structure. This structure is passed to the driver via rt_device_control with the RT_CAN_CMD_SET_FILTER command.
| rt_uint32_t rt_can_filter_config::count |
The number of filter items in the items array.
| rt_uint32_t rt_can_filter_config::actived |
A flag to activate (1) or deactivate (0) the filters.
| struct rt_can_filter_item* rt_can_filter_config::items |
A pointer to an array of filter items.