RTEMS Logo

RTEMS 4.7.2 On-Line Library


Analog Driver Write to a Particular Analog

PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

17.7: Write to a Particular Analog

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 a single precision floating point number representing the voltage to be written to the specified DAC. This value is stored in the argument_block passed in to the call. By passing the voltage to the device driver, the caller is freed from having to know the number of bits in the analog and board dependent conversion algorithm.


PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

Copyright © 1988-2004 OAR Corporation