pub struct FaClkProtocol;
Expand description
The protocol implementation for media and sampling clock. They are not configurable by software.
Trait Implementations§
Source§impl Debug for FaClkProtocol
impl Debug for FaClkProtocol
Source§impl Default for FaClkProtocol
impl Default for FaClkProtocol
Source§fn default() -> FaClkProtocol
fn default() -> FaClkProtocol
Returns the “default value” for a type. Read more
Source§impl MediaClockFrequencyOperation for FaClkProtocol
impl MediaClockFrequencyOperation for FaClkProtocol
Source§fn cache_freq(
avc: &BebobAvc,
params: &mut MediaClockParameters,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_freq( avc: &BebobAvc, params: &mut MediaClockParameters, timeout_ms: u32, ) -> Result<(), Error>
Cache the state of media clock to the parameters.
Source§fn update_freq(
avc: &BebobAvc,
params: &MediaClockParameters,
old: &mut MediaClockParameters,
timeout_ms: u32,
) -> Result<(), Error>
fn update_freq( avc: &BebobAvc, params: &MediaClockParameters, old: &mut MediaClockParameters, timeout_ms: u32, ) -> Result<(), Error>
Update the hardware by the given parameter. This operation can involve INTERIM AV/C
response to expand response time of AV/C transaction.
Source§impl SamplingClockSourceOperation for FaClkProtocol
impl SamplingClockSourceOperation for FaClkProtocol
Source§const DST: SignalAddr
const DST: SignalAddr
The destination plug address for source signal.
Source§const SRC_LIST: &'static [SignalAddr]
const SRC_LIST: &'static [SignalAddr]
The list of supported sources expressed by plug address.
Source§fn cache_src(
avc: &BebobAvc,
params: &mut SamplingClockParameters,
timeout_ms: u32,
) -> Result<(), Error>
fn cache_src( avc: &BebobAvc, params: &mut SamplingClockParameters, timeout_ms: u32, ) -> Result<(), Error>
Cache the state of sampling clock to the parameters.
Source§fn update_src(
avc: &BebobAvc,
params: &SamplingClockParameters,
old: &mut SamplingClockParameters,
timeout_ms: u32,
) -> Result<(), Error>
fn update_src( avc: &BebobAvc, params: &SamplingClockParameters, old: &mut SamplingClockParameters, timeout_ms: u32, ) -> Result<(), Error>
Update the hardware by the given parameter. This operation can involve INTERIM AV/C
response to expand response time of AV/C transaction.
Auto Trait Implementations§
impl Freeze for FaClkProtocol
impl RefUnwindSafe for FaClkProtocol
impl Send for FaClkProtocol
impl Sync for FaClkProtocol
impl Unpin for FaClkProtocol
impl UnwindSafe for FaClkProtocol
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