My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

fastio_AT90USB-Marlin.h 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
  4. *
  5. * Based on Sprinter and grbl.
  6. * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. *
  21. */
  22. /**
  23. * Pin mapping (Marlin) for AT90USB646, 647, 1286, and 1287
  24. *
  25. * AT90USB 51 50 49 48 47 46 45 44 10 11 12 13 14 15 16 17 35 36 37 38 39 40 41 42 25 26 27 28 29 30 31 32 33 34 43 09 18 19 01 02 61 60 59 58 57 56 55 54
  26. * Teensy 28 29 30 31 32 33 34 35 20 21 22 23 24 25 26 27 10 11 12 13 14 15 16 17 00 01 02 03 04 05 06 07 08 09(46*47)36 37 18 19 38 39 40 41 42 43 44 45
  27. * Port A0 A1 A2 A3 A4 A5 A6 A7 B0 B1 B2 B3 B4 B5 B6 B7 C0 C1 C2 C3 C4 C5 C6 C7 D0 D1 D2 D3 D4 D5 D6 D7 E0 E1 E2 E3 E4 E5 E6 E7 F0 F1 F2 F3 F4 F5 F6 F7
  28. * > Marlin 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
  29. * The pins 46 and 47 are not supported by Teensyduino, but are supported below.
  30. */
  31. #ifndef _FASTIO_AT90USB
  32. #define _FASTIO_AT90USB
  33. #include "fastio.h"
  34. // change for your board
  35. #define DEBUG_LED DIO31 /* led D5 red */
  36. // SPI
  37. #define SCK DIO9 // 21
  38. #define MISO DIO11 // 23
  39. #define MOSI DIO10 // 22
  40. #define SS DIO8 // 20
  41. // Digital I/O
  42. #define DIO0_PIN PINA0
  43. #define DIO0_RPORT PINA
  44. #define DIO0_WPORT PORTA
  45. #define DIO0_PWM NULL
  46. #define DIO0_DDR DDRA
  47. #define DIO1_PIN PINA1
  48. #define DIO1_RPORT PINA
  49. #define DIO1_WPORT PORTA
  50. #define DIO1_PWM NULL
  51. #define DIO1_DDR DDRA
  52. #define DIO2_PIN PINA2
  53. #define DIO2_RPORT PINA
  54. #define DIO2_WPORT PORTA
  55. #define DIO2_PWM NULL
  56. #define DIO2_DDR DDRA
  57. #define DIO3_PIN PINA3
  58. #define DIO3_RPORT PINA
  59. #define DIO3_WPORT PORTA
  60. #define DIO3_PWM NULL
  61. #define DIO3_DDR DDRA
  62. #define DIO4_PIN PINA4
  63. #define DIO4_RPORT PINA
  64. #define DIO4_WPORT PORTA
  65. #define DIO4_PWM NULL
  66. #define DIO4_DDR DDRA
  67. #define DIO5_PIN PINA5
  68. #define DIO5_RPORT PINA
  69. #define DIO5_WPORT PORTA
  70. #define DIO5_PWM NULL
  71. #define DIO5_DDR DDRA
  72. #define DIO6_PIN PINA6
  73. #define DIO6_RPORT PINA
  74. #define DIO6_WPORT PORTA
  75. #define DIO6_PWM NULL
  76. #define DIO6_DDR DDRA
  77. #define DIO7_PIN PINA7
  78. #define DIO7_RPORT PINA
  79. #define DIO7_WPORT PORTA
  80. #define DIO7_PWM NULL
  81. #define DIO7_DDR DDRA
  82. #define DIO8_PIN PINB0
  83. #define DIO8_RPORT PINB
  84. #define DIO8_WPORT PORTB
  85. #define DIO8_PWM NULL
  86. #define DIO8_DDR DDRB
  87. #define DIO9_PIN PINB1
  88. #define DIO9_RPORT PINB
  89. #define DIO9_WPORT PORTB
  90. #define DIO9_PWM NULL
  91. #define DIO9_DDR DDRB
  92. #define DIO10_PIN PINB2
  93. #define DIO10_RPORT PINB
  94. #define DIO10_WPORT PORTB
  95. #define DIO10_PWM NULL
  96. #define DIO10_DDR DDRB
  97. #define DIO11_PIN PINB3
  98. #define DIO11_RPORT PINB
  99. #define DIO11_WPORT PORTB
  100. #define DIO11_PWM NULL
  101. #define DIO11_DDR DDRB
  102. #define DIO12_PIN PINB4
  103. #define DIO12_RPORT PINB
  104. #define DIO12_WPORT PORTB
  105. #define DIO12_PWM NULL
  106. #define DIO12_DDR DDRB
  107. #define DIO13_PIN PINB5
  108. #define DIO13_RPORT PINB
  109. #define DIO13_WPORT PORTB
  110. #define DIO13_PWM NULL
  111. #define DIO13_DDR DDRB
  112. #define DIO14_PIN PINB6
  113. #define DIO14_RPORT PINB
  114. #define DIO14_WPORT PORTB
  115. #define DIO14_PWM NULL
  116. #define DIO14_DDR DDRB
  117. #define DIO15_PIN PINB7
  118. #define DIO15_RPORT PINB
  119. #define DIO15_WPORT PORTB
  120. #define DIO15_PWM NULL
  121. #define DIO15_DDR DDRB
  122. #define DIO16_PIN PINC0
  123. #define DIO16_RPORT PINC
  124. #define DIO16_WPORT PORTC
  125. #define DIO16_PWM NULL
  126. #define DIO16_DDR DDRC
  127. #define DIO17_PIN PINC1
  128. #define DIO17_RPORT PINC
  129. #define DIO17_WPORT PORTC
  130. #define DIO17_PWM NULL
  131. #define DIO17_DDR DDRC
  132. #define DIO18_PIN PINC2
  133. #define DIO18_RPORT PINC
  134. #define DIO18_WPORT PORTC
  135. #define DIO18_PWM NULL
  136. #define DIO18_DDR DDRC
  137. #define DIO19_PIN PINC3
  138. #define DIO19_RPORT PINC
  139. #define DIO19_WPORT PORTC
  140. #define DIO19_PWM NULL
  141. #define DIO19_DDR DDRC
  142. #define DIO20_PIN PINC4
  143. #define DIO20_RPORT PINC
  144. #define DIO20_WPORT PORTC
  145. #define DIO20_PWM NULL
  146. #define DIO20_DDR DDRC
  147. #define DIO21_PIN PINC5
  148. #define DIO21_RPORT PINC
  149. #define DIO21_WPORT PORTC
  150. #define DIO21_PWM NULL
  151. #define DIO21_DDR DDRC
  152. #define DIO22_PIN PINC6
  153. #define DIO22_RPORT PINC
  154. #define DIO22_WPORT PORTC
  155. #define DIO22_PWM NULL
  156. #define DIO22_DDR DDRC
  157. #define DIO23_PIN PINC7
  158. #define DIO23_RPORT PINC
  159. #define DIO23_WPORT PORTC
  160. #define DIO23_PWM NULL
  161. #define DIO23_DDR DDRC
  162. #define DIO24_PIN PIND0
  163. #define DIO24_RPORT PIND
  164. #define DIO24_WPORT PORTD
  165. #define DIO24_PWM NULL
  166. #define DIO24_DDR DDRD
  167. #define DIO25_PIN PIND1
  168. #define DIO25_RPORT PIND
  169. #define DIO25_WPORT PORTD
  170. #define DIO25_PWM NULL
  171. #define DIO25_DDR DDRD
  172. #define DIO26_PIN PIND2
  173. #define DIO26_RPORT PIND
  174. #define DIO26_WPORT PORTD
  175. #define DIO26_PWM NULL
  176. #define DIO26_DDR DDRD
  177. #define DIO27_PIN PIND3
  178. #define DIO27_RPORT PIND
  179. #define DIO27_WPORT PORTD
  180. #define DIO27_PWM NULL
  181. #define DIO27_DDR DDRD
  182. #define DIO28_PIN PIND4
  183. #define DIO28_RPORT PIND
  184. #define DIO28_WPORT PORTD
  185. #define DIO28_PWM NULL
  186. #define DIO28_DDR DDRD
  187. #define DIO29_PIN PIND5
  188. #define DIO29_RPORT PIND
  189. #define DIO29_WPORT PORTD
  190. #define DIO29_PWM NULL
  191. #define DIO29_DDR DDRD
  192. #define DIO30_PIN PIND6
  193. #define DIO30_RPORT PIND
  194. #define DIO30_WPORT PORTD
  195. #define DIO30_PWM NULL
  196. #define DIO30_DDR DDRD
  197. #define DIO31_PIN PIND7
  198. #define DIO31_RPORT PIND
  199. #define DIO31_WPORT PORTD
  200. #define DIO31_PWM NULL
  201. #define DIO31_DDR DDRD
  202. #define DIO32_PIN PINE0
  203. #define DIO32_RPORT PINE
  204. #define DIO32_WPORT PORTE
  205. #define DIO32_PWM NULL
  206. #define DIO32_DDR DDRE
  207. #define DIO33_PIN PINE1
  208. #define DIO33_RPORT PINE
  209. #define DIO33_WPORT PORTE
  210. #define DIO33_PWM NULL
  211. #define DIO33_DDR DDRE
  212. #define DIO34_PIN PINE2
  213. #define DIO34_RPORT PINE
  214. #define DIO34_WPORT PORTE
  215. #define DIO34_PWM NULL
  216. #define DIO34_DDR DDRE
  217. #define DIO35_PIN PINE3
  218. #define DIO35_RPORT PINE
  219. #define DIO35_WPORT PORTE
  220. #define DIO35_PWM NULL
  221. #define DIO35_DDR DDRE
  222. #define DIO36_PIN PINE4
  223. #define DIO36_RPORT PINE
  224. #define DIO36_WPORT PORTE
  225. #define DIO36_PWM NULL
  226. #define DIO36_DDR DDRE
  227. #define DIO37_PIN PINE5
  228. #define DIO37_RPORT PINE
  229. #define DIO37_WPORT PORTE
  230. #define DIO37_PWM NULL
  231. #define DIO37_DDR DDRE
  232. #define DIO38_PIN PINE6
  233. #define DIO38_RPORT PINE
  234. #define DIO38_WPORT PORTE
  235. #define DIO38_PWM NULL
  236. #define DIO38_DDR DDRE
  237. #define DIO39_PIN PINE7
  238. #define DIO39_RPORT PINE
  239. #define DIO39_WPORT PORTE
  240. #define DIO39_PWM NULL
  241. #define DIO39_DDR DDRE
  242. #define AIO0_PIN PINF0
  243. #define AIO0_RPORT PINF
  244. #define AIO0_WPORT PORTF
  245. #define AIO0_PWM NULL
  246. #define AIO0_DDR DDRF
  247. #define AIO1_PIN PINF1
  248. #define AIO1_RPORT PINF
  249. #define AIO1_WPORT PORTF
  250. #define AIO1_PWM NULL
  251. #define AIO1_DDR DDRF
  252. #define AIO2_PIN PINF2
  253. #define AIO2_RPORT PINF
  254. #define AIO2_WPORT PORTF
  255. #define AIO2_PWM NULL
  256. #define AIO2_DDR DDRF
  257. #define AIO3_PIN PINF3
  258. #define AIO3_RPORT PINF
  259. #define AIO3_WPORT PORTF
  260. #define AIO3_PWM NULL
  261. #define AIO3_DDR DDRF
  262. #define AIO4_PIN PINF4
  263. #define AIO4_RPORT PINF
  264. #define AIO4_WPORT PORTF
  265. #define AIO4_PWM NULL
  266. #define AIO4_DDR DDRF
  267. #define AIO5_PIN PINF5
  268. #define AIO5_RPORT PINF
  269. #define AIO5_WPORT PORTF
  270. #define AIO5_PWM NULL
  271. #define AIO5_DDR DDRF
  272. #define AIO6_PIN PINF6
  273. #define AIO6_RPORT PINF
  274. #define AIO6_WPORT PORTF
  275. #define AIO6_PWM NULL
  276. #define AIO6_DDR DDRF
  277. #define AIO7_PIN PINF7
  278. #define AIO7_RPORT PINF
  279. #define AIO7_WPORT PORTF
  280. #define AIO7_PWM NULL
  281. #define AIO7_DDR DDRF
  282. #define DIO40_PIN PINF0
  283. #define DIO40_RPORT PINF
  284. #define DIO40_WPORT PORTF
  285. #define DIO40_PWM NULL
  286. #define DIO40_DDR DDRF
  287. #define DIO41_PIN PINF1
  288. #define DIO41_RPORT PINF
  289. #define DIO41_WPORT PORTF
  290. #define DIO41_PWM NULL
  291. #define DIO41_DDR DDRF
  292. #define DIO42_PIN PINF2
  293. #define DIO42_RPORT PINF
  294. #define DIO42_WPORT PORTF
  295. #define DIO42_PWM NULL
  296. #define DIO42_DDR DDRF
  297. #define DIO43_PIN PINF3
  298. #define DIO43_RPORT PINF
  299. #define DIO43_WPORT PORTF
  300. #define DIO43_PWM NULL
  301. #define DIO43_DDR DDRF
  302. #define DIO44_PIN PINF4
  303. #define DIO44_RPORT PINF
  304. #define DIO44_WPORT PORTF
  305. #define DIO44_PWM NULL
  306. #define DIO44_DDR DDRF
  307. #define DIO45_PIN PINF5
  308. #define DIO45_RPORT PINF
  309. #define DIO45_WPORT PORTF
  310. #define DIO45_PWM NULL
  311. #define DIO45_DDR DDRF
  312. #define DIO46_PIN PINF6
  313. #define DIO46_RPORT PINF
  314. #define DIO46_WPORT PORTF
  315. #define DIO46_PWM NULL
  316. #define DIO46_DDR DDRF
  317. #define DIO47_PIN PINF7
  318. #define DIO47_RPORT PINF
  319. #define DIO47_WPORT PORTF
  320. #define DIO47_PWM NULL
  321. #define DIO47_DDR DDRF
  322. // Analog Outputs
  323. #undef PA0
  324. #define PA0_PIN PINA0
  325. #define PA0_RPORT PINA
  326. #define PA0_WPORT PORTA
  327. #define PA0_PWM NULL
  328. #define PA0_DDR DDRA
  329. #undef PA1
  330. #define PA1_PIN PINA1
  331. #define PA1_RPORT PINA
  332. #define PA1_WPORT PORTA
  333. #define PA1_PWM NULL
  334. #define PA1_DDR DDRA
  335. #undef PA2
  336. #define PA2_PIN PINA2
  337. #define PA2_RPORT PINA
  338. #define PA2_WPORT PORTA
  339. #define PA2_PWM NULL
  340. #define PA2_DDR DDRA
  341. #undef PA3
  342. #define PA3_PIN PINA3
  343. #define PA3_RPORT PINA
  344. #define PA3_WPORT PORTA
  345. #define PA3_PWM NULL
  346. #define PA3_DDR DDRA
  347. #undef PA4
  348. #define PA4_PIN PINA4
  349. #define PA4_RPORT PINA
  350. #define PA4_WPORT PORTA
  351. #define PA4_PWM NULL
  352. #define PA4_DDR DDRA
  353. #undef PA5
  354. #define PA5_PIN PINA5
  355. #define PA5_RPORT PINA
  356. #define PA5_WPORT PORTA
  357. #define PA5_PWM NULL
  358. #define PA5_DDR DDRA
  359. #undef PA6
  360. #define PA6_PIN PINA6
  361. #define PA6_RPORT PINA
  362. #define PA6_WPORT PORTA
  363. #define PA6_PWM NULL
  364. #define PA6_DDR DDRA
  365. #undef PA7
  366. #define PA7_PIN PINA7
  367. #define PA7_RPORT PINA
  368. #define PA7_WPORT PORTA
  369. #define PA7_PWM NULL
  370. #define PA7_DDR DDRA
  371. #undef PB0
  372. #define PB0_PIN PINB0
  373. #define PB0_RPORT PINB
  374. #define PB0_WPORT PORTB
  375. #define PB0_PWM NULL
  376. #define PB0_DDR DDRB
  377. #undef PB1
  378. #define PB1_PIN PINB1
  379. #define PB1_RPORT PINB
  380. #define PB1_WPORT PORTB
  381. #define PB1_PWM NULL
  382. #define PB1_DDR DDRB
  383. #undef PB2
  384. #define PB2_PIN PINB2
  385. #define PB2_RPORT PINB
  386. #define PB2_WPORT PORTB
  387. #define PB2_PWM NULL
  388. #define PB2_DDR DDRB
  389. #undef PB3
  390. #define PB3_PIN PINB3
  391. #define PB3_RPORT PINB
  392. #define PB3_WPORT PORTB
  393. #define PB3_PWM NULL
  394. #define PB3_DDR DDRB
  395. #undef PB4
  396. #define PB4_PIN PINB4
  397. #define PB4_RPORT PINB
  398. #define PB4_WPORT PORTB
  399. #define PB4_PWM NULL
  400. #define PB4_DDR DDRB
  401. #undef PB5
  402. #define PB5_PIN PINB5
  403. #define PB5_RPORT PINB
  404. #define PB5_WPORT PORTB
  405. #define PB5_PWM NULL
  406. #define PB5_DDR DDRB
  407. #undef PB6
  408. #define PB6_PIN PINB6
  409. #define PB6_RPORT PINB
  410. #define PB6_WPORT PORTB
  411. #define PB6_PWM NULL
  412. #define PB6_DDR DDRB
  413. #undef PB7
  414. #define PB7_PIN PINB7
  415. #define PB7_RPORT PINB
  416. #define PB7_WPORT PORTB
  417. #define PB7_PWM NULL
  418. #define PB7_DDR DDRB
  419. #undef PC0
  420. #define PC0_PIN PINC0
  421. #define PC0_RPORT PINC
  422. #define PC0_WPORT PORTC
  423. #define PC0_PWM NULL
  424. #define PC0_DDR DDRC
  425. #undef PC1
  426. #define PC1_PIN PINC1
  427. #define PC1_RPORT PINC
  428. #define PC1_WPORT PORTC
  429. #define PC1_PWM NULL
  430. #define PC1_DDR DDRC
  431. #undef PC2
  432. #define PC2_PIN PINC2
  433. #define PC2_RPORT PINC
  434. #define PC2_WPORT PORTC
  435. #define PC2_PWM NULL
  436. #define PC2_DDR DDRC
  437. #undef PC3
  438. #define PC3_PIN PINC3
  439. #define PC3_RPORT PINC
  440. #define PC3_WPORT PORTC
  441. #define PC3_PWM NULL
  442. #define PC3_DDR DDRC
  443. #undef PC4
  444. #define PC4_PIN PINC4
  445. #define PC4_RPORT PINC
  446. #define PC4_WPORT PORTC
  447. #define PC4_PWM NULL
  448. #define PC4_DDR DDRC
  449. #undef PC5
  450. #define PC5_PIN PINC5
  451. #define PC5_RPORT PINC
  452. #define PC5_WPORT PORTC
  453. #define PC5_PWM NULL
  454. #define PC5_DDR DDRC
  455. #undef PC6
  456. #define PC6_PIN PINC6
  457. #define PC6_RPORT PINC
  458. #define PC6_WPORT PORTC
  459. #define PC6_PWM NULL
  460. #define PC6_DDR DDRC
  461. #undef PC7
  462. #define PC7_PIN PINC7
  463. #define PC7_RPORT PINC
  464. #define PC7_WPORT PORTC
  465. #define PC7_PWM NULL
  466. #define PC7_DDR DDRC
  467. #undef PD0
  468. #define PD0_PIN PIND0
  469. #define PD0_RPORT PIND
  470. #define PD0_WPORT PORTD
  471. #define PD0_PWM NULL
  472. #define PD0_DDR DDRD
  473. #undef PD1
  474. #define PD1_PIN PIND1
  475. #define PD1_RPORT PIND
  476. #define PD1_WPORT PORTD
  477. #define PD1_PWM NULL
  478. #define PD1_DDR DDRD
  479. #undef PD2
  480. #define PD2_PIN PIND2
  481. #define PD2_RPORT PIND
  482. #define PD2_WPORT PORTD
  483. #define PD2_PWM NULL
  484. #define PD2_DDR DDRD
  485. #undef PD3
  486. #define PD3_PIN PIND3
  487. #define PD3_RPORT PIND
  488. #define PD3_WPORT PORTD
  489. #define PD3_PWM NULL
  490. #define PD3_DDR DDRD
  491. #undef PD4
  492. #define PD4_PIN PIND4
  493. #define PD4_RPORT PIND
  494. #define PD4_WPORT PORTD
  495. #define PD4_PWM NULL
  496. #define PD4_DDR DDRD
  497. #undef PD5
  498. #define PD5_PIN PIND5
  499. #define PD5_RPORT PIND
  500. #define PD5_WPORT PORTD
  501. #define PD5_PWM NULL
  502. #define PD5_DDR DDRD
  503. #undef PD6
  504. #define PD6_PIN PIND6
  505. #define PD6_RPORT PIND
  506. #define PD6_WPORT PORTD
  507. #define PD6_PWM NULL
  508. #define PD6_DDR DDRD
  509. #undef PD7
  510. #define PD7_PIN PIND7
  511. #define PD7_RPORT PIND
  512. #define PD7_WPORT PORTD
  513. #define PD7_PWM NULL
  514. #define PD7_DDR DDRD
  515. #undef PE0
  516. #define PE0_PIN PINE0
  517. #define PE0_RPORT PINE
  518. #define PE0_WPORT PORTE
  519. #define PE0_PWM NULL
  520. #define PE0_DDR DDRE
  521. #undef PE1
  522. #define PE1_PIN PINE1
  523. #define PE1_RPORT PINE
  524. #define PE1_WPORT PORTE
  525. #define PE1_PWM NULL
  526. #define PE1_DDR DDRE
  527. #undef PE2
  528. #define PE2_PIN PINE2
  529. #define PE2_RPORT PINE
  530. #define PE2_WPORT PORTE
  531. #define PE2_PWM NULL
  532. #define PE2_DDR DDRE
  533. #undef PE3
  534. #define PE3_PIN PINE3
  535. #define PE3_RPORT PINE
  536. #define PE3_WPORT PORTE
  537. #define PE3_PWM NULL
  538. #define PE3_DDR DDRE
  539. #undef PE4
  540. #define PE4_PIN PINE4
  541. #define PE4_RPORT PINE
  542. #define PE4_WPORT PORTE
  543. #define PE4_PWM NULL
  544. #define PE4_DDR DDRE
  545. #undef PE5
  546. #define PE5_PIN PINE5
  547. #define PE5_RPORT PINE
  548. #define PE5_WPORT PORTE
  549. #define PE5_PWM NULL
  550. #define PE5_DDR DDRE
  551. #undef PE6
  552. #define PE6_PIN PINE6
  553. #define PE6_RPORT PINE
  554. #define PE6_WPORT PORTE
  555. #define PE6_PWM NULL
  556. #define PE6_DDR DDRE
  557. #undef PE7
  558. #define PE7_PIN PINE7
  559. #define PE7_RPORT PINE
  560. #define PE7_WPORT PORTE
  561. #define PE7_PWM NULL
  562. #define PE7_DDR DDRE
  563. #undef PF0
  564. #define PF0_PIN PINF0
  565. #define PF0_RPORT PINF
  566. #define PF0_WPORT PORTF
  567. #define PF0_PWM NULL
  568. #define PF0_DDR DDRF
  569. #undef PF1
  570. #define PF1_PIN PINF1
  571. #define PF1_RPORT PINF
  572. #define PF1_WPORT PORTF
  573. #define PF1_PWM NULL
  574. #define PF1_DDR DDRF
  575. #undef PF2
  576. #define PF2_PIN PINF2
  577. #define PF2_RPORT PINF
  578. #define PF2_WPORT PORTF
  579. #define PF2_PWM NULL
  580. #define PF2_DDR DDRF
  581. #undef PF3
  582. #define PF3_PIN PINF3
  583. #define PF3_RPORT PINF
  584. #define PF3_WPORT PORTF
  585. #define PF3_PWM NULL
  586. #define PF3_DDR DDRF
  587. #undef PF4
  588. #define PF4_PIN PINF4
  589. #define PF4_RPORT PINF
  590. #define PF4_WPORT PORTF
  591. #define PF4_PWM NULL
  592. #define PF4_DDR DDRF
  593. #undef PF5
  594. #define PF5_PIN PINF5
  595. #define PF5_RPORT PINF
  596. #define PF5_WPORT PORTF
  597. #define PF5_PWM NULL
  598. #define PF5_DDR DDRF
  599. #undef PF6
  600. #define PF6_PIN PINF6
  601. #define PF6_RPORT PINF
  602. #define PF6_WPORT PORTF
  603. #define PF6_PWM NULL
  604. #define PF6_DDR DDRF
  605. #undef PF7
  606. #define PF7_PIN PINF7
  607. #define PF7_RPORT PINF
  608. #define PF7_WPORT PORTF
  609. #define PF7_PWM NULL
  610. #define PF7_DDR DDRF
  611. #endif // _FASTIO_AT90USB