Herunterladen Inhalt Inhalt Diese Seite drucken

Phoenix Contact IBS PCI DDK UM Anwenderhandbuch Seite 140

Device driver development kit zu anschaltbaugruppen für pc-systeme mit pci-bus
Inhaltsverzeichnis

Werbung

IBS PCI DDK UM
Ihr os_inc.h
6-10
#define IbsWriteIOPort(addr, dataByte) (sysOutByte((addr), (USIGN8)dataByte))
#define IbsWriteIOPort16(addr, dataByte) (sysOutWord((addr), (USIGN16)
dataByte))
typedef USIGN32 NTSTATUS;
...
...
Ihr OS:
#ifdef IBS_ IhrOS_VERSION
typedef „IhrDatantyp" T_BIN_SEMAPHORE;
...
...
#define IbsReadIOPort(addr) („IhreReadIOPortFunktion"(addr)))
...
...
Hier findet die „Verteilung" auf die verschiedenen HeaderFiles, je nach Be-
triebssystem statt.
Windows NT:
#ifdef IBS_WIN_NT_VERSION
/**/
#include <stddef.h>
#include <ntddk.h>
#include <string.h>
#include <stdio.h>
#include <devioctl.h>
#include "sys/nt_kernl.h"
/**/
#endif
/* selects the "IhrOS"-funtionality */
6189A

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis