Crate ddc_i2c [] [src]

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

I2cDdc

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

I2cDeviceEnumerator

Enumerate all currently attached displays on the system.

Enums

Error

An error that can occur during DDC/CI communication.

Functions

from_i2c_device

Open a new DDC/CI handle with the specified I2C device node path

Type Definitions

I2cDeviceDdc

DDC/CI on Linux i2c-dev