DAS  3.1.6 - 18/09/2017
portio32.h
Go to the documentation of this file.
1 #ifndef PORTIO32_H
2 #define PORTIO32_H
3 
4 #ifdef __cplusplus
5 #define PREFUNCTION extern "C"
6 #else
7 #define PREFUNCTION extern
8 #endif
9 
10 // On Windows platforms, specify that all these functions should
11 // be called using the Standard Call calling convention.
12 #ifdef WIN32
13 #define MIDFUNCTION __stdcall
14 #else
15 // Otherwise, define MIDFUNCTION as being nothing
16 #define MIDFUNCTION
17 #endif
18 
19 
20 PREFUNCTION int MIDFUNCTION OutByte(unsigned short Port, int Data);
21 PREFUNCTION int MIDFUNCTION OutWord(unsigned short Port, int Data);
22 PREFUNCTION int MIDFUNCTION InByte(unsigned short Port, int* Data);
23 PREFUNCTION int MIDFUNCTION InWord(unsigned short Port, int* Data);
24 PREFUNCTION int MIDFUNCTION InByteR(unsigned short Port);
25 PREFUNCTION int MIDFUNCTION InWordR(unsigned short Port);
26 
27 #endif //PORTIO32_H
PREFUNCTION int MIDFUNCTION OutWord(unsigned short Port, int Data)
PREFUNCTION int MIDFUNCTION OutByte(unsigned short Port, int Data)
PREFUNCTION int MIDFUNCTION InByte(unsigned short Port, int *Data)
PREFUNCTION int MIDFUNCTION InWordR(unsigned short Port)
#define MIDFUNCTION
Definition: portio32.h:16
PREFUNCTION int MIDFUNCTION InByteR(unsigned short Port)
#define PREFUNCTION
Definition: portio32.h:7
unsigned char Port
PREFUNCTION int MIDFUNCTION InWord(unsigned short Port, int *Data)
______________________________________________________________________________________
Generated on Mon Sep 18 2017 11:44:09 for DAS - Rel. 3.1.6 - 18/09/2017.