pub trait PciProgrammingInterface {
    // Required method
    fn get_register_value(&self) -> u8;
Expand description

A PCI class programming interface. Each combination of PciClassCode and PciSubclass can specify a set of register-level programming interfaces. This trait is implemented by each programming interface. It allows use of a trait object to generate configurations.

Required Methods§


fn get_register_value(&self) -> u8

Convert this programming interface to the value used in the PCI specification.