#include "AX10420_types.h"#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>#include <string.h>

Go to the source code of this file.
Functions | |
| int | AX10420_GetInput (int fd, tAXGroup group, tAXPort port) |
| int | AX10420_Init (int fd, tAXGroup group, tAXIOConfigure port_a, tAXIOConfigure port_b, tAXIOConfigure port_c_upper, tAXIOConfigure port_c_lower) |
| int | AX10420_OpenDevice (const char *device_name) |
| int | AX10420_SetOutput (int fd, tAXGroup group, tAXPort port, unsigned value) |
Get Input from spezific group and port.
| fd | shows if device open. 1 = device open. |
| groub | control groups. |
| port | ports of device. |
Definition at line 100 of file UseAX10420.h.
|
inline |
Init the ports of the device.
| fd | shows if device open. 1 = device open. |
| groub | control groups. |
| port | ports of device. |
Definition at line 56 of file UseAX10420.h.
|
inline |
Copyright (c) 2016, Aumann Florian, Borella Jocelyn, Dehmani Souheil, Marek Felix, Meißner Pascal, Reckling Reno
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. Creates an open file description that refers to a the device. Which has read and write access.
| *device_name | path to device file |
Definition at line 36 of file UseAX10420.h.
Set an Output to a port and group, with a spezific value.
| fd | shows if device open. 1 = device open. |
| groub | control groups. |
| port | ports of device. |
| value | that you want send. |
Definition at line 172 of file UseAX10420.h.