Rechercher une page de manuel
comedi_dio_get_config
Langue: en
Version: 28 October 2007 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
comedi_dio_get_config - query input/output properties of channelSYNOPSIS
#include <comedilib.h>
int comedi_dio_get_config (comedi_t * device, unsigned int subdevice, unsigned int channel, unsigned int * direction);
DESCRIPTION
The function comedi_dio_get_config() querys the configuration of an individual channel in a digital I/O subdevice (see comedi_dio_config()). On success, the variable specified by the "direction" pointer will be set to either COMEDI_INPUT or COMEDI_OUTPUT.
If sucessful, 0 is returned, otherwise -1.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre