PciGetByte
Previous  Top  Next

 
   
function    PciGetByte(bus,dev,func, offset : Word):Byte;  
 



Read one byte from the configuration space of the PCI device.

Parameters:
 
bus - PCI bus number (0..GetLastPciBus),  
dev - PCI device on bus (0..31),  
func - function number of device (0..7),  
offset - the byte offset from the beginning of the configuration space.  

Return Value :

Byte value from the configuration space.