///////////////////////////////////////////////////////////
//
//  Datentypen und Prototypen für KOLTER.DLL
//
///////////////////////////////////////////////////////////

#ifndef __KOLTER_H
#define __KOLTER_H

//
//	neue Datentypen
typedef unsigned short int UINT16;
typedef unsigned char UINT8;

//
//	Funktionsprototypen
#ifdef __cplusplus
	extern "C" {
#endif
//
// Intern
VOID Outp_Karte01 (UINT16 iIoAdresse, UINT8 iWert);
UINT8 Inp_Karte01 (UINT16 iIoAdresse);

//
// Universal I/O
VOID Out_KOLTER (UINT16 iIoAdresse, UINT8 iWert);
UINT8 Inp_KOLTER (UINT16 iIoAdresse);

//
// KOLTER KARTEN:
// pci-ad 16-bit Wert zurückgeben 
//
UINT16 get_pciad1(UINT16 adr, UINT8 kanal);
VOID set_pcidac1 (UINT16 adr, UINT8 low, UINT8 high);
VOID set_pcidac2 (UINT16 adr, UINT8 low, UINT8 high);
VOID set_pcidac3 (UINT16 adr, UINT8 low, UINT8 high);
VOID set_pcidac4 (UINT16 adr, UINT8 low, UINT8 high);
VOID set_pcido (UINT16 adr, UINT8 bit0);
UINT8 get_pcidi (UINT16 adr);
//
// KOLTER KARTEN +++ END +++
//

#ifdef __cplusplus
	}
#endif
#endif	//	#ifndef __KOLTER_H
