F828mk2Protocol

Struct F828mk2Protocol 

Source
pub struct F828mk2Protocol;
Expand description

The protocol implementation for 828mkII.

Implementations§

Source§

impl F828mk2Protocol

Source

pub const NOTIFY_PORT_CHANGE: u32 = 1_073_741_824u32

Notification mask for speed of word clock output, and phone assignment. The change of phone assignment is also notified in message delivered by the sequence of isochronous packets.

Source

pub const NOTIFY_FOOTSWITCH_MASK: u32 = 16_777_216u32

Notification mask for footswitch.

Trait Implementations§

Source§

impl Default for F828mk2Protocol

Source§

fn default() -> F828mk2Protocol

Returns the “default value” for a type. Read more
Source§

impl MotuPortAssignSpecification for F828mk2Protocol

Source§

impl MotuRegisterDspLineInputSpecification for F828mk2Protocol

Source§

impl MotuRegisterDspMeterSpecification for F828mk2Protocol

Source§

const INPUT_PORTS: &'static [TargetPort]

The input ports.
Source§

const OUTPUT_PORT_PAIRS: &'static [TargetPort]

The output pairs.
Source§

const OUTPUT_PORT_PAIR_POS: &'static [[usize; 2]]

Source§

const OUTPUT_PORT_COUNT: usize = _

The number of outputs.
Source§

const LEVEL_MIN: u8 = 0u8

The minimum value of detected signal level.
Source§

const LEVEL_MAX: u8 = 127u8

The maximum value of detected signal level.
Source§

const LEVEL_STEP: u8 = 1u8

The step value of detected signal level.
Source§

const METER_IMAGE_SIZE: usize = 48usize

The size of image.
Source§

fn create_meter_state() -> RegisterDspMeterState

Source§

impl MotuRegisterDspMixerMonauralSourceSpecification for F828mk2Protocol

Source§

const MIXER_SOURCES: &'static [TargetPort]

The port of mixer sources.
Source§

const SOURCE_GAIN_MIN: u8 = 0u8

The minimum value of gain for mixer source.
Source§

const SOURCE_GAIN_MAX: u8 = 128u8

The maximum value of gain for mixer source.
Source§

const SOURCE_GAIN_STEP: u8 = 1u8

The step value of gain for mixer source.
Source§

const SOURCE_PAN_MIN: u8 = 0u8

The minimum value of left and right balance for mixer source.
Source§

const SOURCE_PAN_MAX: u8 = 128u8

The maximum value of left and right balance for mixer source.
Source§

const SOURCE_PAN_STEP: u8 = 1u8

The step value of left and right balance for mixer source.
Source§

fn create_mixer_monaural_source_state() -> RegisterDspMixerMonauralSourceState

Source§

impl MotuRegisterDspSpecification for F828mk2Protocol

Source§

const MIXER_OUTPUT_DESTINATIONS: &'static [TargetPort]

The destinations of mixer outputs.
Source§

const MIXER_COUNT: usize = 4usize

The number of mixers.
Source§

const MIXER_OUTPUT_VOLUME_MIN: u8 = 0u8

The minimum value of mixer output volume.
Source§

const MIXER_OUTPUT_VOLUME_MAX: u8 = 128u8

The maximum value of mixer output volume.
Source§

const MIXER_OUTPUT_VOLUME_STEP: u8 = 1u8

The step value of mixer output volume.
Source§

const OUTPUT_VOLUME_MIN: u8 = 0u8

The minimum value of physical output volume.
Source§

const OUTPUT_VOLUME_MAX: u8 = 128u8

The maximum value of physical output volume.
Source§

const OUTPUT_VOLUME_STEP: u8 = 1u8

The step value of physical output volume.
Source§

impl MotuVersion2ClockSpecification for F828mk2Protocol

Source§

const CLK_RATES: &'static [ClkRate]

Source§

const CLK_RATE_VALS: &'static [u8]

Source§

const CLK_SRCS: &'static [V2ClkSrc]

Source§

