PISO-PS300

Visitor 83 Last updated Tuesday, 18-Nov-2003 11:21:55 CST

Supported Models
PIO-821
PIO-D144
PIO-D168
PIO-D24
PIO-D48
PIO-D56
PIO-D64
PIO-D96
PIO-DA16/DA8/DA4
PISO-725
PISO-730
PISO-730A
PISO-813
PISO-A64
PISO-C64
PISO-DA2
PISO-ENC300/600
PISO-P32A32
PISO-P32C32
PISO-P64
PISO-P8R8/P8SSR8AC/P8SSR8DC
PISO-PS300
Valid XHTML 1.0! Valid CSS!

Source Codes Tour
Device File
ioctl Commands
Data Types
Registers
Examples

Device File

/dev/ixpion

The n is the PIO device number.

ioctl Commands

IXPIO_GET_INFO
Retrieve a device's information, and put it into the ixpio_devinfo (ixpio_devinfo_t) structure.
IXPIO_REG_READ
Read a specified register's value, and put the value into the ixpio_reg (ixpio_reg_t) structure.
IXPIO_REG_WRITE
Write a given value to a specified register.

Data Types

ixpio_devinfo_t
The data type of structure ixpio_devinfo which contains information to represent a device (card). This structure is generally used by the ioctl IXPIO_GET_INFO command.
ixpio_reg_t
The data type of structure ixpio_reg that contains a register's id and value. This structure is used by the ioctl IXPIO_REG* commands.

Registers

Available registers that can be used in the ixpio_reg structure for the PISO-PS300.

IXPIO_FIFO1
FIFO1 Register (W)
IXPIO_FIFO2
FIFO2 Register (R)
IXPIO_RR
RSTFIFO1 Register (W)
IXPIO_MR
MSC Register (R)
IXPIO_DI
The whole digital inputs (R)
IXPIO_DO
The whole digital outputs (W)
IXPIO_TJ_CNTL
set reset and others (W)
IXPIO_TJ_AUXC
AUX pin control register 1:output (W)

Examples

list.c
An example for gatting device information.
pisops300/demo1.c
An example for hand wheel input.
pisops300/demo2.c
An example for hand wheel input.

Emmy Tsai <emmy@icpdas.com> | We are at Your Service <service@icpdas.com>