pub struct RPLL { /* private fields */ }Expand description
Reciprocal PLL.
Consumes noisy, quantized timestamps of a reference signal and reconstructs
the phase and frequency of the update() invocations with respect to (and in units of
1 << 32 of) that reference.
In other words, update() rate relative to reference frequency,
u32::MAX + 1 corresponding to both being equal.
Implementations§
Trait Implementations§
Source§impl SplitProcess<Option<Wrapping<i32>>, Accu<Wrapping<i32>>, RPLL> for RPLLConfig
impl SplitProcess<Option<Wrapping<i32>>, Accu<Wrapping<i32>>, RPLL> for RPLLConfig
Source§fn process(&self, state: &mut RPLL, x: Option<W<i32>>) -> Accu<W<i32>> ⓘ
fn process(&self, state: &mut RPLL, x: Option<W<i32>>) -> Accu<W<i32>> ⓘ
Advance the RPLL and optionally supply a new timestamp.
- input: Optional new timestamp.
There can be at most one timestamp per
update()cycle (1 << dt2 counter cycles).
Returns: A tuple containing the current phase (wrapping at the i32 boundary, pi) and frequency.
impl Copy for RPLL
Auto Trait Implementations§
impl Freeze for RPLL
impl RefUnwindSafe for RPLL
impl Send for RPLL
impl Sync for RPLL
impl Unpin for RPLL
impl UnwindSafe for RPLL
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