Expand description
Control displays using the DDC/CI protocol.
Provides generic traits and utilities for working with DDC. See downstream crates for usable concrete implementations.
Re-exports§
pub use self::commands::Command;
pub use self::commands::CommandResult;
pub use self::commands::TimingMessage;
Modules§
- commands
- DDC/CI command request and response types.
Structs§
Enums§
- Error
Code - DDC/CI protocol errors
- VcpValue
Type - VCP feature type.
Constants§
- DELAY_
COMMAND_ FAILED_ MS - DDC delay required before retrying a request
- I2C_
ADDRESS_ DDC_ CI - DDC/CI command and control I2C address
- I2C_
ADDRESS_ EDID - EDID EEPROM I2C address
- I2C_
ADDRESS_ EDID_ SEGMENT - E-DDC EDID segment register I2C address
- SUB_
ADDRESS_ DDC_ CI - DDC sub-address command prefix
Traits§
- Ddc
- A high level interface to DDC commands.
- DdcCommand
- A (slightly) higher level interface to
DdcCommandRaw
. - DdcCommand
Marker - Using this marker trait will automatically implement the
Ddc
andDdcTable
traits. - DdcCommand
Raw - Allows the execution of arbitrary low level DDC commands.
- DdcCommand
RawMarker - Using this marker trait will automatically implement the
DdcCommand
trait. - DdcHost
- A DDC host is able to communicate with a DDC device such as a display.
- DdcTable
- Table commands can read and write arbitrary binary data to a VCP feature.
- Eddc
- E-DDC allows reading extensions of Enhanced EDID.
- Edid
- A trait that allows retrieving Extended Display Identification Data (EDID) from a device.
Type Aliases§
- Feature
Code - VCP feature code