const CLK_SRC_VALS: &'static [u8]

Source§

impl MotuVersion2OpticalIfaceSpecification for F828mk2Protocol

Source§

impl MotuWordClockOutputSpecification for F828mk2Protocol

Source§

impl MotuClockNameDisplaySpecification for F828mk2Protocol

Source§

impl MotuRegisterDspMeterOutputTargetSpecification for F828mk2Protocol

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<O> MotuPartiallyUpdatableParamsOperation<RegisterDspLineInputState> for O

Source§

fn update_partially( req: &mut FwReq, node: &mut FwNode, params: &mut RegisterDspLineInputState, updates: RegisterDspLineInputState, timeout_ms: u32, ) -> Result<(), Error>

Update the part of parameters.
Source§

impl<O> MotuPartiallyUpdatableParamsOperation<RegisterDspMixerMonauralSourceState> for O

Source§

fn update_partially( req: &mut FwReq, node: &mut FwNode, params: &mut RegisterDspMixerMonauralSourceState, updates: RegisterDspMixerMonauralSourceState, timeout_ms: u32, ) -> Result<(), Error>

Update the part of parameters.
Source§

impl<O> MotuPartiallyUpdatableParamsOperation<RegisterDspMixerOutputState> for O

Source§

fn update_partially( req: &mut FwReq, node: &mut FwNode, params: &mut RegisterDspMixerOutputState, updates: RegisterDspMixerOutputState, timeout_ms: u32, ) -> Result<(), Error>

Update the part of parameters.
Source§

impl<O> MotuPartiallyUpdatableParamsOperation<RegisterDspOutputState> for O

Source§

fn update_partially( req: &mut FwReq, node: &mut FwNode, params: &mut RegisterDspOutputState, updates: RegisterDspOutputState, timeout_ms: u32, ) -> Result<(), Error>

Update the part of parameters.
Source§

impl<O> MotuRegisterDspEventOperation<PhoneAssignParameters> for O

Source§

fn parse_event( params: &mut PhoneAssignParameters, event: &RegisterDspEvent, ) -> bool

Parse event.
Source§

impl<O> MotuRegisterDspEventOperation<RegisterDspLineInputState> for O

Source§

fn parse_event( params: &mut RegisterDspLineInputState, event: &RegisterDspEvent, ) -> bool

Parse event.
Source§

impl<O> MotuRegisterDspEventOperation<RegisterDspMixerMonauralSourceState> for O

Source§

impl<O> MotuRegisterDspEventOperation<RegisterDspMixerOutputState> for O

Source§

fn parse_event( params: &mut RegisterDspMixerOutputState, event: &RegisterDspEvent, ) -> bool

Parse event.
Source§

impl<O> MotuRegisterDspEventOperation<RegisterDspOutputState> for O

Source§

fn parse_event( params: &mut RegisterDspOutputState, event: &RegisterDspEvent, ) -> bool

Parse event.
Source§

impl<O> MotuRegisterDspImageOperation<PhoneAssignParameters, SndMotuRegisterDspParameter> for O

Source§

fn parse_image( params: &mut PhoneAssignParameters, image: &SndMotuRegisterDspParameter, )

Parse image transferred in the series of isochronous packets.
Source§

impl<O> MotuRegisterDspImageOperation<RegisterDspLineInputState, SndMotuRegisterDspParameter> for O

Source§

fn parse_image( params: &mut RegisterDspLineInputState, image: &SndMotuRegisterDspParameter, )

Parse image transferred in the series of isochronous packets.
Source§

impl<O> MotuRegisterDspImageOperation<RegisterDspMeterState, [u8; 48]> for O

Source§

fn parse_image(params: &mut RegisterDspMeterState, image: &[u8; 48])

Parse image transferred in the series of isochronous packets.
Source§

impl<O> MotuRegisterDspImageOperation<RegisterDspMixerMonauralSourceState, SndMotuRegisterDspParameter> for O

Source§

fn parse_image( params: &mut RegisterDspMixerMonauralSourceState, image: &SndMotuRegisterDspParameter, )

