Crate ddc_i2c

Source
Expand description

Implementation of DDC/CI traits over I2C.

§Example

extern crate ddc_i2c;
extern crate ddc;

use ddc::Ddc;

let mut ddc = ddc_i2c::from_i2c_device("/dev/i2c-4").unwrap();
let mccs_version = ddc.get_vcp_feature(0xdf).unwrap();
println!("MCCS version: {:04x}", mccs_version.maximum());

Structs§

  • A handle to provide DDC/CI operations on an I2C device.

Enums§

  • An error that can occur during DDC/CI communication.