pub struct FilterConfig<T: Instance, M: FilterMarker> {
pub filter_params: FilterParameters,
pub enable_continuous_regular: bool,
pub enable_fast_regular: bool,
pub enable_regular_sync: bool,
pub enable_injected_sync: bool,
pub enable_injected_scanning: bool,
pub trigger: InjectedTrigger<T, M>,
}Expand description
Configuration for a filter, applied on enable.
Fields§
§filter_params: FilterParametersFilter order, OSR and input width.
enable_continuous_regular: boolRun regular conversions continuously.
enable_fast_regular: boolUse fast mode for continuous regular conversions: the filter is not refilled between conversions, so the OSR windows overlap and each conversion after the first is faster.
enable_regular_sync: boolSynchronize regular conversions to the clock.
enable_injected_sync: boolSynchronize injected conversions to the clock.
enable_injected_scanning: boolCycle injected conversions through the selected transceivers.
trigger: InjectedTrigger<T, M>Configures the trigger for injected conversions.
InjectedTrigger::Enabled enables the trigger with the specified trigger
source and edge; InjectedTrigger::Disabled disables it.
Trait Implementations§
Source§impl<T: Instance, M: FilterMarker> Default for FilterConfig<T, M>
impl<T: Instance, M: FilterMarker> Default for FilterConfig<T, M>
Auto Trait Implementations§
impl<T, M> Freeze for FilterConfig<T, M>where
InjectedTrigger<T, M>: Freeze,
impl<T, M> RefUnwindSafe for FilterConfig<T, M>where
InjectedTrigger<T, M>: RefUnwindSafe,
impl<T, M> Send for FilterConfig<T, M>where
InjectedTrigger<T, M>: Send,
impl<T, M> Sync for FilterConfig<T, M>where
InjectedTrigger<T, M>: Sync,
impl<T, M> Unpin for FilterConfig<T, M>where
InjectedTrigger<T, M>: Unpin,
impl<T, M> UnsafeUnpin for FilterConfig<T, M>where
InjectedTrigger<T, M>: UnsafeUnpin,
impl<T, M> UnwindSafe for FilterConfig<T, M>where
InjectedTrigger<T, M>: UnwindSafe,
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