Crate ddc [−] [src]
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 commands::Command; |
pub use commands::CommandResult; |
pub use commands::TimingMessage; |
Modules
commands |
DDC/CI command request and response types. |
Structs
Delay |
A type that can help with implementing the DDC specificationed delays. |
VcpValue |
VCP Value |
Enums
ErrorCode |
DDC/CI protocol errors |
VcpValueType |
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 |
DdcCommandMarker |
Using this marker trait will automatically implement the |
DdcCommandRaw |
Allows the execution of arbitrary low level DDC commands. |
DdcCommandRawMarker |
Using this marker trait will automatically implement the |
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 Definitions
FeatureCode |
VCP feature code |