RT-Thread RTOS
An open source embedded real-time operating system
rt_can_filter_config Struct Reference

#include <dev_can.h>

Data Fields

rt_uint32_t count
 
rt_uint32_t actived
 
struct rt_can_filter_itemitems
 

Detailed Description

CAN hardware filter configuration structure. This structure is passed to the driver via rt_device_control with the RT_CAN_CMD_SET_FILTER command.

Field Documentation

◆ count

rt_uint32_t rt_can_filter_config::count

The number of filter items in the items array.

◆ actived

rt_uint32_t rt_can_filter_config::actived

A flag to activate (1) or deactivate (0) the filters.

◆ items

struct rt_can_filter_item* rt_can_filter_config::items

A pointer to an array of filter items.