My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fastio_AT90USB-Teensy.h 16KB

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