RTLinux device driver for Computer Boards CIO-PDISO16 digital I/O board


The CIO- PDISO16 is a digital I/O board that has 2*8 relay channels and 2*8 digital inputs. The state of the relays may be determined by a read from the control port address. Programming is accomplished by writes and reads to the 8- bit ports. Each bit indicates the state of an input or controls an output. Pdiso16 is the RTLinux device driver written by Integrated Real Time Systems (IRTS). The driver has been implemented as a Linux loadable module for RTLinux 2.2a (2.2.14 Linux kernel). This document explains the functionalities of the pdiso16 device driver and the programmer's C-interface library for it.

1. Introduction

2. pdiso16 kernel module

3. Ioctl() calls

4. Write() call

5. Read() call

6. Calls from Linux user space : using RT-FIFOs

7. Miscellaneous

Next Previous Contents         Home
Nicolas Ferre 2000-05-10