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

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.