Netcruzer Library API
V2.03
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Macros
Groups
Pages
nz_im4mos.h
Go to the documentation of this file.
1
52
#ifndef IM4MOS_H
53
#define IM4MOS_H
54
55
57
//Buttons
58
59
#if defined(IM4MOS_ENABLE_MULTI_PORT_FUNCTIONS)
60
#define im4mos_WriteOutput2Imod0(port, value) (imod_SetPin2(port, value))
61
#define im4mos_WriteOutput3Imod0(port, value) (imod_SetPin3(port, value))
62
#define im4mos_WriteOutput4Imod0(port, value) (imod_SetPin4(port, value))
63
#define im4mos_WriteOutput5Imod0(port, value) (imod_SetPin5(port, value))
64
#endif
65
66
#if defined(IMOD0_IS_IM4MOS)
67
#define imod0_WriteOutput2(value) (imod0_SetPin2(value))
68
#define im4mos_WriteOutput2Imod0(value) (imod0_SetPin2(value))
69
#define imod0_WriteOutput3(value) (imod0_SetPin3(value))
70
#define im4mos_WriteOutput3Imod0(value) (imod0_SetPin3(value))
71
#define imod0_WriteOutput4(value) (imod0_SetPin4(value))
72
#define im4mos_WriteOutput4Imod0(value) (imod0_SetPin4(value))
73
#define imod0_WriteOutput5(value) (imod0_SetPin5(value))
74
#define im4mos_WriteOutput5Imod0(value) (imod0_SetPin5(value))
75
#endif
76
77
#if defined(IMOD1_IS_IM4MOS)
78
#define imod1_WriteOutput2(value) (imod1_WritePin2(value))
79
#define im4mos_WriteOutput2Imod1(value) (imod1_WritePin2(value))
80
#define imod1_WriteOutput3(value) (imod1_WritePin3(value))
81
#define im4mos_WriteOutput3Imod1(value) (imod1_WritePin3(value))
82
#define imod1_WriteOutput4(value) (imod1_WritePin4(value))
83
#define im4mos_WriteOutput4Imod1(value) (imod1_WritePin4(value))
84
#define imod1_WriteOutput5(value) (imod1_WritePin5(value))
85
#define im4mos_WriteOutput5Imod1(value) (imod1_WritePin5(value))
86
#endif
87
88
#if defined(IMOD2_IS_IM4MOS)
89
#define imod2_WriteOutput2(value) (imod2_WritePin2(value))
90
#define im4mos_WriteOutput2Imod2(value) (imod2_WritePin2(value))
91
#define imod2_WriteOutput3(value) (imod2_WritePin3(value))
92
#define im4mos_WriteOutput3Imod2(value) (imod2_WritePin3(value))
93
#define imod2_WriteOutput4(value) (imod2_WritePin4(value))
94
#define im4mos_WriteOutput4Imod2(value) (imod2_WritePin4(value))
95
#define imod2_WriteOutput5(value) (imod2_WritePin5(value))
96
#define im4mos_WriteOutput5Imod2(value) (imod2_WritePin5(value))
97
#endif
98
99
#if defined(IMOD3_IS_IM4MOS)
100
#define imod3_WriteOutput2(value) (imod3_SetPin2(value))
101
#define im4mos_WriteOutput2Imod3(value) (imod3_SetPin2(value))
102
#define imod3_WriteOutput3(value) (imod3_SetPin3(value))
103
#define im4mos_WriteOutput3Imod3(value) (imod3_SetPin3(value))
104
#define imod3_WriteOutput4(value) (imod3_SetPin4(value))
105
#define im4mos_WriteOutput4Imod3(value) (imod3_SetPin4(value))
106
#define imod3_WriteOutput5(value) (imod3_SetPin5(value))
107
#define im4mos_WriteOutput5Imod3(value) (imod3_SetPin5(value))
108
#endif
109
110
#if defined(IMOD4_IS_IM4MOS)
111
#define imod4_WriteOutput2(value) (imod4_SetPin2(value))
112
#define im4mos_WriteOutput2Imod4(value) (imod4_SetPin2(value))
113
#define imod4_WriteOutput3(value) (imod4_SetPin3(value))
114
#define im4mos_WriteOutput3Imod4(value) (imod4_SetPin3(value))
115
#define imod4_WriteOutput4(value) (imod4_SetPin4(value))
116
#define im4mos_WriteOutput4Imod4(value) (imod4_SetPin4(value))
117
#define imod4_WriteOutput5(value) (imod4_SetPin5(value))
118
#define im4mos_WriteOutput5Imod4(value) (imod4_SetPin5(value))
119
#endif
120
121
#if defined(IMOD5_IS_IM4MOS)
122
#define imod5_WriteOutput2(value) (imod5_SetPin2(value))
123
#define im4mos_WriteOutput2Imod5(value) (imod5_SetPin2(value))
124
#define imod5_WriteOutput3(value) (imod5_SetPin3(value))
125
#define im4mos_WriteOutput3Imod5(value) (imod5_SetPin3(value))
126
#define imod5_WriteOutput4(value) (imod5_SetPin4(value))
127
#define im4mos_WriteOutput4Imod5(value) (imod5_SetPin4(value))
128
#define imod5_WriteOutput5(value) (imod5_SetPin5(value))
129
#define im4mos_WriteOutput5Imod5(value) (imod5_SetPin5(value))
130
#endif
131
132
#if defined(IMOD6_IS_IM4MOS)
133
#define imod6_WriteOutput2(value) (imod6_SetPin2(value))
134
#define im4mos_WriteOutput2Imod6(value) (imod6_SetPin2(value))
135
#define imod6_WriteOutput3(value) (imod6_SetPin3(value))
136
#define im4mos_WriteOutput3Imod6(value) (imod6_SetPin3(value))
137
#define imod6_WriteOutput4(value) (imod6_SetPin4(value))
138
#define im4mos_WriteOutput4Imod6(value) (imod6_SetPin4(value))
139
#define imod6_WriteOutput5(value) (imod6_SetPin5(value))
140
#define im4mos_WriteOutput5Imod6(value) (imod6_SetPin5(value))
141
#endif
142
143
#if defined(IMOD7_IS_IM4MOS)
144
#define imod7_WriteOutput2(value) (imod7_SetPin2(value))
145
#define im4mos_WriteOutput2Imod7(value) (imod7_SetPin2(value))
146
#define imod7_WriteOutput3(value) (imod7_SetPin3(value))
147
#define im4mos_WriteOutput3Imod7(value) (imod7_SetPin3(value))
148
#define imod7_WriteOutput4(value) (imod7_SetPin4(value))
149
#define im4mos_WriteOutput4Imod7(value) (imod7_SetPin4(value))
150
#define imod7_WriteOutput5(value) (imod7_SetPin5(value))
151
#define im4mos_WriteOutput5Imod7(value) (imod7_SetPin5(value))
152
#endif
153
154
#if defined(IMOD8_IS_IM4MOS)
155
#define imod8_WriteOutput2(value) (imod8_SetPin2(value))
156
#define im4mos_WriteOutput2Imod8(value) (imod8_SetPin2(value))
157
#define imod8_WriteOutput3(value) (imod8_SetPin3(value))
158
#define im4mos_WriteOutput3Imod8(value) (imod8_SetPin3(value))
159
#define imod8_WriteOutput4(value) (imod8_SetPin4(value))
160
#define im4mos_WriteOutput4Imod8(value) (imod8_SetPin4(value))
161
#define imod8_WriteOutput5(value) (imod8_SetPin5(value))
162
#define im4mos_WriteOutput5Imod8(value) (imod8_SetPin5(value))
163
#endif
164
165
#if defined(IMOD9_IS_IM4MOS)
166
#define imod9_WriteOutput2(value) (imod9_SetPin2(value))
167
#define im4mos_WriteOutput2Imod9(value) (imod9_SetPin2(value))
168
#define imod9_WriteOutput3(value) (imod9_SetPin3(value))
169
#define im4mos_WriteOutput3Imod9(value) (imod9_SetPin3(value))
170
#define imod9_WriteOutput4(value) (imod9_SetPin4(value))
171
#define im4mos_WriteOutput4Imod9(value) (imod9_SetPin4(value))
172
#define imod9_WriteOutput5(value) (imod9_SetPin5(value))
173
#define im4mos_WriteOutput5Imod9(value) (imod9_SetPin5(value))
174
#endif
175
176
#if defined(IMOD10_IS_IM4MOS)
177
#define imod10_WriteOutput2(value) (imod10_SetPin2(value))
178
#define im4mos_WriteOutput2Imod10(value) (imod10_SetPin2(value))
179
#define imod10_WriteOutput3(value) (imod10_SetPin3(value))
180
#define im4mos_WriteOutput3Imod10(value) (imod10_SetPin3(value))
181
#define imod10_WriteOutput4(value) (imod10_SetPin4(value))
182
#define im4mos_WriteOutput4Imod10(value) (imod10_SetPin4(value))
183
#define imod10_WriteOutput5(value) (imod10_SetPin5(value))
184
#define im4mos_WriteOutput5Imod10(value) (imod10_SetPin5(value))
185
#endif
186
187
191
void
im4mos_Init
(BYTE imodPort);
192
193
194
195
196
197
198
#endif
netcruzer
lib
nz_im4mos.h
Generated on Tue Dec 9 2014 15:08:19 for Netcruzer Library API by
1.8.4