00001
00002 #define RXD DIO8
00003 #define TXD DIO9
00004 #define RXD0 DIO8
00005 #define TXD0 DIO9
00006
00007 #define RXD1 DIO10
00008 #define TXD1 DIO11
00009
00010
00011 #define SCK DIO7
00012 #define MISO DIO6
00013 #define MOSI DIO5
00014 #define SS DIO4
00015
00016
00017 #define SCL DIO16
00018 #define SDA DIO17
00019
00020
00021 #define OC0A DIO3
00022 #define OC0B DIO4
00023 #define OC1A DIO13
00024 #define OC1B DIO12
00025 #define OC2A DIO15
00026 #define OC2B DIO14
00027
00028 #define DEBUG_LED DIO0
00029
00030
00031
00032
00033 #define DIO0_PIN PINB0
00034 #define DIO0_RPORT PINB
00035 #define DIO0_WPORT PORTB
00036 #define DIO0_DDR DDRB
00037
00038 #define DIO1_PIN PINB1
00039 #define DIO1_RPORT PINB
00040 #define DIO1_WPORT PORTB
00041 #define DIO1_DDR DDRB
00042
00043 #define DIO2_PIN PINB2
00044 #define DIO2_RPORT PINB
00045 #define DIO2_WPORT PORTB
00046 #define DIO2_DDR DDRB
00047
00048 #define DIO3_PIN PINB3
00049 #define DIO3_RPORT PINB
00050 #define DIO3_WPORT PORTB
00051 #define DIO3_DDR DDRB
00052
00053 #define DIO4_PIN PINB4
00054 #define DIO4_RPORT PINB
00055 #define DIO4_WPORT PORTB
00056 #define DIO4_DDR DDRB
00057
00058 #define DIO5_PIN PINB5
00059 #define DIO5_RPORT PINB
00060 #define DIO5_WPORT PORTB
00061 #define DIO5_DDR DDRB
00062
00063 #define DIO6_PIN PINB6
00064 #define DIO6_RPORT PINB
00065 #define DIO6_WPORT PORTB
00066 #define DIO6_DDR DDRB
00067
00068 #define DIO7_PIN PINB7
00069 #define DIO7_RPORT PINB
00070 #define DIO7_WPORT PORTB
00071 #define DIO7_DDR DDRB
00072
00073 #define DIO8_PIN PIND0
00074 #define DIO8_RPORT PIND
00075 #define DIO8_WPORT PORTD
00076 #define DIO8_DDR DDRD
00077
00078 #define DIO9_PIN PIND1
00079 #define DIO9_RPORT PIND
00080 #define DIO9_WPORT PORTD
00081 #define DIO9_DDR DDRD
00082
00083 #define DIO10_PIN PIND2
00084 #define DIO10_RPORT PIND
00085 #define DIO10_WPORT PORTD
00086 #define DIO10_DDR DDRD
00087
00088 #define DIO11_PIN PIND3
00089 #define DIO11_RPORT PIND
00090 #define DIO11_WPORT PORTD
00091 #define DIO11_DDR DDRD
00092
00093 #define DIO12_PIN PIND4
00094 #define DIO12_RPORT PIND
00095 #define DIO12_WPORT PORTD
00096 #define DIO12_DDR DDRD
00097
00098 #define DIO13_PIN PIND5
00099 #define DIO13_RPORT PIND
00100 #define DIO13_WPORT PORTD
00101 #define DIO13_DDR DDRD
00102
00103 #define DIO14_PIN PIND6
00104 #define DIO14_RPORT PIND
00105 #define DIO14_WPORT PORTD
00106 #define DIO14_DDR DDRD
00107
00108 #define DIO15_PIN PIND7
00109 #define DIO15_RPORT PIND
00110 #define DIO15_WPORT PORTD
00111 #define DIO15_DDR DDRD
00112
00113 #define DIO16_PIN PINC0
00114 #define DIO16_RPORT PINC
00115 #define DIO16_WPORT PORTC
00116 #define DIO16_DDR DDRC
00117
00118 #define DIO17_PIN PINC1
00119 #define DIO17_RPORT PINC
00120 #define DIO17_WPORT PORTC
00121 #define DIO17_DDR DDRC
00122
00123 #define DIO18_PIN PINC2
00124 #define DIO18_RPORT PINC
00125 #define DIO18_WPORT PORTC
00126 #define DIO18_DDR DDRC
00127
00128 #define DIO19_PIN PINC3
00129 #define DIO19_RPORT PINC
00130 #define DIO19_WPORT PORTC
00131 #define DIO19_DDR DDRC
00132
00133 #define DIO20_PIN PINC4
00134 #define DIO20_RPORT PINC
00135 #define DIO20_WPORT PORTC
00136 #define DIO20_DDR DDRC
00137
00138 #define DIO21_PIN PINC5
00139 #define DIO21_RPORT PINC
00140 #define DIO21_WPORT PORTC
00141 #define DIO21_DDR DDRC
00142
00143 #define DIO22_PIN PINC6
00144 #define DIO22_RPORT PINC
00145 #define DIO22_WPORT PORTC
00146 #define DIO22_DDR DDRC
00147
00148 #define DIO23_PIN PINC7
00149 #define DIO23_RPORT PINC
00150 #define DIO23_WPORT PORTC
00151 #define DIO23_DDR DDRC
00152
00153 #define DIO24_PIN PINA7
00154 #define DIO24_RPORT PINA
00155 #define DIO24_WPORT PORTA
00156 #define DIO24_DDR DDRA
00157
00158 #define DIO25_PIN PINA6
00159 #define DIO25_RPORT PINA
00160 #define DIO25_WPORT PORTA
00161 #define DIO25_DDR DDRA
00162
00163 #define DIO26_PIN PINA5
00164 #define DIO26_RPORT PINA
00165 #define DIO26_WPORT PORTA
00166 #define DIO26_DDR DDRA
00167
00168 #define DIO27_PIN PINA4
00169 #define DIO27_RPORT PINA
00170 #define DIO27_WPORT PORTA
00171 #define DIO27_DDR DDRA
00172
00173 #define DIO28_PIN PINA3
00174 #define DIO28_RPORT PINA
00175 #define DIO28_WPORT PORTA
00176 #define DIO28_DDR DDRA
00177
00178 #define DIO29_PIN PINA2
00179 #define DIO29_RPORT PINA
00180 #define DIO29_WPORT PORTA
00181 #define DIO29_DDR DDRA
00182
00183 #define DIO30_PIN PINA1
00184 #define DIO30_RPORT PINA
00185 #define DIO30_WPORT PORTA
00186 #define DIO30_DDR DDRA
00187
00188 #define DIO31_PIN PINA0
00189 #define DIO31_RPORT PINA
00190 #define DIO31_WPORT PORTA
00191 #define DIO31_DDR DDRA
00192
00193 #define AIO0_PIN PINA0
00194 #define AIO0_RPORT PINA
00195 #define AIO0_WPORT PORTA
00196 #define AIO0_DDR DDRA
00197
00198 #define AIO1_PIN PINA1
00199 #define AIO1_RPORT PINA
00200 #define AIO1_WPORT PORTA
00201 #define AIO1_DDR DDRA
00202
00203 #define AIO2_PIN PINA2
00204 #define AIO2_RPORT PINA
00205 #define AIO2_WPORT PORTA
00206 #define AIO2_DDR DDRA
00207
00208 #define AIO3_PIN PINA3
00209 #define AIO3_RPORT PINA
00210 #define AIO3_WPORT PORTA
00211 #define AIO3_DDR DDRA
00212
00213 #define AIO4_PIN PINA4
00214 #define AIO4_RPORT PINA
00215 #define AIO4_WPORT PORTA
00216 #define AIO4_DDR DDRA
00217
00218 #define AIO5_PIN PINA5
00219 #define AIO5_RPORT PINA
00220 #define AIO5_WPORT PORTA
00221 #define AIO5_DDR DDRA
00222
00223 #define AIO6_PIN PINA6
00224 #define AIO6_RPORT PINA
00225 #define AIO6_WPORT PORTA
00226 #define AIO6_DDR DDRA
00227
00228 #define AIO7_PIN PINA7
00229 #define AIO7_RPORT PINA
00230 #define AIO7_WPORT PORTA
00231 #define AIO7_DDR DDRA
00232
00233 #define PA0_PIN PINA0
00234 #define PA0_RPORT PINA
00235 #define PA0_WPORT PORTA
00236 #define PA0_DDR DDRA
00237 #define PA1_PIN PINA1
00238 #define PA1_RPORT PINA
00239 #define PA1_WPORT PORTA
00240 #define PA1_DDR DDRA
00241 #define PA2_PIN PINA2
00242 #define PA2_RPORT PINA
00243 #define PA2_WPORT PORTA
00244 #define PA2_DDR DDRA
00245 #define PA3_PIN PINA3
00246 #define PA3_RPORT PINA
00247 #define PA3_WPORT PORTA
00248 #define PA3_DDR DDRA
00249 #define PA4_PIN PINA4
00250 #define PA4_RPORT PINA
00251 #define PA4_WPORT PORTA
00252 #define PA4_DDR DDRA
00253 #define PA5_PIN PINA5
00254 #define PA5_RPORT PINA
00255 #define PA5_WPORT PORTA
00256 #define PA5_DDR DDRA
00257 #define PA6_PIN PINA6
00258 #define PA6_RPORT PINA
00259 #define PA6_WPORT PORTA
00260 #define PA6_DDR DDRA
00261 #define PA7_PIN PINA7
00262 #define PA7_RPORT PINA
00263 #define PA7_WPORT PORTA
00264 #define PA7_DDR DDRA
00265
00266 #define PB0_PIN PINB0
00267 #define PB0_RPORT PINB
00268 #define PB0_WPORT PORTB
00269 #define PB0_DDR DDRB
00270 #define PB1_PIN PINB1
00271 #define PB1_RPORT PINB
00272 #define PB1_WPORT PORTB
00273 #define PB1_DDR DDRB
00274 #define PB2_PIN PINB2
00275 #define PB2_RPORT PINB
00276 #define PB2_WPORT PORTB
00277 #define PB2_DDR DDRB
00278 #define PB3_PIN PINB3
00279 #define PB3_RPORT PINB
00280 #define PB3_WPORT PORTB
00281 #define PB3_DDR DDRB
00282 #define PB4_PIN PINB4
00283 #define PB4_RPORT PINB
00284 #define PB4_WPORT PORTB
00285 #define PB4_DDR DDRB
00286 #define PB5_PIN PINB5
00287 #define PB5_RPORT PINB
00288 #define PB5_WPORT PORTB
00289 #define PB5_DDR DDRB
00290 #define PB6_PIN PINB6
00291 #define PB6_RPORT PINB
00292 #define PB6_WPORT PORTB
00293 #define PB6_DDR DDRB
00294 #define PB7_PIN PINB7
00295 #define PB7_RPORT PINB
00296 #define PB7_WPORT PORTB
00297 #define PB7_DDR DDRB
00298
00299 #define PC0_PIN PINC0
00300 #define PC0_RPORT PINC
00301 #define PC0_WPORT PORTC
00302 #define PC0_DDR DDRC
00303 #define PC1_PIN PINC1
00304 #define PC1_RPORT PINC
00305 #define PC1_WPORT PORTC
00306 #define PC1_DDR DDRC
00307 #define PC2_PIN PINC2
00308 #define PC2_RPORT PINC
00309 #define PC2_WPORT PORTC
00310 #define PC2_DDR DDRC
00311 #define PC3_PIN PINC3
00312 #define PC3_RPORT PINC
00313 #define PC3_WPORT PORTC
00314 #define PC3_DDR DDRC
00315 #define PC4_PIN PINC4
00316 #define PC4_RPORT PINC
00317 #define PC4_WPORT PORTC
00318 #define PC4_DDR DDRC
00319 #define PC5_PIN PINC5
00320 #define PC5_RPORT PINC
00321 #define PC5_WPORT PORTC
00322 #define PC5_DDR DDRC
00323 #define PC6_PIN PINC6
00324 #define PC6_RPORT PINC
00325 #define PC6_WPORT PORTC
00326 #define PC6_DDR DDRC
00327 #define PC7_PIN PINC7
00328 #define PC7_RPORT PINC
00329 #define PC7_WPORT PORTC
00330 #define PC7_DDR DDRC
00331
00332 #define PD0_PIN PIND0
00333 #define PD0_RPORT PIND
00334 #define PD0_WPORT PORTD
00335 #define PD0_DDR DDRD
00336 #define PD1_PIN PIND1
00337 #define PD1_RPORT PIND
00338 #define PD1_WPORT PORTD
00339 #define PD1_DDR DDRD
00340 #define PD2_PIN PIND2
00341 #define PD2_RPORT PIND
00342 #define PD2_WPORT PORTD
00343 #define PD2_DDR DDRD
00344 #define PD3_PIN PIND3
00345 #define PD3_RPORT PIND
00346 #define PD3_WPORT PORTD
00347 #define PD3_DDR DDRD
00348 #define PD4_PIN PIND4
00349 #define PD4_RPORT PIND
00350 #define PD4_WPORT PORTD
00351 #define PD4_DDR DDRD
00352 #define PD5_PIN PIND5
00353 #define PD5_RPORT PIND
00354 #define PD5_WPORT PORTD
00355 #define PD5_DDR DDRD
00356 #define PD6_PIN PIND6
00357 #define PD6_RPORT PIND
00358 #define PD6_WPORT PORTD
00359 #define PD6_DDR DDRD
00360 #define PD7_PIN PIND7
00361 #define PD7_RPORT PIND
00362 #define PD7_WPORT PORTD
00363 #define PD7_DDR DDRD