00001
00002 #define RXD DIO0
00003 #define TXD DIO1
00004
00005
00006 #define SCK DIO13
00007 #define MISO DIO12
00008 #define MOSI DIO11
00009 #define SS DIO10
00010
00011
00012 #define SCL AIO5
00013 #define SDA AIO4
00014
00015
00016 #define OC0A DIO6
00017 #define OC0B DIO5
00018 #define OC1A DIO9
00019 #define OC1B DIO10
00020 #define OC2A DIO11
00021 #define OC2B DIO3
00022
00023
00024 #define DEBUG_LED SCK
00025
00026
00027
00028 #define DIO0_PIN PIND0
00029 #define DIO0_RPORT PIND
00030 #define DIO0_WPORT PORTD
00031 #define DIO0_DDR DDRD
00032 #define DIO0_PWM NULL
00033
00034 #define DIO1_PIN PIND1
00035 #define DIO1_RPORT PIND
00036 #define DIO1_WPORT PORTD
00037 #define DIO1_DDR DDRD
00038 #define DIO1_PWM NULL
00039
00040 #define DIO2_PIN PIND2
00041 #define DIO2_RPORT PIND
00042 #define DIO2_WPORT PORTD
00043 #define DIO2_DDR DDRD
00044 #define DIO2_PWM NULL
00045
00046 #define DIO3_PIN PIND3
00047 #define DIO3_RPORT PIND
00048 #define DIO3_WPORT PORTD
00049 #define DIO3_DDR DDRD
00050 #define DIO3_PWM &OCR2B
00051
00052 #define DIO4_PIN PIND4
00053 #define DIO4_RPORT PIND
00054 #define DIO4_WPORT PORTD
00055 #define DIO4_DDR DDRD
00056 #define DIO4_PWM NULL
00057
00058 #define DIO5_PIN PIND5
00059 #define DIO5_RPORT PIND
00060 #define DIO5_WPORT PORTD
00061 #define DIO5_DDR DDRD
00062 #define DIO5_PWM &OCR0B
00063
00064 #define DIO6_PIN PIND6
00065 #define DIO6_RPORT PIND
00066 #define DIO6_WPORT PORTD
00067 #define DIO6_DDR DDRD
00068 #define DIO6_PWM &OCR0A
00069
00070 #define DIO7_PIN PIND7
00071 #define DIO7_RPORT PIND
00072 #define DIO7_WPORT PORTD
00073 #define DIO7_DDR DDRD
00074 #define DIO7_PWM NULL
00075
00076 #define DIO8_PIN PINB0
00077 #define DIO8_RPORT PINB
00078 #define DIO8_WPORT PORTB
00079 #define DIO8_DDR DDRB
00080 #define DIO8_PWM NULL
00081
00082 #define DIO9_PIN PINB1
00083 #define DIO9_RPORT PINB
00084 #define DIO9_WPORT PORTB
00085 #define DIO9_DDR DDRB
00086 #define DIO9_PWM NULL
00087
00088 #define DIO10_PIN PINB2
00089 #define DIO10_RPORT PINB
00090 #define DIO10_WPORT PORTB
00091 #define DIO10_DDR DDRB
00092 #define DIO10_PWM NULL
00093
00094 #define DIO11_PIN PINB3
00095 #define DIO11_RPORT PINB
00096 #define DIO11_WPORT PORTB
00097 #define DIO11_DDR DDRB
00098 #define DIO11_PWM &OCR2A
00099
00100 #define DIO12_PIN PINB4
00101 #define DIO12_RPORT PINB
00102 #define DIO12_WPORT PORTB
00103 #define DIO12_DDR DDRB
00104 #define DIO12_PWM NULL
00105
00106 #define DIO13_PIN PINB5
00107 #define DIO13_RPORT PINB
00108 #define DIO13_WPORT PORTB
00109 #define DIO13_DDR DDRB
00110 #define DIO13_PWM NULL
00111
00112
00113 #define AIO0_PIN PINC0
00114 #define AIO0_RPORT PINC
00115 #define AIO0_WPORT PORTC
00116 #define AIO0_DDR DDRC
00117 #define AIO0_PWM NULL
00118
00119 #define AIO1_PIN PINC1
00120 #define AIO1_RPORT PINC
00121 #define AIO1_WPORT PORTC
00122 #define AIO1_DDR DDRC
00123 #define AIO1_PWM NULL
00124
00125 #define AIO2_PIN PINC2
00126 #define AIO2_RPORT PINC
00127 #define AIO2_WPORT PORTC
00128 #define AIO2_DDR DDRC
00129 #define AIO2_PWM NULL
00130
00131 #define AIO3_PIN PINC3
00132 #define AIO3_RPORT PINC
00133 #define AIO3_WPORT PORTC
00134 #define AIO3_DDR DDRC
00135 #define AIO3_PWM NULL
00136
00137 #define AIO4_PIN PINC4
00138 #define AIO4_RPORT PINC
00139 #define AIO4_WPORT PORTC
00140 #define AIO4_DDR DDRC
00141 #define AIO4_PWM NULL
00142
00143 #define AIO5_PIN PINC5
00144 #define AIO5_RPORT PINC
00145 #define AIO5_WPORT PORTC
00146 #define AIO5_DDR DDRC
00147 #define AIO5_PWM NULL
00148
00149 #define AIO6_PIN PINC6
00150 #define AIO6_RPORT PINC
00151 #define AIO6_WPORT PORTC
00152 #define AIO6_DDR DDRC
00153 #define AIO6_PWM NULL
00154
00155 #define AIO7_PIN PINC7
00156 #define AIO7_RPORT PINC
00157 #define AIO7_WPORT PORTC
00158 #define AIO7_DDR DDRC
00159 #define AIO7_PWM NULL
00160
00161
00162 #undef PB0
00163 #define PB0_PIN PINB0
00164 #define PB0_RPORT PINB
00165 #define PB0_WPORT PORTB
00166 #define PB0_DDR DDRB
00167 #define PB0_PWM NULL
00168
00169 #undef PB1
00170 #define PB1_PIN PINB1
00171 #define PB1_RPORT PINB
00172 #define PB1_WPORT PORTB
00173 #define PB1_DDR DDRB
00174 #define PB1_PWM NULL
00175
00176 #undef PB2
00177 #define PB2_PIN PINB2
00178 #define PB2_RPORT PINB
00179 #define PB2_WPORT PORTB
00180 #define PB2_DDR DDRB
00181 #define PB2_PWM NULL
00182
00183 #undef PB3
00184 #define PB3_PIN PINB3
00185 #define PB3_RPORT PINB
00186 #define PB3_WPORT PORTB
00187 #define PB3_DDR DDRB
00188 #define PB3_PWM &OCR2A
00189
00190 #undef PB4
00191 #define PB4_PIN PINB4
00192 #define PB4_RPORT PINB
00193 #define PB4_WPORT PORTB
00194 #define PB4_DDR DDRB
00195 #define PB4_PWM NULL
00196
00197 #undef PB5
00198 #define PB5_PIN PINB5
00199 #define PB5_RPORT PINB
00200 #define PB5_WPORT PORTB
00201 #define PB5_DDR DDRB
00202 #define PB5_PWM NULL
00203
00204 #undef PB6
00205 #define PB6_PIN PINB6
00206 #define PB6_RPORT PINB
00207 #define PB6_WPORT PORTB
00208 #define PB6_DDR DDRB
00209 #define PB6_PWM NULL
00210
00211 #undef PB7
00212 #define PB7_PIN PINB7
00213 #define PB7_RPORT PINB
00214 #define PB7_WPORT PORTB
00215 #define PB7_DDR DDRB
00216 #define PB7_PWM NULL
00217
00218
00219 #undef PC0
00220 #define PC0_PIN PINC0
00221 #define PC0_RPORT PINC
00222 #define PC0_WPORT PORTC
00223 #define PC0_DDR DDRC
00224 #define PC0_PWM NULL
00225
00226 #undef PC1
00227 #define PC1_PIN PINC1
00228 #define PC1_RPORT PINC
00229 #define PC1_WPORT PORTC
00230 #define PC1_DDR DDRC
00231 #define PC1_PWM NULL
00232
00233 #undef PC2
00234 #define PC2_PIN PINC2
00235 #define PC2_RPORT PINC
00236 #define PC2_WPORT PORTC
00237 #define PC2_DDR DDRC
00238 #define PC2_PWM NULL
00239
00240 #undef PC3
00241 #define PC3_PIN PINC3
00242 #define PC3_RPORT PINC
00243 #define PC3_WPORT PORTC
00244 #define PC3_DDR DDRC
00245 #define PC3_PWM NULL
00246
00247 #undef PC4
00248 #define PC4_PIN PINC4
00249 #define PC4_RPORT PINC
00250 #define PC4_WPORT PORTC
00251 #define PC4_DDR DDRC
00252 #define PC4_PWM NULL
00253
00254 #undef PC5
00255 #define PC5_PIN PINC5
00256 #define PC5_RPORT PINC
00257 #define PC5_WPORT PORTC
00258 #define PC5_DDR DDRC
00259 #define PC5_PWM NULL
00260
00261 #undef PC6
00262 #define PC6_PIN PINC6
00263 #define PC6_RPORT PINC
00264 #define PC6_WPORT PORTC
00265 #define PC6_DDR DDRC
00266 #define PC6_PWM NULL
00267
00268 #undef PC7
00269 #define PC7_PIN PINC7
00270 #define PC7_RPORT PINC
00271 #define PC7_WPORT PORTC
00272 #define PC7_DDR DDRC
00273 #define PC7_PWM NULL
00274
00275
00276 #undef PD0
00277 #define PD0_PIN PIND0
00278 #define PD0_RPORT PIND
00279 #define PD0_WPORT PORTD
00280 #define PD0_DDR DDRD
00281 #define PD0_PWM NULL
00282
00283 #undef PD1
00284 #define PD1_PIN PIND1
00285 #define PD1_RPORT PIND
00286 #define PD1_WPORT PORTD
00287 #define PD1_DDR DDRD
00288 #define PD1_PWM NULL
00289
00290 #undef PD2
00291 #define PD2_PIN PIND2
00292 #define PD2_RPORT PIND
00293 #define PD2_WPORT PORTD
00294 #define PD2_DDR DDRD
00295 #define PD2_PWM NULL
00296
00297 #undef PD3
00298 #define PD3_PIN PIND3
00299 #define PD3_RPORT PIND
00300 #define PD3_WPORT PORTD
00301 #define PD3_DDR DDRD
00302 #define PD3_PWM &OCR2B
00303
00304 #undef PD4
00305 #define PD4_PIN PIND4
00306 #define PD4_RPORT PIND
00307 #define PD4_WPORT PORTD
00308 #define PD4_DDR DDRD
00309 #define PD4_PWM NULL
00310
00311 #undef PD5
00312 #define PD5_PIN PIND5
00313 #define PD5_RPORT PIND
00314 #define PD5_WPORT PORTD
00315 #define PD5_DDR DDRD
00316 #define PD5_PWM &OCR0B
00317
00318 #undef PD6
00319 #define PD6_PIN PIND6
00320 #define PD6_RPORT PIND
00321 #define PD6_WPORT PORTD
00322 #define PD6_DDR DDRD
00323 #define PD6_PWM &OCR0A
00324
00325 #undef PD7
00326 #define PD7_PIN PIND7
00327 #define PD7_RPORT PIND
00328 #define PD7_WPORT PORTD
00329 #define PD7_DDR DDRD
00330 #define PD7_PWM NULL