My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

fastio_1281.h 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  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 for the 1281 and 2561
  24. *
  25. * 1281 38 39 40 41 42 43 44 45 16 10 11 12 06 07 08 09 30 31 32 33 34 35 36 37 17 18 19 20 21 22 23 24 00 01 13 05 02 03 14 15 46 47 48 49 50 51 52 53 25 26 27 28 29 04
  26. * 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 G0 G1 G2 G3 G4 G5
  27. * 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 48 49 50 51 52 53
  28. */
  29. #ifndef _FASTIO_1281
  30. #define _FASTIO_1281
  31. #include "fastio.h"
  32. // change for your board
  33. #define DEBUG_LED DIO46
  34. // UART
  35. #define RXD DIO0
  36. #define TXD DIO1
  37. // SPI
  38. #define SCK DIO10
  39. #define MISO DIO12
  40. #define MOSI DIO11
  41. #define SS DIO16
  42. // TWI (I2C)
  43. #define SCL DIO17
  44. #define SDA DIO18
  45. // Timers and PWM
  46. #define OC0A DIO9
  47. #define OC0B DIO4
  48. #define OC1A DIO7
  49. #define OC1B DIO8
  50. #define OC2A DIO6
  51. #define OC3A DIO5
  52. #define OC3B DIO2
  53. #define OC3C DIO3
  54. // Digital I/O
  55. #define DIO0_PIN PINE0
  56. #define DIO0_RPORT PINE
  57. #define DIO0_WPORT PORTE
  58. #define DIO0_DDR DDRE
  59. #define DIO0_PWM NULL
  60. #define DIO1_PIN PINE1
  61. #define DIO1_RPORT PINE
  62. #define DIO1_WPORT PORTE
  63. #define DIO1_DDR DDRE
  64. #define DIO1_PWM NULL
  65. #define DIO2_PIN PINE4
  66. #define DIO2_RPORT PINE
  67. #define DIO2_WPORT PORTE
  68. #define DIO2_DDR DDRE
  69. #define DIO2_PWM &OCR3BL
  70. #define DIO3_PIN PINE5
  71. #define DIO3_RPORT PINE
  72. #define DIO3_WPORT PORTE
  73. #define DIO3_DDR DDRE
  74. #define DIO3_PWM &OCR3CL
  75. #define DIO4_PIN PING5
  76. #define DIO4_RPORT PING
  77. #define DIO4_WPORT PORTG
  78. #define DIO4_DDR DDRG
  79. #define DIO4_PWM &OCR0B
  80. #define DIO5_PIN PINE3
  81. #define DIO5_RPORT PINE
  82. #define DIO5_WPORT PORTE
  83. #define DIO5_DDR DDRE
  84. #define DIO5_PWM &OCR3AL
  85. #define DIO6_PIN PINB4
  86. #define DIO6_RPORT PINB
  87. #define DIO6_WPORT PORTB
  88. #define DIO6_DDR DDRB
  89. #define DIO6_PWM &OCR2AL
  90. #define DIO7_PIN PINB5
  91. #define DIO7_RPORT PINB
  92. #define DIO7_WPORT PORTB
  93. #define DIO7_DDR DDRB
  94. #define DIO7_PWM &OCR1AL
  95. #define DIO8_PIN PINB6
  96. #define DIO8_RPORT PINB
  97. #define DIO8_WPORT PORTB
  98. #define DIO8_DDR DDRB
  99. #define DIO8_PWM &OCR1BL
  100. #define DIO9_PIN PINB7
  101. #define DIO9_RPORT PINB
  102. #define DIO9_WPORT PORTB
  103. #define DIO9_DDR DDRB
  104. #define DIO9_PWM &OCR0AL
  105. #define DIO10_PIN PINB1
  106. #define DIO10_RPORT PINB
  107. #define DIO10_WPORT PORTB
  108. #define DIO10_DDR DDRB
  109. #define DIO10_PWM NULL
  110. #define DIO11_PIN PINB2
  111. #define DIO11_RPORT PINB
  112. #define DIO11_WPORT PORTB
  113. #define DIO11_DDR DDRB
  114. #define DIO11_PWM NULL
  115. #define DIO12_PIN PINB3
  116. #define DIO12_RPORT PINB
  117. #define DIO12_WPORT PORTB
  118. #define DIO12_DDR DDRB
  119. #define DIO12_PWM NULL
  120. #define DIO13_PIN PINE2
  121. #define DIO13_RPORT PINE
  122. #define DIO13_WPORT PORTE
  123. #define DIO13_DDR DDRE
  124. #define DIO13_PWM NULL
  125. #define DIO14_PIN PINE6
  126. #define DIO14_RPORT PINE
  127. #define DIO14_WPORT PORTE
  128. #define DIO14_DDR DDRE
  129. #define DIO14_PWM NULL
  130. #define DIO15_PIN PINE7
  131. #define DIO15_RPORT PINE
  132. #define DIO15_WPORT PORTE
  133. #define DIO15_DDR DDRE
  134. #define DIO15_PWM NULL
  135. #define DIO16_PIN PINB0
  136. #define DIO16_RPORT PINB
  137. #define DIO16_WPORT PORTB
  138. #define DIO16_DDR DDRB
  139. #define DIO16_PWM NULL
  140. #define DIO17_PIN PIND0
  141. #define DIO17_RPORT PIND
  142. #define DIO17_WPORT PORTD
  143. #define DIO17_DDR DDRD
  144. #define DIO17_PWM NULL
  145. #define DIO18_PIN PIND1
  146. #define DIO18_RPORT PIND
  147. #define DIO18_WPORT PORTD
  148. #define DIO18_DDR DDRD
  149. #define DIO18_PWM NULL
  150. #define DIO19_PIN PIND2
  151. #define DIO19_RPORT PIND
  152. #define DIO19_WPORT PORTD
  153. #define DIO19_DDR DDRD
  154. #define DIO19_PWM NULL
  155. #define DIO20_PIN PIND3
  156. #define DIO20_RPORT PIND
  157. #define DIO20_WPORT PORTD
  158. #define DIO20_DDR DDRD
  159. #define DIO20_PWM NULL
  160. #define DIO21_PIN PIND4
  161. #define DIO21_RPORT PIND
  162. #define DIO21_WPORT PORTD
  163. #define DIO21_DDR DDRD
  164. #define DIO21_PWM NULL
  165. #define DIO22_PIN PIND5
  166. #define DIO22_RPORT PIND
  167. #define DIO22_WPORT PORTD
  168. #define DIO22_DDR DDRD
  169. #define DIO22_PWM NULL
  170. #define DIO23_PIN PIND6
  171. #define DIO23_RPORT PIND
  172. #define DIO23_WPORT PORTD
  173. #define DIO23_DDR DDRD
  174. #define DIO23_PWM NULL
  175. #define DIO24_PIN PIND7
  176. #define DIO24_RPORT PIND
  177. #define DIO24_WPORT PORTD
  178. #define DIO24_DDR DDRD
  179. #define DIO24_PWM NULL
  180. #define DIO25_PIN PING0
  181. #define DIO25_RPORT PING
  182. #define DIO25_WPORT PORTG
  183. #define DIO25_DDR DDRG
  184. #define DIO25_PWM NULL
  185. #define DIO26_PIN PING1
  186. #define DIO26_RPORT PING
  187. #define DIO26_WPORT PORTG
  188. #define DIO26_DDR DDRG
  189. #define DIO26_PWM NULL
  190. #define DIO27_PIN PING2
  191. #define DIO27_RPORT PING
  192. #define DIO27_WPORT PORTG
  193. #define DIO27_DDR DDRG
  194. #define DIO27_PWM NULL
  195. #define DIO28_PIN PING3
  196. #define DIO28_RPORT PING
  197. #define DIO28_WPORT PORTG
  198. #define DIO28_DDR DDRG
  199. #define DIO28_PWM NULL
  200. #define DIO29_PIN PING4
  201. #define DIO29_RPORT PING
  202. #define DIO29_WPORT PORTG
  203. #define DIO29_DDR DDRG
  204. #define DIO29_PWM NULL
  205. #define DIO30_PIN PINC0
  206. #define DIO30_RPORT PINC
  207. #define DIO30_WPORT PORTC
  208. #define DIO30_DDR DDRC
  209. #define DIO30_PWM NULL
  210. #define DIO31_PIN PINC1
  211. #define DIO31_RPORT PINC
  212. #define DIO31_WPORT PORTC
  213. #define DIO31_DDR DDRC
  214. #define DIO31_PWM NULL
  215. #define DIO32_PIN PINC2
  216. #define DIO32_RPORT PINC
  217. #define DIO32_WPORT PORTC
  218. #define DIO32_DDR DDRC
  219. #define DIO32_PWM NULL
  220. #define DIO33_PIN PINC3
  221. #define DIO33_RPORT PINC
  222. #define DIO33_WPORT PORTC
  223. #define DIO33_DDR DDRC
  224. #define DIO33_PWM NULL
  225. #define DIO34_PIN PINC4
  226. #define DIO34_RPORT PINC
  227. #define DIO34_WPORT PORTC
  228. #define DIO34_DDR DDRC
  229. #define DIO34_PWM NULL
  230. #define DIO35_PIN PINC5
  231. #define DIO35_RPORT PINC
  232. #define DIO35_WPORT PORTC
  233. #define DIO35_DDR DDRC
  234. #define DIO35_PWM NULL
  235. #define DIO36_PIN PINC6
  236. #define DIO36_RPORT PINC
  237. #define DIO36_WPORT PORTC
  238. #define DIO36_DDR DDRC
  239. #define DIO36_PWM NULL
  240. #define DIO37_PIN PINC7
  241. #define DIO37_RPORT PINC
  242. #define DIO37_WPORT PORTC
  243. #define DIO37_DDR DDRC
  244. #define DIO37_PWM NULL
  245. #define DIO38_PIN PINA0
  246. #define DIO38_RPORT PINA
  247. #define DIO38_WPORT PORTA
  248. #define DIO38_DDR DDRA
  249. #define DIO38_PWM NULL
  250. #define DIO39_PIN PINA1
  251. #define DIO39_RPORT PINA
  252. #define DIO39_WPORT PORTA
  253. #define DIO39_DDR DDRA
  254. #define DIO39_PWM NULL
  255. #define DIO40_PIN PINA2
  256. #define DIO40_RPORT PINA
  257. #define DIO40_WPORT PORTA
  258. #define DIO40_DDR DDRA
  259. #define DIO40_PWM NULL
  260. #define DIO41_PIN PINA3
  261. #define DIO41_RPORT PINA
  262. #define DIO41_WPORT PORTA
  263. #define DIO41_DDR DDRA
  264. #define DIO41_PWM NULL
  265. #define DIO42_PIN PINA4
  266. #define DIO42_RPORT PINA
  267. #define DIO42_WPORT PORTA
  268. #define DIO42_DDR DDRA
  269. #define DIO42_PWM NULL
  270. #define DIO43_PIN PINA5
  271. #define DIO43_RPORT PINA
  272. #define DIO43_WPORT PORTA
  273. #define DIO43_DDR DDRA
  274. #define DIO43_PWM NULL
  275. #define DIO44_PIN PINA6
  276. #define DIO44_RPORT PINA
  277. #define DIO44_WPORT PORTA
  278. #define DIO44_DDR DDRA
  279. #define DIO44_PWM NULL
  280. #define DIO45_PIN PINA7
  281. #define DIO45_RPORT PINA
  282. #define DIO45_WPORT PORTA
  283. #define DIO45_DDR DDRA
  284. #define DIO45_PWM NULL
  285. #define DIO46_PIN PINF0
  286. #define DIO46_RPORT PINF
  287. #define DIO46_WPORT PORTF
  288. #define DIO46_DDR DDRF
  289. #define DIO46_PWM NULL
  290. #define DIO47_PIN PINF1
  291. #define DIO47_RPORT PINF
  292. #define DIO47_WPORT PORTF
  293. #define DIO47_DDR DDRF
  294. #define DIO47_PWM NULL
  295. #define DIO48_PIN PINF2
  296. #define DIO48_RPORT PINF
  297. #define DIO48_WPORT PORTF
  298. #define DIO48_DDR DDRF
  299. #define DIO48_PWM NULL
  300. #define DIO49_PIN PINF3
  301. #define DIO49_RPORT PINF
  302. #define DIO49_WPORT PORTF
  303. #define DIO49_DDR DDRF
  304. #define DIO49_PWM NULL
  305. #define DIO50_PIN PINF4
  306. #define DIO50_RPORT PINF
  307. #define DIO50_WPORT PORTF
  308. #define DIO50_DDR DDRF
  309. #define DIO50_PWM NULL
  310. #define DIO51_PIN PINF5
  311. #define DIO51_RPORT PINF
  312. #define DIO51_WPORT PORTF
  313. #define DIO51_DDR DDRF
  314. #define DIO51_PWM NULL
  315. #define DIO52_PIN PINF6
  316. #define DIO52_RPORT PINF
  317. #define DIO52_WPORT PORTF
  318. #define DIO52_DDR DDRF
  319. #define DIO52_PWM NULL
  320. #define DIO53_PIN PINF7
  321. #define DIO53_RPORT PINF
  322. #define DIO53_WPORT PORTF
  323. #define DIO53_DDR DDRF
  324. #define DIO53_PWM NULL
  325. #undef PA0
  326. #define PA0_PIN PINA0
  327. #define PA0_RPORT PINA
  328. #define PA0_WPORT PORTA
  329. #define PA0_DDR DDRA
  330. #define PA0_PWM NULL
  331. #undef PA1
  332. #define PA1_PIN PINA1
  333. #define PA1_RPORT PINA
  334. #define PA1_WPORT PORTA
  335. #define PA1_DDR DDRA
  336. #define PA1_PWM NULL
  337. #undef PA2
  338. #define PA2_PIN PINA2
  339. #define PA2_RPORT PINA
  340. #define PA2_WPORT PORTA
  341. #define PA2_DDR DDRA
  342. #define PA2_PWM NULL
  343. #undef PA3
  344. #define PA3_PIN PINA3
  345. #define PA3_RPORT PINA
  346. #define PA3_WPORT PORTA
  347. #define PA3_DDR DDRA
  348. #define PA3_PWM NULL
  349. #undef PA4
  350. #define PA4_PIN PINA4
  351. #define PA4_RPORT PINA
  352. #define PA4_WPORT PORTA
  353. #define PA4_DDR DDRA
  354. #define PA4_PWM NULL
  355. #undef PA5
  356. #define PA5_PIN PINA5
  357. #define PA5_RPORT PINA
  358. #define PA5_WPORT PORTA
  359. #define PA5_DDR DDRA
  360. #define PA5_PWM NULL
  361. #undef PA6
  362. #define PA6_PIN PINA6
  363. #define PA6_RPORT PINA
  364. #define PA6_WPORT PORTA
  365. #define PA6_DDR DDRA
  366. #define PA6_PWM NULL
  367. #undef PA7
  368. #define PA7_PIN PINA7
  369. #define PA7_RPORT PINA
  370. #define PA7_WPORT PORTA
  371. #define PA7_DDR DDRA
  372. #define PA7_PWM NULL
  373. #undef PB0
  374. #define PB0_PIN PINB0
  375. #define PB0_RPORT PINB
  376. #define PB0_WPORT PORTB
  377. #define PB0_DDR DDRB
  378. #define PB0_PWM NULL
  379. #undef PB1
  380. #define PB1_PIN PINB1
  381. #define PB1_RPORT PINB
  382. #define PB1_WPORT PORTB
  383. #define PB1_DDR DDRB
  384. #define PB1_PWM NULL
  385. #undef PB2
  386. #define PB2_PIN PINB2
  387. #define PB2_RPORT PINB
  388. #define PB2_WPORT PORTB
  389. #define PB2_DDR DDRB
  390. #define PB2_PWM NULL
  391. #undef PB3
  392. #define PB3_PIN PINB3
  393. #define PB3_RPORT PINB
  394. #define PB3_WPORT PORTB
  395. #define PB3_DDR DDRB
  396. #define PB3_PWM NULL
  397. #undef PB4
  398. #define PB4_PIN PINB4
  399. #define PB4_RPORT PINB
  400. #define PB4_WPORT PORTB
  401. #define PB4_DDR DDRB
  402. #define PB4_PWM &OCR2A
  403. #undef PB5
  404. #define PB5_PIN PINB5
  405. #define PB5_RPORT PINB
  406. #define PB5_WPORT PORTB
  407. #define PB5_DDR DDRB
  408. #define PB5_PWM NULL
  409. #undef PB6
  410. #define PB6_PIN PINB6
  411. #define PB6_RPORT PINB
  412. #define PB6_WPORT PORTB
  413. #define PB6_DDR DDRB
  414. #define PB6_PWM NULL
  415. #undef PB7
  416. #define PB7_PIN PINB7
  417. #define PB7_RPORT PINB
  418. #define PB7_WPORT PORTB
  419. #define PB7_DDR DDRB
  420. #define PB7_PWM &OCR0A
  421. #undef PC0
  422. #define PC0_PIN PINC0
  423. #define PC0_RPORT PINC
  424. #define PC0_WPORT PORTC
  425. #define PC0_DDR DDRC
  426. #define PC0_PWM NULL
  427. #undef PC1
  428. #define PC1_PIN PINC1
  429. #define PC1_RPORT PINC
  430. #define PC1_WPORT PORTC
  431. #define PC1_DDR DDRC
  432. #define PC1_PWM NULL
  433. #undef PC2
  434. #define PC2_PIN PINC2
  435. #define PC2_RPORT PINC
  436. #define PC2_WPORT PORTC
  437. #define PC2_DDR DDRC
  438. #define PC2_PWM NULL
  439. #undef PC3
  440. #define PC3_PIN PINC3
  441. #define PC3_RPORT PINC
  442. #define PC3_WPORT PORTC
  443. #define PC3_DDR DDRC
  444. #define PC3_PWM NULL
  445. #undef PC4
  446. #define PC4_PIN PINC4
  447. #define PC4_RPORT PINC
  448. #define PC4_WPORT PORTC
  449. #define PC4_DDR DDRC
  450. #define PC4_PWM NULL
  451. #undef PC5
  452. #define PC5_PIN PINC5
  453. #define PC5_RPORT PINC
  454. #define PC5_WPORT PORTC
  455. #define PC5_DDR DDRC
  456. #define PC5_PWM NULL
  457. #undef PC6
  458. #define PC6_PIN PINC6
  459. #define PC6_RPORT PINC
  460. #define PC6_WPORT PORTC
  461. #define PC6_DDR DDRC
  462. #define PC6_PWM NULL
  463. #undef PC7
  464. #define PC7_PIN PINC7
  465. #define PC7_RPORT PINC
  466. #define PC7_WPORT PORTC
  467. #define PC7_DDR DDRC
  468. #define PC7_PWM NULL
  469. #undef PD0
  470. #define PD0_PIN PIND0
  471. #define PD0_RPORT PIND
  472. #define PD0_WPORT PORTD
  473. #define PD0_DDR DDRD
  474. #define PD0_PWM NULL
  475. #undef PD1
  476. #define PD1_PIN PIND1
  477. #define PD1_RPORT PIND
  478. #define PD1_WPORT PORTD
  479. #define PD1_DDR DDRD
  480. #define PD1_PWM NULL
  481. #undef PD2
  482. #define PD2_PIN PIND2
  483. #define PD2_RPORT PIND
  484. #define PD2_WPORT PORTD
  485. #define PD2_DDR DDRD
  486. #define PD2_PWM NULL
  487. #undef PD3
  488. #define PD3_PIN PIND3
  489. #define PD3_RPORT PIND
  490. #define PD3_WPORT PORTD
  491. #define PD3_DDR DDRD
  492. #define PD3_PWM NULL
  493. #undef PD4
  494. #define PD4_PIN PIND4
  495. #define PD4_RPORT PIND
  496. #define PD4_WPORT PORTD
  497. #define PD4_DDR DDRD
  498. #define PD4_PWM NULL
  499. #undef PD5
  500. #define PD5_PIN PIND5
  501. #define PD5_RPORT PIND
  502. #define PD5_WPORT PORTD
  503. #define PD5_DDR DDRD
  504. #define PD5_PWM NULL
  505. #undef PD6
  506. #define PD6_PIN PIND6
  507. #define PD6_RPORT PIND
  508. #define PD6_WPORT PORTD
  509. #define PD6_DDR DDRD
  510. #define PD6_PWM NULL
  511. #undef PD7
  512. #define PD7_PIN PIND7
  513. #define PD7_RPORT PIND
  514. #define PD7_WPORT PORTD
  515. #define PD7_DDR DDRD
  516. #define PD7_PWM NULL
  517. #undef PE0
  518. #define PE0_PIN PINE0
  519. #define PE0_RPORT PINE
  520. #define PE0_WPORT PORTE
  521. #define PE0_DDR DDRE
  522. #define PE0_PWM NULL
  523. #undef PE1
  524. #define PE1_PIN PINE1
  525. #define PE1_RPORT PINE
  526. #define PE1_WPORT PORTE
  527. #define PE1_DDR DDRE
  528. #define PE1_PWM NULL
  529. #undef PE2
  530. #define PE2_PIN PINE2
  531. #define PE2_RPORT PINE
  532. #define PE2_WPORT PORTE
  533. #define PE2_DDR DDRE
  534. #define PE2_PWM NULL
  535. #undef PE3
  536. #define PE3_PIN PINE3
  537. #define PE3_RPORT PINE
  538. #define PE3_WPORT PORTE
  539. #define PE3_DDR DDRE
  540. #define PE3_PWM &OCR3AL
  541. #undef PE4
  542. #define PE4_PIN PINE4
  543. #define PE4_RPORT PINE
  544. #define PE4_WPORT PORTE
  545. #define PE4_DDR DDRE
  546. #define PE4_PWM &OCR3BL
  547. #undef PE5
  548. #define PE5_PIN PINE5
  549. #define PE5_RPORT PINE
  550. #define PE5_WPORT PORTE
  551. #define PE5_DDR DDRE
  552. #define PE5_PWM &OCR3CL
  553. #undef PE6
  554. #define PE6_PIN PINE6
  555. #define PE6_RPORT PINE
  556. #define PE6_WPORT PORTE
  557. #define PE6_DDR DDRE
  558. #define PE6_PWM NULL
  559. #undef PE7
  560. #define PE7_PIN PINE7
  561. #define PE7_RPORT PINE
  562. #define PE7_WPORT PORTE
  563. #define PE7_DDR DDRE
  564. #define PE7_PWM NULL
  565. #undef PF0
  566. #define PF0_PIN PINF0
  567. #define PF0_RPORT PINF
  568. #define PF0_WPORT PORTF
  569. #define PF0_DDR DDRF
  570. #define PF0_PWM NULL
  571. #undef PF1
  572. #define PF1_PIN PINF1
  573. #define PF1_RPORT PINF
  574. #define PF1_WPORT PORTF
  575. #define PF1_DDR DDRF
  576. #define PF1_PWM NULL
  577. #undef PF2
  578. #define PF2_PIN PINF2
  579. #define PF2_RPORT PINF
  580. #define PF2_WPORT PORTF
  581. #define PF2_DDR DDRF
  582. #define PF2_PWM NULL
  583. #undef PF3
  584. #define PF3_PIN PINF3
  585. #define PF3_RPORT PINF
  586. #define PF3_WPORT PORTF
  587. #define PF3_DDR DDRF
  588. #define PF3_PWM NULL
  589. #undef PF4
  590. #define PF4_PIN PINF4
  591. #define PF4_RPORT PINF
  592. #define PF4_WPORT PORTF
  593. #define PF4_DDR DDRF
  594. #define PF4_PWM NULL
  595. #undef PF5
  596. #define PF5_PIN PINF5
  597. #define PF5_RPORT PINF
  598. #define PF5_WPORT PORTF
  599. #define PF5_DDR DDRF
  600. #define PF5_PWM NULL
  601. #undef PF6
  602. #define PF6_PIN PINF6
  603. #define PF6_RPORT PINF
  604. #define PF6_WPORT PORTF
  605. #define PF6_DDR DDRF
  606. #define PF6_PWM NULL
  607. #undef PF7
  608. #define PF7_PIN PINF7
  609. #define PF7_RPORT PINF
  610. #define PF7_WPORT PORTF
  611. #define PF7_DDR DDRF
  612. #define PF7_PWM NULL
  613. #undef PG0
  614. #define PG0_PIN PING0
  615. #define PG0_RPORT PING
  616. #define PG0_WPORT PORTG
  617. #define PG0_DDR DDRG
  618. #define PG0_PWM NULL
  619. #undef PG1
  620. #define PG1_PIN PING1
  621. #define PG1_RPORT PING
  622. #define PG1_WPORT PORTG
  623. #define PG1_DDR DDRG
  624. #define PG1_PWM NULL
  625. #undef PG2
  626. #define PG2_PIN PING2
  627. #define PG2_RPORT PING
  628. #define PG2_WPORT PORTG
  629. #define PG2_DDR DDRG
  630. #define PG2_PWM NULL
  631. #undef PG3
  632. #define PG3_PIN PING3
  633. #define PG3_RPORT PING
  634. #define PG3_WPORT PORTG
  635. #define PG3_DDR DDRG
  636. #define PG3_PWM NULL
  637. #undef PG4
  638. #define PG4_PIN PING4
  639. #define PG4_RPORT PING
  640. #define PG4_WPORT PORTG
  641. #define PG4_DDR DDRG
  642. #define PG4_PWM NULL
  643. #undef PG5
  644. #define PG5_PIN PING5
  645. #define PG5_RPORT PING
  646. #define PG5_WPORT PORTG
  647. #define PG5_DDR DDRG
  648. #define PG5_PWM &OCR0B
  649. #endif // _FASTIO_1281