Struct Filter
pub struct Filter {
pub bank: u8,
pub id: u32,
pub mask: u32,
pub extended: bool,
pub fifo: u8,
}Expand description
ID/mask filter. Set bits in mask must match; 0 = wildcard. Standard
IDs use 11 bits (0..=0x7FF), extended IDs 29 bits (0..=0x1FFF_FFFF).
fifo selects RX FIFO 0 or 1.
Fields§
§bank: u8§id: u32§mask: u32§extended: bool§fifo: u8Trait Implementations§
Auto Trait Implementations§
impl Freeze for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnsafeUnpin for Filter
impl UnwindSafe for Filter
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