Sixnet\Red Lion Controls SN-Series IOCTRL library Version 1.0
|
Declaration of Sixnet\Red Lion Controls SN-Series IOCTRL functions. More...
Go to the source code of this file.
Defines | |
#define | BT_GPIO_MINOR 3 |
#define | BT_IOCGET 0x5415 |
#define | BT_IOCBIS 0x5416 |
#define | BT_IOCBIC 0x5417 |
#define | BT_IOCSET 0x5418 |
#define | BT_REGGET 0x4201 |
#define | BT_IN1 (1<<0) |
#define | BT_OUT1 (1<<16) |
#define | HWCONFIG_MAX_PATH (512) |
#define | HWCONFIG_MAX_IO (1) |
Functions | |
void | hwConfig_SetModemModel () |
Set the modem I/O driverPath, controlDevicePath, adcControlDevicePath and defines number of available modules (DI, DO, AI). | |
int | hwControl_ioctl (int controlFd, int controlAction, int *controlBits, char *controlPath, int debug) |
Perform an IOCTRL action on an open file descriptor. | |
int | hwControl_Io_setDO (int value, int debug) |
Set the Discrete Output module (DO). | |
int | hwControl_Io_getDI (int *p_value, int debug) |
Get the status of Discrete Input. | |
int | hwControl_Io_getDO (int *p_value, int debug) |
Get the status of Discrete Output. | |
int | hwControl_Io_getAI (double *p_value, int debug) |
Get the status of Analog Input. | |
int | hwControl_Io_openControl (int debug, int *p_controlFd, char **p_controlPath) |
Open I/O control path. | |
Variables | |
unsigned char | ioNum |
char | name [32] |
char | ioPath [HWCONFIG_MAX_PATH] |
char | driverPath [HWCONFIG_MAX_PATH] |
char | controlDevicePath [HWCONFIG_MAX_PATH] |
char | adcControlDevicePath [HWCONFIG_MAX_PATH] |
unsigned char | hw_analogInputs |
unsigned char | hw_digitalInputs |
unsigned char | hw_digitalOutputs |
Declaration of Sixnet\Red Lion Controls SN-Series IOCTRL functions.
Copyright 2016 Red Lion Controls, Inc.. All rights reserved.