Class PCI
Inheritance
System.Object
PCI
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Cosmos.HAL
Assembly: Cosmos.HAL2.dll
Syntax
public class PCI
Fields
| Improve this Doc View SourceDevices
Declaration
public static List<PCIDevice> Devices
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<PCIDevice> |
Properties
| Improve this Doc View SourceCount
Declaration
public static uint Count { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Methods
| Improve this Doc View SourceExists(PCIDevice)
Declaration
public static bool Exists(PCIDevice pciDevice)
Parameters
Type | Name | Description |
---|---|---|
PCIDevice | pciDevice |
Returns
Type | Description |
---|---|
System.Boolean |
Exists(VendorID, DeviceID)
Declaration
public static bool Exists(VendorID aVendorID, DeviceID aDeviceID)
Parameters
Type | Name | Description |
---|---|---|
VendorID | aVendorID | |
DeviceID | aDeviceID |
Returns
Type | Description |
---|---|
System.Boolean |
GetDevice(VendorID, DeviceID)
Get device.
Declaration
public static PCIDevice GetDevice(VendorID aVendorID, DeviceID aDeviceID)
Parameters
Type | Name | Description |
---|---|---|
VendorID | aVendorID | A vendor ID. |
DeviceID | aDeviceID | A device ID. |
Returns
Type | Description |
---|---|
PCIDevice |
GetDevice(UInt32, UInt32, UInt32)
Get device.
Declaration
public static PCIDevice GetDevice(uint bus, uint slot, uint function)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | bus | Bus ID. |
System.UInt32 | slot | Slot position ID. |
System.UInt32 | function | Function ID. |
Returns
Type | Description |
---|---|
PCIDevice |
GetDeviceClass(ClassID, SubclassID)
Declaration
public static PCIDevice GetDeviceClass(ClassID Class, SubclassID SubClass)
Parameters
Type | Name | Description |
---|---|---|
ClassID | Class | |
SubclassID | SubClass |
Returns
Type | Description |
---|---|
PCIDevice |
GetDeviceClass(ClassID, SubclassID, ProgramIF)
Declaration
public static PCIDevice GetDeviceClass(ClassID aClass, SubclassID aSubClass, ProgramIF aProgIF)
Parameters
Type | Name | Description |
---|---|---|
ClassID | aClass | |
SubclassID | aSubClass | |
ProgramIF | aProgIF |
Returns
Type | Description |
---|---|
PCIDevice |
Setup()
Declaration
public static void Setup()