pub struct Lockin {
pub(crate) afe: [Leaf<Gain>; 2],
pub(crate) lockin_mode: LockinMode,
pub(crate) pll_tc: [u32; 2],
pub(crate) lockin_k: <Lowpass<2> as Filter>::Config,
pub(crate) lockin_harmonic: i32,
pub(crate) lockin_phase: i32,
pub(crate) output_conf: [Leaf<Conf>; 2],
pub(crate) telemetry_period: u16,
pub(crate) stream: Target,
}
Fields§
§afe: [Leaf<Gain>; 2]
Configure the Analog Front End (AFE) gain.
lockin_mode: LockinMode
Specifies the operational mode of the lockin.
pll_tc: [u32; 2]
Specifis the PLL time constant.
The PLL time constant exponent (1-31).
lockin_k: <Lowpass<2> as Filter>::Config
Specifies the lockin lowpass gains.
lockin_harmonic: i32
Specifies which harmonic to use for the lockin.
Harmonic index of the LO. -1 to _de_modulate the fundamental (complex conjugate)
lockin_phase: i32
Specifies the LO phase offset.
Demodulation LO phase offset. Units are in terms of i32, where i32::MIN is equivalent to -pi and i32::MAX is equivalent to +pi.
output_conf: [Leaf<Conf>; 2]
Specifies DAC output mode.
telemetry_period: u16
Specifies the telemetry output period in seconds.
stream: Target
Specifies the target for data streaming.
Trait Implementations§
Source§impl TreeAny for Lockin
impl TreeAny for Lockin
Source§fn ref_any_by_key(&self, keys: impl Keys) -> Result<&dyn Any, ValueError>
fn ref_any_by_key(&self, keys: impl Keys) -> Result<&dyn Any, ValueError>
dyn Any
trait object for a leaf node.Source§fn mut_any_by_key(
&mut self,
keys: impl Keys,
) -> Result<&mut dyn Any, ValueError>
fn mut_any_by_key( &mut self, keys: impl Keys, ) -> Result<&mut dyn Any, ValueError>
dyn Any
trait object for a leaf node.Source§fn ref_by_key<T>(&self, keys: impl IntoKeys) -> Result<&T, ValueError>where
T: Any,
fn ref_by_key<T>(&self, keys: impl IntoKeys) -> Result<&T, ValueError>where
T: Any,
Source§fn mut_by_key<T>(&mut self, keys: impl IntoKeys) -> Result<&mut T, ValueError>where
T: Any,
fn mut_by_key<T>(&mut self, keys: impl IntoKeys) -> Result<&mut T, ValueError>where
T: Any,
Source§impl<'de> TreeDeserialize<'de> for Lockin
impl<'de> TreeDeserialize<'de> for Lockin
Source§fn deserialize_by_key<D: Deserializer<'de>>(
&mut self,
keys: impl Keys,
de: D,
) -> Result<(), SerdeError<D::Error>>
fn deserialize_by_key<D: Deserializer<'de>>( &mut self, keys: impl Keys, de: D, ) -> Result<(), SerdeError<D::Error>>
Source§fn probe_by_key<D: Deserializer<'de>>(
keys: impl Keys,
de: D,
) -> Result<(), SerdeError<D::Error>>
fn probe_by_key<D: Deserializer<'de>>( keys: impl Keys, de: D, ) -> Result<(), SerdeError<D::Error>>
Source§impl TreeSerialize for Lockin
impl TreeSerialize for Lockin
Source§fn serialize_by_key<S: Serializer>(
&self,
keys: impl Keys,
ser: S,
) -> Result<S::Ok, SerdeError<S::Error>>
fn serialize_by_key<S: Serializer>( &self, keys: impl Keys, ser: S, ) -> Result<S::Ok, SerdeError<S::Error>>
Auto Trait Implementations§
impl Freeze for Lockin
impl RefUnwindSafe for Lockin
impl Send for Lockin
impl Sync for Lockin
impl Unpin for Lockin
impl UnwindSafe for Lockin
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, M> ForwardCompat<T, M> for T
impl<T, M> ForwardCompat<T, M> for T
§impl<T> ReverseCompat<T> for T
impl<T> ReverseCompat<T> for T
§fn reverse(self) -> Reverse<T>
fn reverse(self) -> Reverse<T>
Create an e-h-c wrapper around and e-h object Available methods depend on the wrapped type
§fn reverse_cell(self) -> Reverse<RefCell<T>>
fn reverse_cell(self) -> Reverse<RefCell<T>>
Create an e-h-c reverse compatibility wrapper using a ref-cell for interior mutability (required for InputPin types)