Visitor 551 | Last updated Monday, 10-Mar-2003 12:26:25 CST |
Source Codes Tour
Device File
ioctl Commands
Data Structures
Registers
Examples
/dev/ixisan
The n is the IxISA device number.
R=Readable W=Writable
Available registers which can be used in structure ixisa_reg for A-821.
IXISA_AI lets you read this 12-bit register at one fell swoop by three modes - IXISA_RM_NORMAL
, IXISA_RM_READY
, and IXISA_RM_TRIGGER
.
IXISA_RM_NORMAL mode read register directly. IXISA_RM_READY mode checks the Ready-bit of high byte and blocks before ADC is ready. IXISA_RM_TRIGGER mode does software trigger and checks the Ready-bit of high byte.
IXISA_AI is the short term of IXISA_ANALOG_INPUT
Example: ai_soft.c, ai_pacer.c.