#[non_exhaustive]#[repr(u8)]pub enum LtpPattern {
AllOnes = 1,
AllZeros = 2,
NyquistClock = 3,
DdeCompliance = 4,
Lfsr0 = 5,
Lfsr1 = 6,
Lfsr2 = 7,
Lfsr3 = 8,
}Expand description
The PHY value types, at the paths hdmi-hal gives them (hdmi_hal::phy::*). They are
re-exported at the crate root as well.
A link training pattern to be driven on the physical lanes.
Produced by the link training state machine and passed to HdmiPhy::send_ltp.
The discriminants are the pattern values a sink requests in the SCDC Status_Flags
LTP fields. Request values that are not patterns (0 for no pattern, and the TxFFE
and rate change requests) are handled by the link training layer and have no variant.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AllOnes = 1
All ones.
AllZeros = 2
All zeros.
NyquistClock = 3
Nyquist clock pattern.
DdeCompliance = 4
DDE (Data Dependent Equalization) compliance pattern.
Lfsr0 = 5
LFSR pattern 0.
Lfsr1 = 6
LFSR pattern 1.
Lfsr2 = 7
LFSR pattern 2.
Lfsr3 = 8
LFSR pattern 3.
Implementations§
Trait Implementations§
Source§impl Clone for LtpPattern
impl Clone for LtpPattern
Source§fn clone(&self) -> LtpPattern
fn clone(&self) -> LtpPattern
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LtpPattern
Source§impl Debug for LtpPattern
impl Debug for LtpPattern
impl Eq for LtpPattern
Source§impl Hash for LtpPattern
impl Hash for LtpPattern
Source§impl PartialEq for LtpPattern
impl PartialEq for LtpPattern
impl StructuralPartialEq for LtpPattern
Auto Trait Implementations§
impl Freeze for LtpPattern
impl RefUnwindSafe for LtpPattern
impl Send for LtpPattern
impl Sync for LtpPattern
impl Unpin for LtpPattern
impl UnsafeUnpin for LtpPattern
impl UnwindSafe for LtpPattern
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