pub struct Pfire610Protocol;
Expand description
Protocol implementation specific to ProFire 610.
Trait Implementations§
Source§impl Debug for Pfire610Protocol
impl Debug for Pfire610Protocol
Source§impl Default for Pfire610Protocol
impl Default for Pfire610Protocol
Source§fn default() -> Pfire610Protocol
fn default() -> Pfire610Protocol
Returns the “default value” for a type. Read more
Source§impl PfireSpecificSpecification for Pfire610Protocol
impl PfireSpecificSpecification for Pfire610Protocol
const HAS_OPT_IFACE_B: bool = false
const SUPPORT_STANDALONE_CONVERTER: bool = false
const KNOB_COUNT: usize = 4usize
Source§impl TcatExtensionOperation for Pfire610Protocol
impl TcatExtensionOperation for Pfire610Protocol
Source§fn read_extension(
req: &FwReq,
node: &FwNode,
section: &Section,
offset: usize,
frames: &mut [u8],
timeout_ms: u32,
) -> Result<(), Error>
fn read_extension( req: &FwReq, node: &FwNode, section: &Section, 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_extension(
req: &FwReq,
node: &FwNode,
section: &Section,
offset: usize,
frames: &mut [u8],
timeout_ms: u32,
) -> Result<(), Error>
fn write_extension( req: &FwReq, node: &FwNode, section: &Section, 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_extension_sections(
req: &FwReq,
node: &FwNode,
sections: &mut ExtensionSections,
timeout_ms: u32,
) -> Result<(), Error>
fn read_extension_sections( req: &FwReq, node: &FwNode, sections: &mut ExtensionSections, timeout_ms: u32, ) -> Result<(), Error>
Read section layout.
Source§impl TcatGlobalSectionSpecification for Pfire610Protocol
impl TcatGlobalSectionSpecification for Pfire610Protocol
Source§const AVAILABLE_CLOCK_SOURCE_OVERRIDE: Option<&'static [ClockSource]>
const AVAILABLE_CLOCK_SOURCE_OVERRIDE: Option<&'static [ClockSource]>
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 Pfire610Protocol
impl TcatOperation for Pfire610Protocol
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.
Source§impl Tcd22xxSpecification for Pfire610Protocol
impl Tcd22xxSpecification for Pfire610Protocol
Source§const FIXED: &'static [SrcBlk]
const FIXED: &'static [SrcBlk]
Ports with fixed position in router entries; e.g. target ports for meter display.
Source§const MIXER_OUT_PORTS: [u8; 3] = _
const MIXER_OUT_PORTS: [u8; 3] = _
The number of mixer outputs at specification of TCD22xx.
Source§const MIXER_IN_PORTS: [(DstBlkId, u8); 2] = _
const MIXER_IN_PORTS: [(DstBlkId, u8); 2] = _
The number of mixer inputs at specification of TCD22xx.
Source§const ADAT_CHANNELS: [u8; 3] = _
const ADAT_CHANNELS: [u8; 3] = _
The number of ADAT channels at specification of ADAT/SMUX.
Source§fn adat_channel_count(rate_mode: RateMode) -> u8
fn adat_channel_count(rate_mode: RateMode) -> u8
Compute the number of ADAT channels.
Source§fn mixer_out_port_count(rate_mode: RateMode) -> u8
fn mixer_out_port_count(rate_mode: RateMode) -> u8
Compute the number of mixer outputs.
Source§fn mixer_in_port_count() -> u8
fn mixer_in_port_count() -> u8
Compute the number of mixer inputs.
Source§fn compute_avail_real_blk_pair(
rate_mode: RateMode,
) -> (Vec<SrcBlk>, Vec<DstBlk>)
fn compute_avail_real_blk_pair( rate_mode: RateMode, ) -> (Vec<SrcBlk>, Vec<DstBlk>)
Compute available destination and source blocks for physical ports.
Source§fn compute_avail_stream_blk_pair(
tx_entries: &[FormatEntry],
rx_entries: &[FormatEntry],
) -> (Vec<SrcBlk>, Vec<DstBlk>)
fn compute_avail_stream_blk_pair( tx_entries: &[FormatEntry], rx_entries: &[FormatEntry], ) -> (Vec<SrcBlk>, Vec<DstBlk>)
Compute available destination and source blocks for Tx/Rx streams.
Source§fn compute_avail_mixer_blk_pair(
caps: &ExtensionCaps,
rate_mode: RateMode,
) -> (Vec<SrcBlk>, Vec<DstBlk>)
fn compute_avail_mixer_blk_pair( caps: &ExtensionCaps, rate_mode: RateMode, ) -> (Vec<SrcBlk>, Vec<DstBlk>)
Compute available destination and source blocks for mixer inputs and outputs.
Source§fn refine_router_entries(
entries: &mut Vec<RouterEntry>,
avail_blocks: &Tcd22xxAvailableBlocks,
)
fn refine_router_entries( entries: &mut Vec<RouterEntry>, avail_blocks: &Tcd22xxAvailableBlocks, )
Refine router entries by defined descriptors.
Auto Trait Implementations§
impl Freeze for Pfire610Protocol
impl RefUnwindSafe for Pfire610Protocol
impl Send for Pfire610Protocol
impl Sync for Pfire610Protocol
impl Unpin for Pfire610Protocol
impl UnwindSafe for Pfire610Protocol
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> TcatExtensionCapsSectionOperation for Owhere
O: TcatExtensionOperation,
impl<O> TcatExtensionCapsSectionOperation for Owhere
O: TcatExtensionOperation,
Source§fn read_extension_caps(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
caps: &mut ExtensionCaps,
timeout_ms: u32,
) -> Result<(), Error>
fn read_extension_caps( req: &FwReq, node: &FwNode, sections: &ExtensionSections, caps: &mut ExtensionCaps, timeout_ms: u32, ) -> Result<(), Error>
Read capabilities.
Source§impl<O> TcatExtensionCommandSectionOperation for Owhere
O: TcatExtensionOperation,
impl<O> TcatExtensionCommandSectionOperation for Owhere
O: TcatExtensionOperation,
Source§impl<O> TcatExtensionSectionParamsOperation<CurrentRouterParams> for Owhere
O: TcatExtensionOperation,
impl<O> TcatExtensionSectionParamsOperation<CurrentRouterParams> for Owhere
O: TcatExtensionOperation,
Source§fn cache_extension_whole_params(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
caps: &ExtensionCaps,
params: &mut CurrentRouterParams,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_extension_whole_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, caps: &ExtensionCaps, params: &mut CurrentRouterParams, timeout_ms: u32, ) -> Result<(), Error>
Cache state of hardware for whole parameters.
Source§impl<O> TcatExtensionSectionParamsOperation<CurrentStreamFormatParams> for Owhere
O: TcatExtensionOperation,
impl<O> TcatExtensionSectionParamsOperation<CurrentStreamFormatParams> for Owhere
O: TcatExtensionOperation,
Source§fn cache_extension_whole_params(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
caps: &ExtensionCaps,
params: &mut CurrentStreamFormatParams,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_extension_whole_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, caps: &ExtensionCaps, params: &mut CurrentStreamFormatParams, timeout_ms: u32, ) -> Result<(), Error>
Cache state of hardware for whole parameters.
Source§impl<O> TcatExtensionSectionParamsOperation<MixerCoefficientParams> for Owhere
O: TcatExtensionOperation,
impl<O> TcatExtensionSectionParamsOperation<MixerCoefficientParams> for Owhere
O: TcatExtensionOperation,
Source§fn cache_extension_whole_params(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
caps: &ExtensionCaps,
params: &mut MixerCoefficientParams,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_extension_whole_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, caps: &ExtensionCaps, params: &mut MixerCoefficientParams, timeout_ms: u32, ) -> Result<(), Error>
Cache state of hardware for whole parameters.
Source§impl<O> TcatExtensionSectionParamsOperation<MixerSaturationParams> for Owhere
O: TcatExtensionOperation,
impl<O> TcatExtensionSectionParamsOperation<MixerSaturationParams> for Owhere
O: TcatExtensionOperation,
Source§fn cache_extension_whole_params(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
caps: &ExtensionCaps,
params: &mut MixerSaturationParams,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_extension_whole_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, caps: &ExtensionCaps, params: &mut MixerSaturationParams, timeout_ms: u32, ) -> Result<(), Error>
Cache state of hardware for whole parameters.
Source§impl<O> TcatExtensionSectionParamsOperation<PeakParams> for Owhere
O: TcatExtensionOperation,
impl<O> TcatExtensionSectionParamsOperation<PeakParams> for Owhere
O: TcatExtensionOperation,
Source§fn cache_extension_whole_params(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
caps: &ExtensionCaps,
params: &mut PeakParams,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_extension_whole_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, caps: &ExtensionCaps, params: &mut PeakParams, timeout_ms: u32, ) -> Result<(), Error>
Cache state of hardware for whole parameters.
Source§impl<O> TcatExtensionSectionParamsOperation<PfireSpecificParams> for Owhere
O: TcatExtensionOperation + PfireSpecificSpecification,
impl<O> TcatExtensionSectionParamsOperation<PfireSpecificParams> for Owhere
O: TcatExtensionOperation + PfireSpecificSpecification,
Source§fn cache_extension_whole_params(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
_: &ExtensionCaps,
params: &mut PfireSpecificParams,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_extension_whole_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, _: &ExtensionCaps, params: &mut PfireSpecificParams, timeout_ms: u32, ) -> Result<(), Error>
Cache state of hardware for whole parameters.
Source§impl<O> TcatExtensionSectionParamsOperation<RouterParams> for Owhere
O: TcatExtensionOperation,
impl<O> TcatExtensionSectionParamsOperation<RouterParams> for Owhere
O: TcatExtensionOperation,
Source§fn cache_extension_whole_params(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
caps: &ExtensionCaps,
params: &mut RouterParams,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_extension_whole_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, caps: &ExtensionCaps, params: &mut RouterParams, timeout_ms: u32, ) -> Result<(), Error>
Cache state of hardware for whole parameters.
Source§impl<O> TcatExtensionSectionParamsOperation<StandaloneParameters> for Owhere
O: TcatExtensionOperation,
impl<O> TcatExtensionSectionParamsOperation<StandaloneParameters> for Owhere
O: TcatExtensionOperation,
Source§fn cache_extension_whole_params(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
_: &ExtensionCaps,
params: &mut StandaloneParameters,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_extension_whole_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, _: &ExtensionCaps, params: &mut StandaloneParameters, timeout_ms: u32, ) -> Result<(), Error>
Cache state of hardware for whole parameters.
Source§impl<O> TcatExtensionSectionParamsOperation<StreamFormatParams> for Owhere
O: TcatExtensionOperation,
impl<O> TcatExtensionSectionParamsOperation<StreamFormatParams> for Owhere
O: TcatExtensionOperation,
Source§fn cache_extension_whole_params(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
caps: &ExtensionCaps,
params: &mut StreamFormatParams,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_extension_whole_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, caps: &ExtensionCaps, params: &mut StreamFormatParams, timeout_ms: u32, ) -> Result<(), Error>
Cache state of hardware for whole parameters.
Source§impl<O> TcatExtensionSectionPartialMutableParamsOperation<MixerCoefficientParams> for Owhere
O: TcatExtensionOperation,
impl<O> TcatExtensionSectionPartialMutableParamsOperation<MixerCoefficientParams> for Owhere
O: TcatExtensionOperation,
Source§fn update_extension_partial_params(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
caps: &ExtensionCaps,
params: &MixerCoefficientParams,
prev: &mut MixerCoefficientParams,
timeout_ms: u32,
) -> Result<(), Error>
fn update_extension_partial_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, caps: &ExtensionCaps, params: &MixerCoefficientParams, prev: &mut MixerCoefficientParams, timeout_ms: u32, ) -> Result<(), Error>
Update state of hardware for partial parameters.
Source§impl<O> TcatExtensionSectionPartialMutableParamsOperation<PfireSpecificParams> for Owhere
O: TcatExtensionOperation + PfireSpecificSpecification,
impl<O> TcatExtensionSectionPartialMutableParamsOperation<PfireSpecificParams> for Owhere
O: TcatExtensionOperation + PfireSpecificSpecification,
Source§fn update_extension_partial_params(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
_: &ExtensionCaps,
params: &PfireSpecificParams,
prev: &mut PfireSpecificParams,
timeout_ms: u32,
) -> Result<(), Error>
fn update_extension_partial_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, _: &ExtensionCaps, params: &PfireSpecificParams, prev: &mut PfireSpecificParams, timeout_ms: u32, ) -> Result<(), Error>
Update state of hardware for partial parameters.
Source§impl<O> TcatExtensionSectionPartialMutableParamsOperation<StandaloneParameters> for Owhere
O: TcatExtensionOperation,
impl<O> TcatExtensionSectionPartialMutableParamsOperation<StandaloneParameters> for Owhere
O: TcatExtensionOperation,
Source§fn update_extension_partial_params(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
_: &ExtensionCaps,
params: &StandaloneParameters,
prev: &mut StandaloneParameters,
timeout_ms: u32,
) -> Result<(), Error>
fn update_extension_partial_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, _: &ExtensionCaps, params: &StandaloneParameters, prev: &mut StandaloneParameters, timeout_ms: u32, ) -> Result<(), Error>
Update state of hardware for partial parameters.
Source§impl<O> TcatExtensionSectionWholeMutableParamsOperation<RouterParams> for Owhere
O: TcatExtensionOperation,
impl<O> TcatExtensionSectionWholeMutableParamsOperation<RouterParams> for Owhere
O: TcatExtensionOperation,
Source§fn update_extension_whole_params(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
caps: &ExtensionCaps,
params: &RouterParams,
timeout_ms: u32,
) -> Result<(), Error>
fn update_extension_whole_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, caps: &ExtensionCaps, params: &RouterParams, timeout_ms: u32, ) -> Result<(), Error>
Update state of hardware for whole parameters.
Source§impl<O> TcatExtensionSectionWholeMutableParamsOperation<StreamFormatParams> for Owhere
O: TcatExtensionOperation,
impl<O> TcatExtensionSectionWholeMutableParamsOperation<StreamFormatParams> for Owhere
O: TcatExtensionOperation,
Source§fn update_extension_whole_params(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
caps: &ExtensionCaps,
params: &StreamFormatParams,
timeout_ms: u32,
) -> Result<(), Error>
fn update_extension_whole_params( req: &FwReq, node: &FwNode, sections: &ExtensionSections, caps: &ExtensionCaps, params: &StreamFormatParams, timeout_ms: u32, ) -> Result<(), Error>
Update state of hardware for whole 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.
Source§impl<O> Tcd22xxOperation for O
impl<O> Tcd22xxOperation for O
Source§fn detect_available_blocks(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
caps: &ExtensionCaps,
rate_mode: RateMode,
avail_blocks: &mut Tcd22xxAvailableBlocks,
timeout_ms: u32,
) -> Result<(), Error>
fn detect_available_blocks( req: &FwReq, node: &FwNode, sections: &ExtensionSections, caps: &ExtensionCaps, rate_mode: RateMode, avail_blocks: &mut Tcd22xxAvailableBlocks, timeout_ms: u32, ) -> Result<(), Error>
Detect available source and destination blocks at given rate mode.
Source§fn update_router_entries(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
caps: &ExtensionCaps,
rate_mode: RateMode,
avail_blocks: &Tcd22xxAvailableBlocks,
params: &mut RouterParams,
timeout_ms: u32,
) -> Result<(), Error>
fn update_router_entries( req: &FwReq, node: &FwNode, sections: &ExtensionSections, caps: &ExtensionCaps, rate_mode: RateMode, avail_blocks: &Tcd22xxAvailableBlocks, params: &mut RouterParams, timeout_ms: u32, ) -> Result<(), Error>
Update router entries.
Source§fn load_configuration(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
caps: &ExtensionCaps,
timeout_ms: u32,
) -> Result<(), Error>
fn load_configuration( req: &FwReq, node: &FwNode, sections: &ExtensionSections, caps: &ExtensionCaps, timeout_ms: u32, ) -> Result<(), Error>
Load configuration from on-board flash memory, including parameters in application section.
Source§fn store_configuration(
req: &FwReq,
node: &FwNode,
sections: &ExtensionSections,
caps: &ExtensionCaps,
timeout_ms: u32,
) -> Result<(), Error>
fn store_configuration( req: &FwReq, node: &FwNode, sections: &ExtensionSections, caps: &ExtensionCaps, timeout_ms: u32, ) -> Result<(), Error>
Store configuration to on-board flash memory, including parameters in application section.