PCI-P16R16/P16C16/P16POR16

Visitor 371 Last updated Monday, 10-Mar-2003 12:17:11 CST

Supported Models
PCI-1002
PCI-1202
PCI-1602
PCI-1800/1802
PCI-P16R16/P16C16/P16POR16
PCI-P8R8
PCI-TMC12
Valid XHTML 1.0! Valid CSS!

Source Code Tour for IxPCI
Device ID
Device File
ioctl Commands
Data Structures
Registers
Examples

Device ID

PCI_P16R16 PCI_P16C16 PCI_P16POR16

Device File

/dev/ixpcin

The n is the IXPCI device number.

ioctl Commands

IXPCI_GET_INFO
Retrieve a device's information, and put it into the ixpci_devinfo (ixpci_devinfo_t) structure. Example: list.c.
IXPCI_IOCTL_DI
Digital input. Example: pcip16x16/dio.c
IXPCI_IOCTL_DO
Digital output. Example: pcip16x16/dio.c

Data Structures

ixpci_devinfo_t
The data type of structure ixpci_devinfo which contains a device's id, base address, and so on. Example: list.c

Registers

R=Readable  W=Writable

There is no register available for PCI-P16R16/P16C16/P16POR16.

Examples

list.c
An example for ioctl command IXPCI_GET_INFO.
pcip16x16/dio.c
An example for digital I/O and ioctl commands IXPCI_IOCTL_DI and IXPCI_IOCTL_DO.

Emmy Tsai <emmy@icpdas.com> | Service from ICPDAS <service@icpdas.com>