#[repr(u8)]pub enum Format {
Unknown = 0,
AdcDacData = 1,
Fls = 2,
ThermostatEem = 3,
}
Expand description
Specifies the format of streamed data
Variants§
Unknown = 0
Reserved, unused format specifier.
AdcDacData = 1
ADC0, ADC1, DAC0, and DAC1 sequentially in little-endian format.
§Example
With a batch size of 2, the serialization would take the following form:
<ADC0[0]> <ADC0[1]> <ADC1[0]> <ADC1[1]> <DAC0[0]> <DAC0[1]> <DAC1[0]> <DAC1[1]>
Fls = 2
FLS (fiber length stabilization) format. See the FLS application.
ThermostatEem = 3
Thermostat-EEM data. See thermostat-eem
repo and application.
Trait Implementations§
impl Copy for Format
impl Eq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
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