pub struct FilterParameters {
pub number: u32,
pub scale_bits: ScaleBits,
pub identifier_mode: IdentifierMode,
pub fifo_number: usize,
}
Expand description
This structure defines the parameters to configure a filter bank
Fields§
§number: u32
The filter Id
This value is dependent on the peripheral used and identifies the filter bank that will be used
scale_bits: ScaleBits
The width of the filter bank
identifier_mode: IdentifierMode
The way in which the message Ids will be filtered.
fifo_number: usize
The receive FIFO Id that the filter will be applied to
Trait Implementations§
Source§impl Clone for FilterParameters
impl Clone for FilterParameters
Source§fn clone(&self) -> FilterParameters
fn clone(&self) -> FilterParameters
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for FilterParameters
Auto Trait Implementations§
impl Freeze for FilterParameters
impl RefUnwindSafe for FilterParameters
impl Send for FilterParameters
impl Sync for FilterParameters
impl Unpin for FilterParameters
impl UnwindSafe for FilterParameters
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