pub struct SlaveFilters<'a, I: Instance> { /* private fields */ }
Expand description

Interface to the filter banks assigned to a slave peripheral.

Implementations

Returns the number of filter banks currently assigned to this instance.

Chips with splittable filter banks may start out with some banks assigned to the master instance and some assigned to the slave instance.

Disables all enabled filter banks.

This causes all incoming frames to be disposed.

Disables a filter bank.

If index is out of bounds, this will panic.

Configures a filter bank according to config and enables it.

Parameters
  • index: the filter index.
  • fifo: the receive FIFO the filter should pass accepted messages to.
  • config: the filter configuration.

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.