IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


PCI - PCI bus API


Detailed Description

The PCI API implementation of the @CHIP-RTOS-PPC provides the following features:

PCI API types and data structures

Functions

void pci66MHz (BOOL enable)
 Allow or disallow a PCI clock of 66 MHz.
PciDevicepciInit (PciId *pciId)
 Initialize the PCI bus and register a user driver for a device.
int pciDeinit (PciDevice *pciDevice)
 Deregister a user driver for a device.
int pciMap (PciDevice *pciDevice, PciBar bar)
 Map memory address space or I/O address space of a PCI device.
BYTE pciReadConfigByte (PciDevice *pciDevice, BYTE offset)
 Read byte in configuration space of PCI device.
WORD pciReadConfigWord (PciDevice *pciDevice, BYTE offset)
 Read word in configuration space of PCI device.
DWORD pciReadConfigDword (PciDevice *pciDevice, BYTE offset)
 Read double word in configuration space of PCI device.
void pciWriteConfigByte (PciDevice *pciDevice, BYTE offset, BYTE val)
 Write byte in configuration space of PCI device.
void pciWriteConfigWord (PciDevice *pciDevice, BYTE offset, WORD val)
 Write word in configuration space of PCI device.
void pciWriteConfigDword (PciDevice *pciDevice, BYTE offset, DWORD val)
 Write double word in configuration space of PCI device.





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:36 2017 by Doxygen 1.6.1