RTEMS Logo

RTEMS 4.8.0 On-Line Library


Discrete Driver Write to a Particular Discrete Bitfield

PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

18.7: Write to a Particular Discrete Bitfield

This corresponds to the driver write call. After validating the minor number and arguments, this call writes the indicated device. If the specified device is an ADC, then an error is usually returned.

The value written is an unsigned32 number representing the value to be written to the specified bitfield. This value is stored in the argument_block passed in to the call.

NOTE: Some discrete I/O drivers have a special minor number used to access all discrete I/O bits on the board. If this special minor is used, then the area pointed to by argument_block must be the correct size.


PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

Copyright © 1988-2007OAR Corporation