pub struct Ff400Config {
pub clk: Ff400ClkConfig,
pub analog_in: Ff400AnalogInConfig,
pub line_out_level: LineOutNominalLevel,
pub hp_out_level: LineOutNominalLevel,
pub spdif_in: SpdifInput,
pub spdif_out: FormerSpdifOutput,
pub opt_out_signal: OpticalOutputSignal,
pub word_out_single: bool,
/* private fields */
}Expand description
Configurations for Fireface 400.
Fields§
§clk: Ff400ClkConfigFor sampling clock.
analog_in: Ff400AnalogInConfigFor analog inputs.
line_out_level: LineOutNominalLevelThe nominal level of audio signal for output 1, 2, 3, 4, 5, and 6.
hp_out_level: LineOutNominalLevelThe nominal level of audio signal for headphone output.
spdif_in: SpdifInputFor S/PDIF input.
spdif_out: FormerSpdifOutputFor S/PDIF output.
opt_out_signal: OpticalOutputSignalThe type of signal to optical output interface.
word_out_single: boolWhether to fix speed to single even if at double/quadruple rate.
Implementations§
Source§impl Ff400Config
impl Ff400Config
Sourcepub fn init(&mut self, status: &Ff400Status)
pub fn init(&mut self, status: &Ff400Status)
Although the configuration registers are write-only, some of them are available in status registers.
Trait Implementations§
Source§impl Clone for Ff400Config
impl Clone for Ff400Config
Source§fn clone(&self) -> Ff400Config
fn clone(&self) -> Ff400Config
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Ff400Config
impl Debug for Ff400Config
Source§impl Default for Ff400Config
impl Default for Ff400Config
Source§impl PartialEq for Ff400Config
impl PartialEq for Ff400Config
Source§impl RmeFfOffsetParamsDeserialize<Ff400Config> for Ff400Protocol
impl RmeFfOffsetParamsDeserialize<Ff400Config> for Ff400Protocol
Source§fn deserialize_offsets(params: &mut Ff400Config, raw: &[u8])
fn deserialize_offsets(params: &mut Ff400Config, raw: &[u8])
Deserialize parameters into raw data.
Source§impl RmeFfOffsetParamsSerialize<Ff400Config> for Ff400Protocol
impl RmeFfOffsetParamsSerialize<Ff400Config> for Ff400Protocol
Source§fn serialize_offsets(params: &Ff400Config) -> Vec<u8> ⓘ
fn serialize_offsets(params: &Ff400Config) -> Vec<u8> ⓘ
Serialize parameters from raw data.
Source§impl RmeFfWhollyUpdatableParamsOperation<Ff400Config> for Ff400Protocol
impl RmeFfWhollyUpdatableParamsOperation<Ff400Config> for Ff400Protocol
Source§fn update_wholly(
req: &mut FwReq,
node: &mut FwNode,
params: &Ff400Config,
timeout_ms: u32,
) -> Result<(), Error>
fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &Ff400Config, timeout_ms: u32, ) -> Result<(), Error>
Update registers for whole parameters.
impl Copy for Ff400Config
impl Eq for Ff400Config
impl StructuralPartialEq for Ff400Config
Auto Trait Implementations§
impl Freeze for Ff400Config
impl RefUnwindSafe for Ff400Config
impl Send for Ff400Config
impl Sync for Ff400Config
impl Unpin for Ff400Config
impl UnwindSafe for Ff400Config
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