Struct firewire_dice_protocols::lexicon::IonixProtocol
source · pub struct IonixProtocol;Expand description
Protocol implementation specific to Lexicon I-ONIX FW810s.
Implementations§
source§impl IonixProtocol
impl IonixProtocol
sourcepub const ANALOG_INPUT_COUNT: usize = 8usize
pub const ANALOG_INPUT_COUNT: usize = 8usize
The number of analog inputs.
sourcepub const SPDIF_INPUT_COUNT: usize = 2usize
pub const SPDIF_INPUT_COUNT: usize = 2usize
The number of S/PDIF inputs.
sourcepub const STREAM_INPUT_COUNT: usize = 10usize
pub const STREAM_INPUT_COUNT: usize = 10usize
The number of stream inputs.
sourcepub const MIXER_ANALOG_INPUT_COUNT: usize = 8usize
pub const MIXER_ANALOG_INPUT_COUNT: usize = 8usize
The number of analog inputs for mixer.
sourcepub const MIXER_SPDIF_INPUT_COUNT: usize = 2usize
pub const MIXER_SPDIF_INPUT_COUNT: usize = 2usize
The number of S/PDIF inputs for mixer.
sourcepub const MIXER_STREAM_INPUT_COUNT: usize = 8usize
pub const MIXER_STREAM_INPUT_COUNT: usize = 8usize
The number of stream inputs for mixer.
sourcepub const MIXER_BUS_COUNT: usize = 8usize
pub const MIXER_BUS_COUNT: usize = 8usize
The number of channels in bus mixer.
sourcepub const MIXER_MAIN_COUNT: usize = 2usize
pub const MIXER_MAIN_COUNT: usize = 2usize
The number of channels in main mixer.
sourcepub const MIXER_REVERB_COUNT: usize = 2usize
pub const MIXER_REVERB_COUNT: usize = 2usize
The number of channels in reverb mixer.
Trait Implementations§
source§impl Debug for IonixProtocol
impl Debug for IonixProtocol
source§impl Default for IonixProtocol
impl Default for IonixProtocol
source§fn default() -> IonixProtocol
fn default() -> IonixProtocol
Returns the “default value” for a type. Read more
source§impl LexiconOperation for IonixProtocol
impl LexiconOperation for IonixProtocol
source§impl TcatGlobalSectionSpecification for IonixProtocol
impl TcatGlobalSectionSpecification for IonixProtocol
source§const AVAILABLE_CLOCK_SOURCE_OVERRIDE: Option<&'static [ClockSource]> = None
const AVAILABLE_CLOCK_SOURCE_OVERRIDE: Option<&'static [ClockSource]> = None
Some models report invalid list for signal source of sampling clock.
source§const CLOCK_SOURCE_LABEL_TABLE: &'static [ClockSource] = _
const CLOCK_SOURCE_LABEL_TABLE: &'static [ClockSource] = _
Some models report list of labels for signal source of sampling clock with unexpected
position.
source§impl TcatOperation for IonixProtocol
impl TcatOperation for IonixProtocol
source§fn read(
req: &FwReq,
node: &FwNode,
offset: usize,
frames: &mut [u8],
timeout_ms: u32
) -> Result<(), Error>
fn read( req: &FwReq, node: &FwNode, offset: usize, frames: &mut [u8], timeout_ms: u32 ) -> Result<(), Error>
Initiate read transaction to offset in specific address space and finish it.
source§fn write(
req: &FwReq,
node: &FwNode,
offset: usize,
frames: &mut [u8],
timeout_ms: u32
) -> Result<(), Error>
fn write( req: &FwReq, node: &FwNode, offset: usize, frames: &mut [u8], timeout_ms: u32 ) -> Result<(), Error>
Initiate write transaction to offset in specific address space and finish it.
source§fn read_general_sections(
req: &FwReq,
node: &FwNode,
sections: &mut GeneralSections,
timeout_ms: u32
) -> Result<(), Error>
fn read_general_sections( req: &FwReq, node: &FwNode, sections: &mut GeneralSections, timeout_ms: u32 ) -> Result<(), Error>
Read section layout.
Auto Trait Implementations§
impl RefUnwindSafe for IonixProtocol
impl Send for IonixProtocol
impl Sync for IonixProtocol
impl Unpin for IonixProtocol
impl UnwindSafe for IonixProtocol
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
source§impl<O> LexiconMutableParametersOperation<IonixMixerParameters> for O
impl<O> LexiconMutableParametersOperation<IonixMixerParameters> for O
source§impl<O, T> LexiconParametersOperation<T> for Owhere
O: LexiconOperation + LexiconParametersSerdes<T>,
impl<O, T> LexiconParametersOperation<T> for Owhere
O: LexiconOperation + LexiconParametersSerdes<T>,
source§impl<O> LexiconParametersSerdes<IonixMeter> for Owhere
O: LexiconOperation,
impl<O> LexiconParametersSerdes<IonixMeter> for Owhere
O: LexiconOperation,
source§const OFFSET_RANGES: &'static [Range<usize>] = const OFFSET_RANGES: &'static [Range<usize>] =
&[Range{ start: METER_OFFSET, end: METER_OFFSET + METER_SIZE,}];
const OFFSET_RANGES: &'static [Range<usize>] = const OFFSET_RANGES: &'static [Range<usize>] = &[Range{ start: METER_OFFSET, end: METER_OFFSET + METER_SIZE,}];
List of offset ranges for parameters.
source§fn serialize_params(params: &IonixMeter, raw: &mut [u8]) -> Result<(), String>
fn serialize_params(params: &IonixMeter, raw: &mut [u8]) -> Result<(), String>
Serialize parameters.
source§fn deserialize_params(params: &mut IonixMeter, raw: &[u8]) -> Result<(), String>
fn deserialize_params(params: &mut IonixMeter, raw: &[u8]) -> Result<(), String>
Deserialize parameters.
source§impl<O> LexiconParametersSerdes<IonixMixerParameters> for Owhere
O: LexiconOperation,
impl<O> LexiconParametersSerdes<IonixMixerParameters> for Owhere
O: LexiconOperation,
source§const OFFSET_RANGES: &'static [Range<usize>] = const OFFSET_RANGES: &'static [Range<usize>] =
&[Range{
start: MIXER_BUS_SRC_OFFSET,
end: MIXER_BUS_SRC_OFFSET + MIXER_BUS_SRC_SIZE,},
Range{
start: MIXER_MAIN_SRC_OFFSET,
end: MIXER_MAIN_SRC_OFFSET + MIXER_MAIN_SRC_SIZE,},
Range{
start: MIXER_REVERB_SRC_OFFSET,
end: MIXER_REVERB_SRC_OFFSET + MIXER_REVERB_SRC_SIZE,}];
const OFFSET_RANGES: &'static [Range<usize>] = const OFFSET_RANGES: &'static [Range<usize>] = &[Range{ start: MIXER_BUS_SRC_OFFSET, end: MIXER_BUS_SRC_OFFSET + MIXER_BUS_SRC_SIZE,}, Range{ start: MIXER_MAIN_SRC_OFFSET, end: MIXER_MAIN_SRC_OFFSET + MIXER_MAIN_SRC_SIZE,}, Range{ start: MIXER_REVERB_SRC_OFFSET, end: MIXER_REVERB_SRC_OFFSET + MIXER_REVERB_SRC_SIZE,}];
List of offset ranges for parameters.
source§fn serialize_params(
params: &IonixMixerParameters,
raw: &mut [u8]
) -> Result<(), String>
fn serialize_params( params: &IonixMixerParameters, raw: &mut [u8] ) -> Result<(), String>
Serialize parameters.
source§fn deserialize_params(
params: &mut IonixMixerParameters,
raw: &[u8]
) -> Result<(), String>
fn deserialize_params( params: &mut IonixMixerParameters, raw: &[u8] ) -> Result<(), String>
Deserialize parameters.
source§impl<O> TcatFluctuatedSectionOperation<GlobalParameters> for Owhere
O: TcatSectionOperation<GlobalParameters>,
impl<O> TcatFluctuatedSectionOperation<GlobalParameters> for Owhere
O: TcatSectionOperation<GlobalParameters>,
source§const FLUCTUATED_OFFSETS: &'static [usize] = const FLUCTUATED_OFFSETS: &'static [usize] = &[88];
const FLUCTUATED_OFFSETS: &'static [usize] = const FLUCTUATED_OFFSETS: &'static [usize] = &[88];
The set of address offsets in which any value is changed apart from software operation;
e.g. hardware metering.
source§impl<O> TcatMutableSectionOperation<GlobalParameters> for O
impl<O> TcatMutableSectionOperation<GlobalParameters> for O
source§impl<O> TcatMutableSectionOperation<RxStreamFormatParameters> for Owhere
O: TcatSectionOperation<RxStreamFormatParameters>,
impl<O> TcatMutableSectionOperation<RxStreamFormatParameters> for Owhere
O: TcatSectionOperation<RxStreamFormatParameters>,
source§impl<O> TcatMutableSectionOperation<TxStreamFormatParameters> for Owhere
O: TcatSectionOperation<TxStreamFormatParameters>,
impl<O> TcatMutableSectionOperation<TxStreamFormatParameters> for Owhere
O: TcatSectionOperation<TxStreamFormatParameters>,
source§impl<O> TcatNotifiedSectionOperation<GlobalParameters> for Owhere
O: TcatSectionOperation<GlobalParameters>,
impl<O> TcatNotifiedSectionOperation<GlobalParameters> for Owhere
O: TcatSectionOperation<GlobalParameters>,
source§impl<O> TcatNotifiedSectionOperation<RxStreamFormatParameters> for Owhere
O: TcatSectionOperation<RxStreamFormatParameters>,
impl<O> TcatNotifiedSectionOperation<RxStreamFormatParameters> for Owhere
O: TcatSectionOperation<RxStreamFormatParameters>,
source§impl<O> TcatNotifiedSectionOperation<TxStreamFormatParameters> for Owhere
O: TcatSectionOperation<TxStreamFormatParameters>,
impl<O> TcatNotifiedSectionOperation<TxStreamFormatParameters> for Owhere
O: TcatSectionOperation<TxStreamFormatParameters>,
source§impl<O> TcatSectionOperation<ExtendedSyncParameters> for Owhere
O: TcatOperation,
impl<O> TcatSectionOperation<ExtendedSyncParameters> for Owhere
O: TcatOperation,
source§impl<O> TcatSectionOperation<GlobalParameters> for O
impl<O> TcatSectionOperation<GlobalParameters> for O
source§impl<O> TcatSectionOperation<RxStreamFormatParameters> for Owhere
O: TcatOperation,
impl<O> TcatSectionOperation<RxStreamFormatParameters> for Owhere
O: TcatOperation,
source§impl<O> TcatSectionOperation<TxStreamFormatParameters> for Owhere
O: TcatOperation,
impl<O> TcatSectionOperation<TxStreamFormatParameters> for Owhere
O: TcatOperation,
source§impl<O> TcatSectionSerdes<ExtendedSyncParameters> for Owhere
O: TcatOperation,
impl<O> TcatSectionSerdes<ExtendedSyncParameters> for Owhere
O: TcatOperation,
source§const ERROR_TYPE: GeneralProtocolError = const ERROR_TYPE: GeneralProtocolError = GeneralProtocolError::ExtendedSync;
const ERROR_TYPE: GeneralProtocolError = const ERROR_TYPE: GeneralProtocolError = GeneralProtocolError::ExtendedSync;
The type of error.
source§fn serialize(_: &ExtendedSyncParameters, _: &mut [u8]) -> Result<(), String>
fn serialize(_: &ExtendedSyncParameters, _: &mut [u8]) -> Result<(), String>
Serialize parameters for section.
source§fn deserialize(
params: &mut ExtendedSyncParameters,
raw: &[u8]
) -> Result<(), String>
fn deserialize( params: &mut ExtendedSyncParameters, raw: &[u8] ) -> Result<(), String>
Deserialize section for parameters.
source§impl<O> TcatSectionSerdes<GlobalParameters> for Owhere
O: TcatOperation + TcatGlobalSectionSpecification,
impl<O> TcatSectionSerdes<GlobalParameters> for Owhere
O: TcatOperation + TcatGlobalSectionSpecification,
source§const ERROR_TYPE: GeneralProtocolError = const ERROR_TYPE: GeneralProtocolError = GeneralProtocolError::Global;
const ERROR_TYPE: GeneralProtocolError = const ERROR_TYPE: GeneralProtocolError = GeneralProtocolError::Global;
The type of error.
source§fn serialize(params: &GlobalParameters, raw: &mut [u8]) -> Result<(), String>
fn serialize(params: &GlobalParameters, raw: &mut [u8]) -> Result<(), String>
Serialize parameters for section.
source§fn deserialize(params: &mut GlobalParameters, raw: &[u8]) -> Result<(), String>
fn deserialize(params: &mut GlobalParameters, raw: &[u8]) -> Result<(), String>
Deserialize section for parameters.
source§impl<O> TcatSectionSerdes<RxStreamFormatParameters> for Owhere
O: TcatOperation,
impl<O> TcatSectionSerdes<RxStreamFormatParameters> for Owhere
O: TcatOperation,
source§const ERROR_TYPE: GeneralProtocolError = const ERROR_TYPE: GeneralProtocolError = GeneralProtocolError::RxStreamFormat;
const ERROR_TYPE: GeneralProtocolError = const ERROR_TYPE: GeneralProtocolError = GeneralProtocolError::RxStreamFormat;
The type of error.
source§fn serialize(
params: &RxStreamFormatParameters,
raw: &mut [u8]
) -> Result<(), String>
fn serialize( params: &RxStreamFormatParameters, raw: &mut [u8] ) -> Result<(), String>
Serialize parameters for section.
source§fn deserialize(
params: &mut RxStreamFormatParameters,
raw: &[u8]
) -> Result<(), String>
fn deserialize( params: &mut RxStreamFormatParameters, raw: &[u8] ) -> Result<(), String>
Deserialize section for parameters.
source§impl<O> TcatSectionSerdes<TxStreamFormatParameters> for Owhere
O: TcatOperation,
impl<O> TcatSectionSerdes<TxStreamFormatParameters> for Owhere
O: TcatOperation,
source§const ERROR_TYPE: GeneralProtocolError = const ERROR_TYPE: GeneralProtocolError = GeneralProtocolError::TxStreamFormat;
const ERROR_TYPE: GeneralProtocolError = const ERROR_TYPE: GeneralProtocolError = GeneralProtocolError::TxStreamFormat;
The type of error.
source§fn serialize(
params: &TxStreamFormatParameters,
raw: &mut [u8]
) -> Result<(), String>
fn serialize( params: &TxStreamFormatParameters, raw: &mut [u8] ) -> Result<(), String>
Serialize parameters for section.
source§fn deserialize(
params: &mut TxStreamFormatParameters,
raw: &[u8]
) -> Result<(), String>
fn deserialize( params: &mut TxStreamFormatParameters, raw: &[u8] ) -> Result<(), String>
Deserialize section for parameters.