NAME
dtoa - digital-to-analog converter user functions
SYNOPSIS
#include <dtoa_u.h>
dareset()
dawrite(chan, output)
int chan;
short output;
DESCRIPTION
dareset
clears all channels on all digital-to-analog converters.
dawrite
writes the value output to the digital-to-analog converter channel
specified by
chan.
FILES
- /dev/dacX
-
path name for digital-to-analog device(channel) X
SEE ALSO
dtoa(4F)
DIAGNOSTICS
If an illegal channel number is passed to
dawrite
a -1 is returned. Channel numbers range from 1 to
n
where
n
is the number of devices specified in the configuration.