pub enum InputWidth {
Serial,
Parallel,
}Expand description
Effective input bit-width feeding the sinc filter, for gain-ceiling checks.
A wider input sample eats into the 32-bit signed accumulator’s headroom, so the safe filter-gain ceiling depends on how many bits the input itself already occupies.
Variants§
Serial
Serial modes: Manchester, SPI (ext/int) - 1-bit stream.
Parallel
Parallel modes: ADC mux (DATMPX=1), CPU/DMA register writes to DATINR (DATMPX=2) - 16-bit samples. Verify the exact gain model against the TRM before relying on this ceiling.
Trait Implementations§
Source§impl Clone for InputWidth
impl Clone for InputWidth
Source§fn clone(&self) -> InputWidth
fn clone(&self) -> InputWidth
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InputWidth
Source§impl Debug for InputWidth
impl Debug for InputWidth
impl Eq for InputWidth
Source§impl PartialEq for InputWidth
impl PartialEq for InputWidth
impl StructuralPartialEq for InputWidth
Auto Trait Implementations§
impl Freeze for InputWidth
impl RefUnwindSafe for InputWidth
impl Send for InputWidth
impl Sync for InputWidth
impl Unpin for InputWidth
impl UnsafeUnpin for InputWidth
impl UnwindSafe for InputWidth
Blanket Implementations§
impl<T, I> Binding<I, NoHandler<I>> for T
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