Expand description
Async typed access to the HDMI 2.1 SCDC (Status and Control Data Channel) register map.
culvert-async is the async companion to culvert: culvert::Scdc’s methods as
async fns over an hdmi_hal_async::scdc::ScdcTransport. The register map is
culvert’s culvert::codec; this crate only performs the reads and writes, so the sync
and async clients always agree.
All register types and error types are re-exported from culvert so that callers do not
need to depend on both crates, and the transport trait and its Send twin from
hdmi-hal-async. culvert’s I/O-free encoders and decoders, culvert::codec, are not
re-exported: code that needs them depends on culvert.
§Features
plumbob-async— implementsplumbob_async::ScdcClientforScdc<T>, connecting culvert-async to the async FRL link training state machine.
Structs§
- CedCount
- A 15-bit character error count decoded from an ERR_DET register pair.
- CedCounters
- Per-lane character error counts decoded from
ERR_DETregisters (0x50–0x55 for lanes 0–2, 0x57–0x58 for lane 3). - Clearable
Update Flags - The
Update_0flags a source may clear: every flag butRR_Test(bit 2). - Config0
- Content written to
Config_0(0x30). - FfeLevels
- FFE (Feed-Forward Equalization) levels written into
Config_1bits[7:4]: the highest TxFFE level index the source supports for the requested rate. - FrlConfig
- Configuration written to
Config_1(0x31). Build one withnew. - LtpRequests
- Per-lane link training pattern requests from
Status_Flags_1(0x41) andStatus_Flags_2(0x42). - RsCorrection
Count - A 15-bit Reed-Solomon correction count decoded from
RS_Correction_L/H(0x59/0x5A). - Scdc
- Async typed client for the HDMI 2.1 SCDC (Status and Control Data Channel) register map.
- Scrambler
Status - Decoded content of
Scrambler_Status(0x21). - Source
Test Config - Decoded content of
Source_Test_Configuration(0x35). - Status
Flags - Decoded content of
Status_Flags_0(0x40). - Tmds
Config - Configuration written to
TMDS_Config(0x20). - Update
Flags - Decoded content of
Update_0(0x10).
Enums§
- FrlRate
- Maximum Fixed Rate Link (FRL) bandwidth supported by a HDMI 2.1 sink.
- LtpReq
- Link Training Pattern requested by the sink for one lane: a 4-bit field in
Status_Flags_1(0x41, lanes 0–1) orStatus_Flags_2(0x42, lanes 2–3). - Protocol
Error - What culvert refuses because it would violate the SCDC protocol.
- Scdc
Error - Errors returned by
Scdcregister operations.
Traits§
- Scdc
Transport - The async transport
Scdc<T>is generic over, re-exported fromhdmi-hal-async. Async raw register access to the SCDC register map over DDC/I²C. - Send
Scdc Transport - The transport’s
Sendtwin, re-exported fromhdmi-hal-async: bound generic code by it to spawn work throughScdc<T>on a multi-threaded executor.ScdcTransportwithSendfutures, for code that spawns link training on a multi-threaded executor.