RTEMS Logo

RTEMS 4.6.1 On-Line Library


Discrete Driver Discrete I/O Driver Configuration

PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

18.2: Discrete I/O Driver Configuration

There is not a standard discrete I/O driver configuration table but some fields are common across different drivers. The discrete I/O driver configuration table is typically an array of structures with each structure containing the information for a particular board. The following is a list of the type of information normally required to configure an discrete I/O board:

board_offset
is the base address of a board.
relay_initial_values
is an array of the values that should be written to each output word on the board during initialization. This allows the driver to start with the board's output in a known state.


PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

Copyright © 1988-2004 OAR Corporation