#[non_exhaustive]pub struct SinkTmdsConfig {
pub scrambling_enable: bool,
pub high_tmds_clock_ratio: bool,
}Expand description
The two fields of the sink’s TMDS_Config (SCDC offset 0x20): what is written, and
what a read decodes to.
The bit layout belongs to the SCDC implementation. A read keeps the byte it decoded
beside this value, in TmdsConfigReading.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.scrambling_enable: boolScrambling_Enable.
high_tmds_clock_ratio: boolTMDS_Bit_Clock_Ratio: set for 1/40, clear for 1/10.
Implementations§
Source§impl SinkTmdsConfig
impl SinkTmdsConfig
Sourcepub const fn new(
scrambling_enable: bool,
high_tmds_clock_ratio: bool,
) -> SinkTmdsConfig
pub const fn new( scrambling_enable: bool, high_tmds_clock_ratio: bool, ) -> SinkTmdsConfig
The register’s two fields.
Trait Implementations§
Source§impl Clone for SinkTmdsConfig
impl Clone for SinkTmdsConfig
Source§fn clone(&self) -> SinkTmdsConfig
fn clone(&self) -> SinkTmdsConfig
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 SinkTmdsConfig
Source§impl Debug for SinkTmdsConfig
impl Debug for SinkTmdsConfig
impl Eq for SinkTmdsConfig
Source§impl Hash for SinkTmdsConfig
impl Hash for SinkTmdsConfig
Source§impl PartialEq for SinkTmdsConfig
impl PartialEq for SinkTmdsConfig
impl StructuralPartialEq for SinkTmdsConfig
Auto Trait Implementations§
impl Forget for SinkTmdsConfig
impl Freeze for SinkTmdsConfig
impl Move for SinkTmdsConfig
impl RefUnwindSafe for SinkTmdsConfig
impl Send for SinkTmdsConfig
impl Sync for SinkTmdsConfig
impl Unpin for SinkTmdsConfig
impl UnsafeUnpin for SinkTmdsConfig
impl UnwindSafe for SinkTmdsConfig
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