Parse image transferred in the series of isochronous packets.
Source§

impl<O> MotuRegisterDspImageOperation<RegisterDspMixerOutputState, SndMotuRegisterDspParameter> for O

Source§

fn parse_image( params: &mut RegisterDspMixerOutputState, image: &SndMotuRegisterDspParameter, )

Parse image transferred in the series of isochronous packets.
Source§

impl<O> MotuRegisterDspImageOperation<RegisterDspOutputState, SndMotuRegisterDspParameter> for O

Source§

fn parse_image( params: &mut RegisterDspOutputState, image: &SndMotuRegisterDspParameter, )

Parse image transferred in the series of isochronous packets.
Source§

impl<O> MotuWhollyCacheableParamsOperation<PhoneAssignParameters> for O

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut PhoneAssignParameters, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl<O> MotuWhollyCacheableParamsOperation<RegisterDspLineInputState> for O

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut RegisterDspLineInputState, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl<O> MotuWhollyCacheableParamsOperation<RegisterDspMixerMonauralSourceState> for O

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut RegisterDspMixerMonauralSourceState, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl<O> MotuWhollyCacheableParamsOperation<RegisterDspMixerOutputState> for O

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut RegisterDspMixerOutputState, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl<O> MotuWhollyCacheableParamsOperation<RegisterDspMixerReturnParameters> for O

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut RegisterDspMixerReturnParameters, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl<O> MotuWhollyCacheableParamsOperation<RegisterDspOutputState> for O

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut RegisterDspOutputState, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl<O> MotuWhollyCacheableParamsOperation<V3PortAssignParameters> for O

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut V3PortAssignParameters, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl<O> MotuWhollyCacheableParamsOperation<Version2ClockParameters> for O

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut Version2ClockParameters, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl<O> MotuWhollyCacheableParamsOperation<Version2OpticalIfaceParameters> for O

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut Version2OpticalIfaceParameters, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl<O> MotuWhollyCacheableParamsOperation<WordClkSpeedMode> for O

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut WordClkSpeedMode, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl<O> MotuWhollyUpdatableParamsOperation<ClockNameDisplayParameters> for O

Source§

fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &ClockNameDisplayParameters, timeout_ms: u32, ) -> Result<(), Error>

Update whole parameters.
Source§

impl<O> MotuWhollyUpdatableParamsOperation<PhoneAssignParameters> for O

Source§

fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &PhoneAssignParameters, timeout_ms: u32, ) -> Result<(), Error>

Update whole parameters.
Source§

impl<O> MotuWhollyUpdatableParamsOperation<RegisterDspMeterOutputTarget> for O

Source§

fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &RegisterDspMeterOutputTarget, timeout_ms: u32, ) -> Result<(), Error>

Update whole parameters.
Source§

impl<O> MotuWhollyUpdatableParamsOperation<RegisterDspMixerReturnParameters> for O

Source§

fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &RegisterDspMixerReturnParameters, timeout_ms: u32, ) -> Result<(), Error>

Update whole parameters.
Source§

impl<O> MotuWhollyUpdatableParamsOperation<V3PortAssignParameters> for O

Source§

fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &V3PortAssignParameters, timeout_ms: u32, ) -> Result<(), Error>

Update whole parameters.
Source§

impl<O> MotuWhollyUpdatableParamsOperation<Version2ClockParameters> for O

Source§

fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &Version2ClockParameters, timeout_ms: u32, ) -> Result<(), Error>

Update whole parameters.
Source§

impl<O> MotuWhollyUpdatableParamsOperation<Version2OpticalIfaceParameters> for O

Source§

fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &Version2OpticalIfaceParameters, timeout_ms: u32, ) -> Result<(), Error>

Update whole parameters.
Source§

impl<O> MotuWhollyUpdatableParamsOperation<WordClkSpeedMode> for O

Source§

fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &WordClkSpeedMode, timeout_ms: u32, ) -> Result<(), Error>

Update whole parameters.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.