Visitor 351 | Last updated Thursday, 20-Mar-2003 16:23:03 CST |
|
![]() |
Source Code Tour for IxPCI
Device ID
Device File
ioctl Commands
Data Structures
Registers
Examples
PCI_1002
/dev/ixpcin
The n is the IXPCI device number.
R=Readable W=Writable
Available registers that can be used in structure ixpci_reg for PCI-1002.
IXPCI_AI lets you read the 12-bit A/D data register by four modes - IXPCI_RM_RAW
, IXPCI_RM_NORMAL
, IXPCI_RM_TRIGGER
, and IXPCI_RM_READY
.
The IXPCI_RM_RAW reads the A/D data register directly and rawly, without pre-trigger and data-masking.
The IXPCI_RM_NORMAL reads the A/D data register directly and does the A/D data masking that masks out the channel bits in the data register. Example: pci1002/ai_pacer.c
The IXPCI_RM_TRIGGER does software trigger and then checks the AD_BUSY flag before reading the data register. The IXPCI_RM_TRIGGER also masks out the channel bits in the data register. Example: pci1002/ai_soft.c
The IXPCI_RM_READY checks the A/D Busy flag before reading the data register. The IXPCI_RM_READY masks out the channel bits in the data register.