Struct kernel::hil::can::FilterParameters
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)