Trait esp32c3_hal::twai::filter::Filter
source · pub trait Filter {
const FILTER_TYPE: FilterType;
// Required method
fn to_registers(&self) -> [u8; 8];
// Provided method
fn filter_type(&self) -> FilterType { ... }
}
Required Associated Constants§
sourceconst FILTER_TYPE: FilterType
const FILTER_TYPE: FilterType
The type of the filter.
Required Methods§
sourcefn to_registers(&self) -> [u8; 8]
fn to_registers(&self) -> [u8; 8]
Get the register level representation of the filter.
Provided Methods§
fn filter_type(&self) -> FilterType
Object Safety§
This trait is not object safe.