pub enum ExtFilter {
Disabled,
MaskedRange {
action: Action,
low: ExtendedId,
high: ExtendedId,
},
Dual {
action: Action,
id1: ExtendedId,
id2: ExtendedId,
},
Classic {
action: Action,
filter: ExtendedId,
mask: ExtendedId,
},
Range {
action: Action,
low: ExtendedId,
high: ExtendedId,
},
StoreBuffer {
id: ExtendedId,
msg_type: SbMsgType,
offset: u8,
},
}Expand description
Message filter field for 28-bit RX messages
Variants§
Disabled
The filter is skipped
MaskedRange
Range filter from low to high IDs with XIDAM
Dual
Filter for two IDs
Classic
Traditional filter/mask CAN filter
Range
Range filter from low to high IDs without XIDAM
StoreBuffer
Store into RX buffer or as debug message (ignores filter type) NOTE: Filter event pins are currently unsupported
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExtFilter
impl RefUnwindSafe for ExtFilter
impl Send for ExtFilter
impl Sync for ExtFilter
impl Unpin for ExtFilter
impl UnsafeUnpin for ExtFilter
impl UnwindSafe for ExtFilter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more