1COMEDI_DIO_WRITE(3)                                        COMEDI_DIO_WRITE(3)
2
3
4

NAME

6       comedi_dio_write - write single bit to digital channel
7

SYNOPSIS

9       #include <comedilib.h>
10
11       int  comedi_dio_write  (comedi_t  *  device,  unsigned  int  subdevice,
12       unsigned int channel, unsigned int bit);
13

DESCRIPTION

15       The function writes the value bit to the channel channel  belonging  to
16       the  subdevice subdevice of device device.  This function is equivalent
17       to comedi_data_write(device,subdevice,channel,0,0,bit).  This  function
18       does not require a digital subdevice or a subdevice with a maximum data
19       value of 1 to work properly.
20
21       Return values and errors are the same as comedi_data_write().
22
23                                28 October 2007            COMEDI_DIO_WRITE(3)
Impressum