DRV-LNX
Device Driver for Linux A Device Driver is required for the communication between the Communication Interface and the PC applications under the Linux operating system. The driver contains the complete management of the interface and has a simple interface. The user is responsible only for the transfer of the correct parameters to the Device Driver. All dependencies on the operating system such as interrupt management and time monitoring are carried out by the driver. Therefore, the user interface is independent of the operating system. The driver works together with all our Communication Interfaces and comprises all functions for initialising, parameterising, exchange of data and retrieval of status information. The driver works in Polling or Interrupt operation and services a maximum of four cards in one PC. However, the card can be utilised as ISA, PCI or PC/104. The functions of the Device Driver are independent of the fieldbus system. The access to the variables in the process image is fully identical. What is different are the parameters of the diagnostic and status structures, as well as fieldbus-specific commands. Associated definitions are included as header files. The driver is supplied together with the setup program and test program in source code. This makes the first time use easy. | Facts at a glance:
| |
Product | DRV-LNX | |
Description | Device Driver for Linux | |
Related products | Communication Interface CIF Communication Module COM Embedded Communication Controller EC1 | |
Operating system | Linux | |
Driver type | 32 Bit Kernel Driver runs in Kernel space | |
API | Object file (cifAPI.o) | |
Mode | Polling, Interrupt | |
Cards per PC | max. 4 | |
Card types | ISA, PCI, PC/104 | |
Function | Opening and closing the driver Initialisation of the PC card Access to the process variables Write and read commands Writing parameters Reading of status information Read-out of system information Watchdog function | |
Development environment | Linux Kernel from 2.2.10 gcc GTK+ 1.2.8 (for driver test application) |
Copyright 2014 - Hilscher