Type Alias embassy_stm32::can::filter::ExtendedFilter
source · pub type ExtendedFilter = Filter<ExtendedId, u32>;
Expand description
An Extended Filter
Aliased Type§
struct ExtendedFilter {
pub filter: FilterType<ExtendedId, u32>,
pub action: Action,
}
Fields§
§filter: FilterType<ExtendedId, u32>
How to match an incoming message
action: Action
What to do with a matching message
Implementations§
source§impl ExtendedFilter
impl ExtendedFilter
sourcepub fn accept_all_into_fifo0() -> ExtendedFilter
pub fn accept_all_into_fifo0() -> ExtendedFilter
Accept all messages in FIFO 0
sourcepub fn accept_all_into_fifo1() -> ExtendedFilter
pub fn accept_all_into_fifo1() -> ExtendedFilter
Accept all messages in FIFO 1
sourcepub fn reject_all() -> ExtendedFilter
pub fn reject_all() -> ExtendedFilter
Reject all messages
sourcepub fn disable() -> ExtendedFilter
pub fn disable() -> ExtendedFilter
Disable the filter