Skip to main content

pci_cfg_read

Function pci_cfg_read 

Source
pub fn pci_cfg_read(
    addr: &PciAddress,
    offset: u8,
    width: u8,
) -> Result<usize, Error>
Expand description

Read a PCI configuration value from addr.

width must be 1, 2 or 4.