Trait ddc::DdcTable [] [src]

pub trait DdcTable: DdcHost {
    fn table_read(&mut self, code: FeatureCode) -> Result<Vec<u8>, Self::Error>;
fn table_write(
        &mut self,
        code: FeatureCode,
        offset: u16,
        value: &[u8]
    ) -> Result<(), Self::Error>; }

Table commands can read and write arbitrary binary data to a VCP feature.

Tables were introduced in MCCS specification versions 3.0 and 2.2.

Required Methods

Read a table value from the device.

Write a table value to the device.

Implementors