pub struct FilterDisabled<'a, 'd, T, M>{ /* private fields */ }Expand description
A filter that is disabled (not yet enabled).
Implementations§
Source§impl<'a, 'd, T, M> FilterDisabled<'a, 'd, T, M>
impl<'a, 'd, T, M> FilterDisabled<'a, 'd, T, M>
Sourcepub fn enable_no_dma<'tr, 'ti, const N: usize>(
self,
regular: &'tr dyn TransceiverTrait<T, Enabled>,
injected: [&'ti dyn TransceiverTrait<T, Enabled>; N],
config: &FilterConfig<T, M>,
) -> Filter<'tr, 'ti, 'a, 'd, T, M, NoDma>
pub fn enable_no_dma<'tr, 'ti, const N: usize>( self, regular: &'tr dyn TransceiverTrait<T, Enabled>, injected: [&'ti dyn TransceiverTrait<T, Enabled>; N], config: &FilterConfig<T, M>, ) -> Filter<'tr, 'ti, 'a, 'd, T, M, NoDma>
Enable the filter without a DMA request flag.
Sourcepub fn enable_reg_dma<'tr, 'ti, const N: usize>(
self,
regular: &'tr dyn TransceiverTrait<T, Enabled>,
injected: [&'ti dyn TransceiverTrait<T, Enabled>; N],
config: &FilterConfig<T, M>,
) -> Filter<'tr, 'ti, 'a, 'd, T, M, RegDma>
pub fn enable_reg_dma<'tr, 'ti, const N: usize>( self, regular: &'tr dyn TransceiverTrait<T, Enabled>, injected: [&'ti dyn TransceiverTrait<T, Enabled>; N], config: &FilterConfig<T, M>, ) -> Filter<'tr, 'ti, 'a, 'd, T, M, RegDma>
Enable the filter and set the regular-conversion DMA request flag (RDMAEN).
Sourcepub fn enable_inj_dma<'tr, 'ti, const N: usize>(
self,
regular: &'tr dyn TransceiverTrait<T, Enabled>,
injected: [&'ti dyn TransceiverTrait<T, Enabled>; N],
config: &FilterConfig<T, M>,
) -> Filter<'tr, 'ti, 'a, 'd, T, M, InjDma>
pub fn enable_inj_dma<'tr, 'ti, const N: usize>( self, regular: &'tr dyn TransceiverTrait<T, Enabled>, injected: [&'ti dyn TransceiverTrait<T, Enabled>; N], config: &FilterConfig<T, M>, ) -> Filter<'tr, 'ti, 'a, 'd, T, M, InjDma>
Enable the filter and set the injected-conversion DMA request flag (JDMAEN).
Auto Trait Implementations§
impl<'a, 'd, T, M> !RefUnwindSafe for FilterDisabled<'a, 'd, T, M>
impl<'a, 'd, T, M> !UnwindSafe for FilterDisabled<'a, 'd, T, M>
impl<'a, 'd, T, M> Freeze for FilterDisabled<'a, 'd, T, M>
impl<'a, 'd, T, M> Send for FilterDisabled<'a, 'd, T, M>
impl<'a, 'd, T, M> Sync for FilterDisabled<'a, 'd, T, M>
impl<'a, 'd, T, M> Unpin for FilterDisabled<'a, 'd, T, M>
impl<'a, 'd, T, M> UnsafeUnpin for FilterDisabled<'a, 'd, T, M>
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