OpenCores
URL https://opencores.org/ocsvn/modular_oscilloscope/modular_oscilloscope/trunk

Subversion Repositories modular_oscilloscope

[/] [modular_oscilloscope/] [trunk/] [sw/] [src/] [include/] [epp_parallel_access_win.h] - Blame information for rev 60

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 60 budinero
#ifndef EPP_PARALLEL_ACCESS_WIN_H
2
#define EPP_PARALLEL_ACCESS_WIN_H
3
 
4
#include <windows.h>
5
 
6
typedef void (WINAPI *PORTOUT) (short int Port, char Data);
7
typedef void (WINAPI *PORTWORDOUT)(short int Port, short int Data);
8
typedef void (WINAPI *PORTDWORDOUT)(short int Port, int Data);
9
typedef char (WINAPI *PORTIN) (short int Port);
10
typedef short int (WINAPI *PORTWORDIN)(short int Port);
11
typedef int (WINAPI *PORTDWORDIN)(short int Port);
12
typedef void (WINAPI *SETPORTBIT)(short int Port, char Bit);
13
typedef void (WINAPI *CLRPORTBIT)(short int Port, char Bit);
14
typedef void (WINAPI *NOTPORTBIT)(short int Port, char Bit);
15
typedef short int (WINAPI *GETPORTBIT)(short int Port, char Bit);
16
typedef short int (WINAPI *RIGHTPORTSHIFT)(short int Port, short int Val);
17
typedef short int (WINAPI *LEFTPORTSHIFT)(short int Port, short int Val);
18
typedef short int (WINAPI *ISDRIVERINSTALLED)();
19
 
20
extern PORTOUT PortOut;
21
extern PORTWORDOUT PortWordOut;
22
extern PORTDWORDOUT PortDWordOut;
23
extern PORTIN PortIn;
24
extern PORTWORDIN PortWordIn;
25
extern PORTDWORDIN PortDWordIn;
26
extern SETPORTBIT SetPortBit;
27
extern CLRPORTBIT ClrPortBit;
28
extern NOTPORTBIT NotPortBit;
29
extern GETPORTBIT GetPortBit;
30
extern RIGHTPORTSHIFT RightPortShift;
31
extern LEFTPORTSHIFT LeftPortShift;
32
extern ISDRIVERINSTALLED IsDriverInstalled;
33
 
34
extern int LoadIODLL();
35
extern void UnloadIODLL();
36
 
37
#endif //EPP_PARALLEL_ACCESS_WIN_H

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.