fastio.h

Sat, 07 Nov 2015 13:24:46 +0100

author
mbayer
date
Sat, 07 Nov 2015 13:24:46 +0100
changeset 1
b584642d4f58
parent 0
2c8ba1964db7
permissions
-rw-r--r--

several modifications to support laser enable - still needs cleanup

0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1 /*
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2 This code contibuted by Triffid_Hunter and modified by Kliment
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
3 why double up on these macros? see http://gcc.gnu.org/onlinedocs/cpp/Stringification.html
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
4 */
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
6 #ifndef _ARDUINO_H
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
7 #define _ARDUINO_H
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
8
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
9 #include <avr/io.h>
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
10
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
11 /*
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
12 utility functions
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
13 */
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
14
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
15 #ifndef MASK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
16 /// MASKING- returns \f$2^PIN\f$
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
17 #define MASK(PIN) (1 << PIN)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
18 #endif
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
19
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
20 /*
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
21 magic I/O routines
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
22 now you can simply SET_OUTPUT(STEP); WRITE(STEP, 1); WRITE(STEP, 0);
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
23 */
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
24
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
25 /// Read a pin
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
26 #define _READ(IO) ((bool)(DIO ## IO ## _RPORT & MASK(DIO ## IO ## _PIN)))
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
27 /// write to a pin
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
28 // On some boards pins > 0x100 are used. These are not converted to atomic actions. An critical section is needed.
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
29
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
30 #define _WRITE_NC(IO, v) do { if (v) {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); } else {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }; } while (0)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
31
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
32 #define _WRITE_C(IO, v) do { if (v) { \
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
33 CRITICAL_SECTION_START; \
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
34 {DIO ## IO ## _WPORT |= MASK(DIO ## IO ## _PIN); }\
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
35 CRITICAL_SECTION_END; \
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
36 }\
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
37 else {\
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
38 CRITICAL_SECTION_START; \
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
39 {DIO ## IO ## _WPORT &= ~MASK(DIO ## IO ## _PIN); }\
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
40 CRITICAL_SECTION_END; \
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
41 }\
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
42 }\
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
43 while (0)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
44
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
45 #define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
46
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
47 /// toggle a pin
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
48 #define _TOGGLE(IO) do {DIO ## IO ## _RPORT = MASK(DIO ## IO ## _PIN); } while (0)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
49
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
50 /// set pin as input
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
51 #define _SET_INPUT(IO) do {DIO ## IO ## _DDR &= ~MASK(DIO ## IO ## _PIN); } while (0)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
52 /// set pin as output
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
53 #define _SET_OUTPUT(IO) do {DIO ## IO ## _DDR |= MASK(DIO ## IO ## _PIN); } while (0)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
54
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
55 /// check if pin is an input
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
56 #define _GET_INPUT(IO) ((DIO ## IO ## _DDR & MASK(DIO ## IO ## _PIN)) == 0)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
57 /// check if pin is an output
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
58 #define _GET_OUTPUT(IO) ((DIO ## IO ## _DDR & MASK(DIO ## IO ## _PIN)) != 0)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
59
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
60 /// check if pin is an timer
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
61 #define _GET_TIMER(IO) ((DIO ## IO ## _PWM)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
62
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
63 // why double up on these macros? see http://gcc.gnu.org/onlinedocs/cpp/Stringification.html
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
64
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
65 /// Read a pin wrapper
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
66 #define READ(IO) _READ(IO)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
67 /// Write to a pin wrapper
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
68 #define WRITE(IO, v) _WRITE(IO, v)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
69
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
70 /// toggle a pin wrapper
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
71 #define TOGGLE(IO) _TOGGLE(IO)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
72
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
73 /// set pin as input wrapper
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
74 #define SET_INPUT(IO) _SET_INPUT(IO)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
75 /// set pin as output wrapper
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
76 #define SET_OUTPUT(IO) _SET_OUTPUT(IO)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
77
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
78 /// check if pin is an input wrapper
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
79 #define GET_INPUT(IO) _GET_INPUT(IO)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
80 /// check if pin is an output wrapper
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
81 #define GET_OUTPUT(IO) _GET_OUTPUT(IO)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
82
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
83 /// check if pin is an timer wrapper
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
84 #define GET_TIMER(IO) _GET_TIMER(IO)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
85
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
86 /*
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
87 ports and functions
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
88
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
89 added as necessary or if I feel like it- not a comprehensive list!
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
90 */
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
91
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
92 #if defined (__AVR_ATmega168__) || defined (__AVR_ATmega328__) || defined (__AVR_ATmega328P__)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
93 // UART
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
94 #define RXD DIO0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
95 #define TXD DIO1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
96
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
97 // SPI
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
98 #define SCK DIO13
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
99 #define MISO DIO12
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
100 #define MOSI DIO11
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
101 #define SS DIO10
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
102
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
103 // TWI (I2C)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
104 #define SCL AIO5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
105 #define SDA AIO4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
106
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
107 // timers and PWM
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
108 #define OC0A DIO6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
109 #define OC0B DIO5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
110 #define OC1A DIO9
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
111 #define OC1B DIO10
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
112 #define OC2A DIO11
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
113 #define OC2B DIO3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
114
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
115 #define DEBUG_LED AIO5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
116
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
117 /*
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
118 pins
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
119 */
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
120
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
121 #define DIO0_PIN PIND0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
122 #define DIO0_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
123 #define DIO0_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
124 #define DIO0_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
125 #define DIO0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
126
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
127 #define DIO1_PIN PIND1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
128 #define DIO1_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
129 #define DIO1_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
130 #define DIO1_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
131 #define DIO1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
132
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
133 #define DIO2_PIN PIND2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
134 #define DIO2_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
135 #define DIO2_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
136 #define DIO2_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
137 #define DIO2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
138
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
139 #define DIO3_PIN PIND3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
140 #define DIO3_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
141 #define DIO3_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
142 #define DIO3_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
143 #define DIO3_PWM &OCR2B
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
144
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
145 #define DIO4_PIN PIND4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
146 #define DIO4_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
147 #define DIO4_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
148 #define DIO4_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
149 #define DIO4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
150
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
151 #define DIO5_PIN PIND5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
152 #define DIO5_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
153 #define DIO5_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
154 #define DIO5_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
155 #define DIO5_PWM &OCR0B
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
156
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
157 #define DIO6_PIN PIND6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
158 #define DIO6_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
159 #define DIO6_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
160 #define DIO6_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
161 #define DIO6_PWM &OCR0A
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
162
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
163 #define DIO7_PIN PIND7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
164 #define DIO7_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
165 #define DIO7_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
166 #define DIO7_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
167 #define DIO7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
168
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
169 #define DIO8_PIN PINB0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
170 #define DIO8_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
171 #define DIO8_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
172 #define DIO8_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
173 #define DIO8_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
174
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
175 #define DIO9_PIN PINB1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
176 #define DIO9_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
177 #define DIO9_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
178 #define DIO9_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
179 #define DIO9_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
180
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
181 #define DIO10_PIN PINB2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
182 #define DIO10_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
183 #define DIO10_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
184 #define DIO10_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
185 #define DIO10_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
186
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
187 #define DIO11_PIN PINB3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
188 #define DIO11_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
189 #define DIO11_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
190 #define DIO11_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
191 #define DIO11_PWM &OCR2A
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
192
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
193 #define DIO12_PIN PINB4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
194 #define DIO12_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
195 #define DIO12_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
196 #define DIO12_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
197 #define DIO12_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
198
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
199 #define DIO13_PIN PINB5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
200 #define DIO13_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
201 #define DIO13_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
202 #define DIO13_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
203 #define DIO13_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
204
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
205
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
206 #define DIO14_PIN PINC0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
207 #define DIO14_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
208 #define DIO14_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
209 #define DIO14_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
210 #define DIO14_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
211
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
212 #define DIO15_PIN PINC1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
213 #define DIO15_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
214 #define DIO15_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
215 #define DIO15_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
216 #define DIO15_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
217
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
218 #define DIO16_PIN PINC2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
219 #define DIO16_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
220 #define DIO16_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
221 #define DIO16_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
222 #define DIO16_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
223
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
224 #define DIO17_PIN PINC3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
225 #define DIO17_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
226 #define DIO17_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
227 #define DIO17_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
228 #define DIO17_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
229
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
230 #define DIO18_PIN PINC4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
231 #define DIO18_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
232 #define DIO18_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
233 #define DIO18_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
234 #define DIO18_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
235
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
236 #define DIO19_PIN PINC5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
237 #define DIO19_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
238 #define DIO19_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
239 #define DIO19_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
240 #define DIO19_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
241
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
242 #define DIO20_PIN PINC6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
243 #define DIO20_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
244 #define DIO20_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
245 #define DIO20_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
246 #define DIO20_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
247
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
248 #define DIO21_PIN PINC7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
249 #define DIO21_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
250 #define DIO21_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
251 #define DIO21_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
252 #define DIO21_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
253
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
254
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
255
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
256 #undef PB0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
257 #define PB0_PIN PINB0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
258 #define PB0_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
259 #define PB0_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
260 #define PB0_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
261 #define PB0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
262
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
263 #undef PB1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
264 #define PB1_PIN PINB1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
265 #define PB1_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
266 #define PB1_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
267 #define PB1_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
268 #define PB1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
269
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
270 #undef PB2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
271 #define PB2_PIN PINB2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
272 #define PB2_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
273 #define PB2_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
274 #define PB2_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
275 #define PB2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
276
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
277 #undef PB3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
278 #define PB3_PIN PINB3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
279 #define PB3_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
280 #define PB3_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
281 #define PB3_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
282 #define PB3_PWM &OCR2A
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
283
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
284 #undef PB4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
285 #define PB4_PIN PINB4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
286 #define PB4_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
287 #define PB4_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
288 #define PB4_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
289 #define PB4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
290
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
291 #undef PB5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
292 #define PB5_PIN PINB5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
293 #define PB5_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
294 #define PB5_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
295 #define PB5_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
296 #define PB5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
297
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
298 #undef PB6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
299 #define PB6_PIN PINB6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
300 #define PB6_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
301 #define PB6_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
302 #define PB6_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
303 #define PB6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
304
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
305 #undef PB7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
306 #define PB7_PIN PINB7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
307 #define PB7_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
308 #define PB7_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
309 #define PB7_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
310 #define PB7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
311
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
312
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
313 #undef PC0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
314 #define PC0_PIN PINC0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
315 #define PC0_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
316 #define PC0_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
317 #define PC0_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
318 #define PC0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
319
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
320 #undef PC1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
321 #define PC1_PIN PINC1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
322 #define PC1_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
323 #define PC1_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
324 #define PC1_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
325 #define PC1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
326
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
327 #undef PC2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
328 #define PC2_PIN PINC2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
329 #define PC2_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
330 #define PC2_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
331 #define PC2_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
332 #define PC2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
333
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
334 #undef PC3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
335 #define PC3_PIN PINC3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
336 #define PC3_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
337 #define PC3_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
338 #define PC3_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
339 #define PC3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
340
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
341 #undef PC4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
342 #define PC4_PIN PINC4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
343 #define PC4_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
344 #define PC4_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
345 #define PC4_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
346 #define PC4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
347
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
348 #undef PC5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
349 #define PC5_PIN PINC5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
350 #define PC5_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
351 #define PC5_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
352 #define PC5_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
353 #define PC5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
354
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
355 #undef PC6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
356 #define PC6_PIN PINC6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
357 #define PC6_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
358 #define PC6_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
359 #define PC6_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
360 #define PC6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
361
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
362 #undef PC7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
363 #define PC7_PIN PINC7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
364 #define PC7_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
365 #define PC7_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
366 #define PC7_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
367 #define PC7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
368
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
369
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
370 #undef PD0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
371 #define PD0_PIN PIND0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
372 #define PD0_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
373 #define PD0_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
374 #define PD0_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
375 #define PD0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
376
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
377 #undef PD1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
378 #define PD1_PIN PIND1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
379 #define PD1_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
380 #define PD1_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
381 #define PD1_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
382 #define PD1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
383
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
384 #undef PD2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
385 #define PD2_PIN PIND2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
386 #define PD2_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
387 #define PD2_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
388 #define PD2_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
389 #define PD2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
390
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
391 #undef PD3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
392 #define PD3_PIN PIND3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
393 #define PD3_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
394 #define PD3_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
395 #define PD3_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
396 #define PD3_PWM &OCR2B
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
397
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
398 #undef PD4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
399 #define PD4_PIN PIND4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
400 #define PD4_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
401 #define PD4_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
402 #define PD4_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
403 #define PD4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
404
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
405 #undef PD5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
406 #define PD5_PIN PIND5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
407 #define PD5_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
408 #define PD5_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
409 #define PD5_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
410 #define PD5_PWM &OCR0B
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
411
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
412 #undef PD6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
413 #define PD6_PIN PIND6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
414 #define PD6_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
415 #define PD6_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
416 #define PD6_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
417 #define PD6_PWM &OCR0A
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
418
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
419 #undef PD7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
420 #define PD7_PIN PIND7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
421 #define PD7_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
422 #define PD7_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
423 #define PD7_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
424 #define PD7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
425 #endif /* _AVR_ATmega{168,328,328P}__ */
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
426
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
427 #if defined (__AVR_ATmega644__) || defined (__AVR_ATmega644P__) || defined (__AVR_ATmega644PA__) || defined (__AVR_ATmega1284__) || defined (__AVR_ATmega1284P__)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
428 // UART
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
429 #define RXD DIO8
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
430 #define TXD DIO9
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
431 #define RXD0 DIO8
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
432 #define TXD0 DIO9
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
433
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
434 #define RXD1 DIO10
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
435 #define TXD1 DIO11
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
436
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
437 // SPI
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
438 #define SCK DIO7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
439 #define MISO DIO6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
440 #define MOSI DIO5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
441 #define SS DIO4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
442
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
443 // TWI (I2C)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
444 #define SCL DIO16
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
445 #define SDA DIO17
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
446
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
447 // timers and PWM
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
448 #define OC0A DIO3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
449 #define OC0B DIO4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
450 #define OC1A DIO13
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
451 #define OC1B DIO12
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
452 #define OC2A DIO15
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
453 #define OC2B DIO14
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
454
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
455 #define DEBUG_LED DIO0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
456 /*
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
457 pins
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
458 */
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
459
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
460 #define DIO0_PIN PINB0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
461 #define DIO0_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
462 #define DIO0_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
463 #define DIO0_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
464 #define DIO0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
465
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
466 #define DIO1_PIN PINB1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
467 #define DIO1_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
468 #define DIO1_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
469 #define DIO1_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
470 #define DIO1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
471
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
472 #define DIO2_PIN PINB2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
473 #define DIO2_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
474 #define DIO2_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
475 #define DIO2_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
476 #define DIO2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
477
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
478 #define DIO3_PIN PINB3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
479 #define DIO3_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
480 #define DIO3_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
481 #define DIO3_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
482 #define DIO3_PWM OCR0A
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
483
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
484 #define DIO4_PIN PINB4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
485 #define DIO4_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
486 #define DIO4_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
487 #define DIO4_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
488 #define DIO4_PWM OCR0B
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
489
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
490 #define DIO5_PIN PINB5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
491 #define DIO5_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
492 #define DIO5_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
493 #define DIO5_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
494 #define DIO5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
495
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
496 #define DIO6_PIN PINB6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
497 #define DIO6_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
498 #define DIO6_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
499 #define DIO6_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
500 #define DIO6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
501
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
502 #define DIO7_PIN PINB7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
503 #define DIO7_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
504 #define DIO7_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
505 #define DIO7_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
506 #define DIO7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
507
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
508 #define DIO8_PIN PIND0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
509 #define DIO8_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
510 #define DIO8_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
511 #define DIO8_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
512 #define DIO8_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
513
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
514 #define DIO9_PIN PIND1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
515 #define DIO9_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
516 #define DIO9_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
517 #define DIO9_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
518 #define DIO9_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
519
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
520 #define DIO10_PIN PIND2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
521 #define DIO10_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
522 #define DIO10_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
523 #define DIO10_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
524 #define DIO10_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
525
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
526 #define DIO11_PIN PIND3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
527 #define DIO11_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
528 #define DIO11_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
529 #define DIO11_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
530 #define DIO11_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
531
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
532 #define DIO12_PIN PIND4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
533 #define DIO12_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
534 #define DIO12_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
535 #define DIO12_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
536 #define DIO12_PWM OCR1B
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
537
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
538 #define DIO13_PIN PIND5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
539 #define DIO13_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
540 #define DIO13_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
541 #define DIO13_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
542 #define DIO13_PWM OCR1A
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
543
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
544 #define DIO14_PIN PIND6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
545 #define DIO14_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
546 #define DIO14_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
547 #define DIO14_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
548 #define DIO14_PWM OCR2B
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
549
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
550 #define DIO15_PIN PIND7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
551 #define DIO15_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
552 #define DIO15_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
553 #define DIO15_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
554 #define DIO15_PWM OCR2A
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
555
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
556 #define DIO16_PIN PINC0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
557 #define DIO16_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
558 #define DIO16_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
559 #define DIO16_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
560 #define DIO16_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
561
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
562 #define DIO17_PIN PINC1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
563 #define DIO17_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
564 #define DIO17_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
565 #define DIO17_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
566 #define DIO17_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
567
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
568 #define DIO18_PIN PINC2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
569 #define DIO18_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
570 #define DIO18_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
571 #define DIO18_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
572 #define DIO18_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
573
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
574 #define DIO19_PIN PINC3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
575 #define DIO19_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
576 #define DIO19_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
577 #define DIO19_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
578 #define DIO19_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
579
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
580 #define DIO20_PIN PINC4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
581 #define DIO20_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
582 #define DIO20_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
583 #define DIO20_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
584 #define DIO20_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
585
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
586 #define DIO21_PIN PINC5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
587 #define DIO21_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
588 #define DIO21_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
589 #define DIO21_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
590 #define DIO21_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
591
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
592 #define DIO22_PIN PINC6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
593 #define DIO22_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
594 #define DIO22_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
595 #define DIO22_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
596 #define DIO22_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
597
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
598 #define DIO23_PIN PINC7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
599 #define DIO23_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
600 #define DIO23_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
601 #define DIO23_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
602 #define DIO23_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
603
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
604 #define DIO24_PIN PINA7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
605 #define DIO24_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
606 #define DIO24_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
607 #define DIO24_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
608 #define DIO24_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
609
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
610 #define DIO25_PIN PINA6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
611 #define DIO25_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
612 #define DIO25_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
613 #define DIO25_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
614 #define DIO25_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
615
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
616 #define DIO26_PIN PINA5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
617 #define DIO26_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
618 #define DIO26_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
619 #define DIO26_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
620 #define DIO26_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
621
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
622 #define DIO27_PIN PINA4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
623 #define DIO27_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
624 #define DIO27_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
625 #define DIO27_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
626 #define DIO27_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
627
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
628 #define DIO28_PIN PINA3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
629 #define DIO28_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
630 #define DIO28_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
631 #define DIO28_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
632 #define DIO28_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
633
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
634 #define DIO29_PIN PINA2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
635 #define DIO29_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
636 #define DIO29_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
637 #define DIO29_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
638 #define DIO29_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
639
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
640 #define DIO30_PIN PINA1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
641 #define DIO30_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
642 #define DIO30_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
643 #define DIO30_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
644 #define DIO30_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
645
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
646 #define DIO31_PIN PINA0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
647 #define DIO31_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
648 #define DIO31_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
649 #define DIO31_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
650 #define DIO31_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
651
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
652 #define AIO0_PIN PINA0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
653 #define AIO0_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
654 #define AIO0_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
655 #define AIO0_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
656 #define AIO0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
657
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
658 #define AIO1_PIN PINA1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
659 #define AIO1_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
660 #define AIO1_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
661 #define AIO1_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
662 #define AIO1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
663
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
664 #define AIO2_PIN PINA2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
665 #define AIO2_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
666 #define AIO2_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
667 #define AIO2_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
668 #define AIO2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
669
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
670 #define AIO3_PIN PINA3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
671 #define AIO3_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
672 #define AIO3_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
673 #define AIO3_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
674 #define AIO3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
675
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
676 #define AIO4_PIN PINA4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
677 #define AIO4_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
678 #define AIO4_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
679 #define AIO4_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
680 #define AIO4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
681
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
682 #define AIO5_PIN PINA5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
683 #define AIO5_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
684 #define AIO5_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
685 #define AIO5_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
686 #define AIO5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
687
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
688 #define AIO6_PIN PINA6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
689 #define AIO6_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
690 #define AIO6_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
691 #define AIO6_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
692 #define AIO6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
693
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
694 #define AIO7_PIN PINA7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
695 #define AIO7_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
696 #define AIO7_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
697 #define AIO7_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
698 #define AIO7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
699
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
700
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
701
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
702 #undef PA0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
703 #define PA0_PIN PINA0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
704 #define PA0_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
705 #define PA0_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
706 #define PA0_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
707 #define PA0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
708
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
709 #undef PA1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
710 #define PA1_PIN PINA1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
711 #define PA1_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
712 #define PA1_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
713 #define PA1_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
714 #define PA1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
715
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
716 #undef PA2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
717 #define PA2_PIN PINA2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
718 #define PA2_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
719 #define PA2_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
720 #define PA2_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
721 #define PA2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
722
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
723 #undef PA3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
724 #define PA3_PIN PINA3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
725 #define PA3_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
726 #define PA3_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
727 #define PA3_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
728 #define PA3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
729
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
730 #undef PA4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
731 #define PA4_PIN PINA4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
732 #define PA4_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
733 #define PA4_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
734 #define PA4_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
735 #define PA4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
736
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
737 #undef PA5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
738 #define PA5_PIN PINA5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
739 #define PA5_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
740 #define PA5_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
741 #define PA5_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
742 #define PA5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
743
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
744 #undef PA6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
745 #define PA6_PIN PINA6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
746 #define PA6_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
747 #define PA6_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
748 #define PA6_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
749 #define PA6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
750
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
751 #undef PA7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
752 #define PA7_PIN PINA7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
753 #define PA7_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
754 #define PA7_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
755 #define PA7_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
756 #define PA7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
757
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
758
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
759 #undef PB0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
760 #define PB0_PIN PINB0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
761 #define PB0_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
762 #define PB0_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
763 #define PB0_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
764 #define PB0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
765
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
766 #undef PB1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
767 #define PB1_PIN PINB1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
768 #define PB1_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
769 #define PB1_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
770 #define PB1_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
771 #define PB1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
772
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
773 #undef PB2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
774 #define PB2_PIN PINB2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
775 #define PB2_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
776 #define PB2_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
777 #define PB2_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
778 #define PB2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
779
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
780 #undef PB3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
781 #define PB3_PIN PINB3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
782 #define PB3_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
783 #define PB3_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
784 #define PB3_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
785 #define PB3_PWM OCR0A
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
786
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
787 #undef PB4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
788 #define PB4_PIN PINB4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
789 #define PB4_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
790 #define PB4_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
791 #define PB4_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
792 #define PB4_PWM OCR0B
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
793
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
794 #undef PB5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
795 #define PB5_PIN PINB5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
796 #define PB5_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
797 #define PB5_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
798 #define PB5_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
799 #define PB5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
800
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
801 #undef PB6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
802 #define PB6_PIN PINB6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
803 #define PB6_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
804 #define PB6_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
805 #define PB6_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
806 #define PB6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
807
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
808 #undef PB7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
809 #define PB7_PIN PINB7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
810 #define PB7_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
811 #define PB7_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
812 #define PB7_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
813 #define PB7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
814
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
815
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
816 #undef PC0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
817 #define PC0_PIN PINC0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
818 #define PC0_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
819 #define PC0_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
820 #define PC0_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
821 #define PC0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
822
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
823 #undef PC1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
824 #define PC1_PIN PINC1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
825 #define PC1_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
826 #define PC1_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
827 #define PC1_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
828 #define PC1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
829
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
830 #undef PC2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
831 #define PC2_PIN PINC2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
832 #define PC2_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
833 #define PC2_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
834 #define PC2_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
835 #define PC2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
836
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
837 #undef PC3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
838 #define PC3_PIN PINC3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
839 #define PC3_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
840 #define PC3_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
841 #define PC3_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
842 #define PC3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
843
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
844 #undef PC4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
845 #define PC4_PIN PINC4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
846 #define PC4_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
847 #define PC4_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
848 #define PC4_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
849 #define PC4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
850
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
851 #undef PC5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
852 #define PC5_PIN PINC5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
853 #define PC5_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
854 #define PC5_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
855 #define PC5_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
856 #define PC5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
857
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
858 #undef PC6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
859 #define PC6_PIN PINC6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
860 #define PC6_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
861 #define PC6_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
862 #define PC6_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
863 #define PC6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
864
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
865 #undef PC7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
866 #define PC7_PIN PINC7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
867 #define PC7_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
868 #define PC7_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
869 #define PC7_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
870 #define PC7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
871
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
872
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
873 #undef PD0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
874 #define PD0_PIN PIND0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
875 #define PD0_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
876 #define PD0_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
877 #define PD0_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
878 #define PD0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
879
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
880 #undef PD1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
881 #define PD1_PIN PIND1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
882 #define PD1_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
883 #define PD1_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
884 #define PD1_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
885 #define PD1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
886
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
887 #undef PD2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
888 #define PD2_PIN PIND2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
889 #define PD2_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
890 #define PD2_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
891 #define PD2_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
892 #define PD2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
893
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
894 #undef PD3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
895 #define PD3_PIN PIND3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
896 #define PD3_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
897 #define PD3_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
898 #define PD3_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
899 #define PD3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
900
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
901 #undef PD4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
902 #define PD4_PIN PIND4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
903 #define PD4_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
904 #define PD4_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
905 #define PD4_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
906 #define PD4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
907
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
908 #undef PD5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
909 #define PD5_PIN PIND5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
910 #define PD5_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
911 #define PD5_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
912 #define PD5_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
913 #define PD5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
914
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
915 #undef PD6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
916 #define PD6_PIN PIND6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
917 #define PD6_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
918 #define PD6_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
919 #define PD6_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
920 #define PD6_PWM OCR2B
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
921
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
922 #undef PD7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
923 #define PD7_PIN PIND7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
924 #define PD7_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
925 #define PD7_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
926 #define PD7_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
927 #define PD7_PWM OCR2A
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
928 #endif /* _AVR_ATmega{644,644P,644PA}__ */
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
929
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
930 #if defined (__AVR_ATmega1280__) || defined (__AVR_ATmega2560__)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
931 // UART
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
932 #define RXD DIO0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
933 #define TXD DIO1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
934
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
935 // SPI
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
936 #define SCK DIO52
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
937 #define MISO DIO50
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
938 #define MOSI DIO51
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
939 #define SS DIO53
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
940
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
941 // TWI (I2C)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
942 #define SCL DIO21
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
943 #define SDA DIO20
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
944
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
945 // timers and PWM
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
946 #define OC0A DIO13
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
947 #define OC0B DIO4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
948 #define OC1A DIO11
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
949 #define OC1B DIO12
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
950 #define OC2A DIO10
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
951 #define OC2B DIO9
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
952 #define OC3A DIO5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
953 #define OC3B DIO2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
954 #define OC3C DIO3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
955 #define OC4A DIO6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
956 #define OC4B DIO7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
957 #define OC4C DIO8
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
958 #define OC5A DIO46
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
959 #define OC5B DIO45
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
960 #define OC5C DIO44
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
961
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
962 // change for your board
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
963 #define DEBUG_LED DIO21
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
964
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
965 /*
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
966 pins
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
967 */
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
968 #define DIO0_PIN PINE0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
969 #define DIO0_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
970 #define DIO0_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
971 #define DIO0_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
972 #define DIO0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
973
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
974 #define DIO1_PIN PINE1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
975 #define DIO1_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
976 #define DIO1_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
977 #define DIO1_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
978 #define DIO1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
979
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
980 #define DIO2_PIN PINE4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
981 #define DIO2_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
982 #define DIO2_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
983 #define DIO2_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
984 #define DIO2_PWM &OCR3BL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
985
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
986 #define DIO3_PIN PINE5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
987 #define DIO3_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
988 #define DIO3_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
989 #define DIO3_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
990 #define DIO3_PWM &OCR3CL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
991
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
992 #define DIO4_PIN PING5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
993 #define DIO4_RPORT PING
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
994 #define DIO4_WPORT PORTG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
995 #define DIO4_DDR DDRG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
996 #define DIO4_PWM &OCR0B
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
997
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
998 #define DIO5_PIN PINE3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
999 #define DIO5_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1000 #define DIO5_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1001 #define DIO5_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1002 #define DIO5_PWM &OCR3AL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1003
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1004 #define DIO6_PIN PINH3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1005 #define DIO6_RPORT PINH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1006 #define DIO6_WPORT PORTH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1007 #define DIO6_DDR DDRH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1008 #define DIO6_PWM &OCR4AL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1009
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1010 #define DIO7_PIN PINH4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1011 #define DIO7_RPORT PINH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1012 #define DIO7_WPORT PORTH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1013 #define DIO7_DDR DDRH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1014 #define DIO7_PWM &OCR4BL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1015
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1016 #define DIO8_PIN PINH5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1017 #define DIO8_RPORT PINH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1018 #define DIO8_WPORT PORTH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1019 #define DIO8_DDR DDRH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1020 #define DIO8_PWM &OCR4CL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1021
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1022 #define DIO9_PIN PINH6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1023 #define DIO9_RPORT PINH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1024 #define DIO9_WPORT PORTH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1025 #define DIO9_DDR DDRH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1026 #define DIO9_PWM &OCR2B
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1027
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1028 #define DIO10_PIN PINB4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1029 #define DIO10_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1030 #define DIO10_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1031 #define DIO10_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1032 #define DIO10_PWM &OCR2A
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1033
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1034 #define DIO11_PIN PINB5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1035 #define DIO11_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1036 #define DIO11_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1037 #define DIO11_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1038 #define DIO11_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1039
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1040 #define DIO12_PIN PINB6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1041 #define DIO12_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1042 #define DIO12_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1043 #define DIO12_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1044 #define DIO12_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1045
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1046 #define DIO13_PIN PINB7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1047 #define DIO13_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1048 #define DIO13_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1049 #define DIO13_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1050 #define DIO13_PWM &OCR0A
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1051
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1052 #define DIO14_PIN PINJ1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1053 #define DIO14_RPORT PINJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1054 #define DIO14_WPORT PORTJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1055 #define DIO14_DDR DDRJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1056 #define DIO14_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1057
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1058 #define DIO15_PIN PINJ0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1059 #define DIO15_RPORT PINJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1060 #define DIO15_WPORT PORTJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1061 #define DIO15_DDR DDRJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1062 #define DIO15_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1063
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1064 #define DIO16_PIN PINH1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1065 #define DIO16_RPORT PINH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1066 #define DIO16_WPORT PORTH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1067 #define DIO16_DDR DDRH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1068 #define DIO16_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1069
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1070 #define DIO17_PIN PINH0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1071 #define DIO17_RPORT PINH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1072 #define DIO17_WPORT PORTH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1073 #define DIO17_DDR DDRH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1074 #define DIO17_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1075
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1076 #define DIO18_PIN PIND3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1077 #define DIO18_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1078 #define DIO18_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1079 #define DIO18_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1080 #define DIO18_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1081
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1082 #define DIO19_PIN PIND2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1083 #define DIO19_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1084 #define DIO19_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1085 #define DIO19_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1086 #define DIO19_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1087
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1088 #define DIO20_PIN PIND1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1089 #define DIO20_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1090 #define DIO20_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1091 #define DIO20_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1092 #define DIO20_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1093
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1094 #define DIO21_PIN PIND0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1095 #define DIO21_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1096 #define DIO21_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1097 #define DIO21_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1098 #define DIO21_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1099
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1100 #define DIO22_PIN PINA0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1101 #define DIO22_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1102 #define DIO22_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1103 #define DIO22_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1104 #define DIO22_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1105
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1106 #define DIO23_PIN PINA1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1107 #define DIO23_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1108 #define DIO23_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1109 #define DIO23_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1110 #define DIO23_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1111
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1112 #define DIO24_PIN PINA2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1113 #define DIO24_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1114 #define DIO24_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1115 #define DIO24_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1116 #define DIO24_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1117
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1118 #define DIO25_PIN PINA3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1119 #define DIO25_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1120 #define DIO25_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1121 #define DIO25_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1122 #define DIO25_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1123
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1124 #define DIO26_PIN PINA4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1125 #define DIO26_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1126 #define DIO26_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1127 #define DIO26_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1128 #define DIO26_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1129
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1130 #define DIO27_PIN PINA5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1131 #define DIO27_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1132 #define DIO27_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1133 #define DIO27_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1134 #define DIO27_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1135
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1136 #define DIO28_PIN PINA6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1137 #define DIO28_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1138 #define DIO28_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1139 #define DIO28_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1140 #define DIO28_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1141
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1142 #define DIO29_PIN PINA7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1143 #define DIO29_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1144 #define DIO29_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1145 #define DIO29_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1146 #define DIO29_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1147
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1148 #define DIO30_PIN PINC7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1149 #define DIO30_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1150 #define DIO30_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1151 #define DIO30_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1152 #define DIO30_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1153
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1154 #define DIO31_PIN PINC6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1155 #define DIO31_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1156 #define DIO31_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1157 #define DIO31_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1158 #define DIO31_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1159
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1160 #define DIO32_PIN PINC5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1161 #define DIO32_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1162 #define DIO32_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1163 #define DIO32_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1164 #define DIO32_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1165
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1166 #define DIO33_PIN PINC4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1167 #define DIO33_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1168 #define DIO33_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1169 #define DIO33_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1170 #define DIO33_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1171
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1172 #define DIO34_PIN PINC3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1173 #define DIO34_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1174 #define DIO34_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1175 #define DIO34_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1176 #define DIO34_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1177
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1178 #define DIO35_PIN PINC2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1179 #define DIO35_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1180 #define DIO35_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1181 #define DIO35_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1182 #define DIO35_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1183
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1184 #define DIO36_PIN PINC1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1185 #define DIO36_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1186 #define DIO36_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1187 #define DIO36_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1188 #define DIO36_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1189
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1190 #define DIO37_PIN PINC0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1191 #define DIO37_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1192 #define DIO37_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1193 #define DIO37_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1194 #define DIO37_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1195
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1196 #define DIO38_PIN PIND7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1197 #define DIO38_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1198 #define DIO38_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1199 #define DIO38_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1200 #define DIO38_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1201
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1202 #define DIO39_PIN PING2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1203 #define DIO39_RPORT PING
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1204 #define DIO39_WPORT PORTG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1205 #define DIO39_DDR DDRG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1206 #define DIO39_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1207
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1208 #define DIO40_PIN PING1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1209 #define DIO40_RPORT PING
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1210 #define DIO40_WPORT PORTG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1211 #define DIO40_DDR DDRG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1212 #define DIO40_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1213
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1214 #define DIO41_PIN PING0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1215 #define DIO41_RPORT PING
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1216 #define DIO41_WPORT PORTG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1217 #define DIO41_DDR DDRG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1218 #define DIO41_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1219
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1220 #define DIO42_PIN PINL7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1221 #define DIO42_RPORT PINL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1222 #define DIO42_WPORT PORTL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1223 #define DIO42_DDR DDRL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1224 #define DIO42_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1225
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1226 #define DIO43_PIN PINL6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1227 #define DIO43_RPORT PINL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1228 #define DIO43_WPORT PORTL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1229 #define DIO43_DDR DDRL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1230 #define DIO43_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1231
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1232 #define DIO44_PIN PINL5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1233 #define DIO44_RPORT PINL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1234 #define DIO44_WPORT PORTL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1235 #define DIO44_DDR DDRL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1236 #define DIO44_PWM &OCR5CL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1237
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1238 #define DIO45_PIN PINL4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1239 #define DIO45_RPORT PINL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1240 #define DIO45_WPORT PORTL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1241 #define DIO45_DDR DDRL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1242 #define DIO45_PWM &OCR5BL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1243
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1244 #define DIO46_PIN PINL3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1245 #define DIO46_RPORT PINL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1246 #define DIO46_WPORT PORTL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1247 #define DIO46_DDR DDRL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1248 #define DIO46_PWM &OCR5AL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1249
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1250 #define DIO47_PIN PINL2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1251 #define DIO47_RPORT PINL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1252 #define DIO47_WPORT PORTL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1253 #define DIO47_DDR DDRL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1254 #define DIO47_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1255
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1256 #define DIO48_PIN PINL1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1257 #define DIO48_RPORT PINL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1258 #define DIO48_WPORT PORTL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1259 #define DIO48_DDR DDRL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1260 #define DIO48_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1261
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1262 #define DIO49_PIN PINL0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1263 #define DIO49_RPORT PINL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1264 #define DIO49_WPORT PORTL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1265 #define DIO49_DDR DDRL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1266 #define DIO49_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1267
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1268 #define DIO50_PIN PINB3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1269 #define DIO50_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1270 #define DIO50_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1271 #define DIO50_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1272 #define DIO50_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1273
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1274 #define DIO51_PIN PINB2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1275 #define DIO51_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1276 #define DIO51_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1277 #define DIO51_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1278 #define DIO51_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1279
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1280 #define DIO52_PIN PINB1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1281 #define DIO52_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1282 #define DIO52_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1283 #define DIO52_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1284 #define DIO52_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1285
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1286 #define DIO53_PIN PINB0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1287 #define DIO53_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1288 #define DIO53_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1289 #define DIO53_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1290 #define DIO53_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1291
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1292 #define DIO54_PIN PINF0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1293 #define DIO54_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1294 #define DIO54_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1295 #define DIO54_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1296 #define DIO54_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1297
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1298 #define DIO55_PIN PINF1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1299 #define DIO55_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1300 #define DIO55_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1301 #define DIO55_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1302 #define DIO55_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1303
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1304 #define DIO56_PIN PINF2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1305 #define DIO56_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1306 #define DIO56_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1307 #define DIO56_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1308 #define DIO56_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1309
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1310 #define DIO57_PIN PINF3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1311 #define DIO57_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1312 #define DIO57_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1313 #define DIO57_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1314 #define DIO57_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1315
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1316 #define DIO58_PIN PINF4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1317 #define DIO58_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1318 #define DIO58_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1319 #define DIO58_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1320 #define DIO58_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1321
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1322 #define DIO59_PIN PINF5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1323 #define DIO59_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1324 #define DIO59_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1325 #define DIO59_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1326 #define DIO59_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1327
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1328 #define DIO60_PIN PINF6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1329 #define DIO60_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1330 #define DIO60_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1331 #define DIO60_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1332 #define DIO60_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1333
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1334 #define DIO61_PIN PINF7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1335 #define DIO61_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1336 #define DIO61_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1337 #define DIO61_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1338 #define DIO61_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1339
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1340 #define DIO62_PIN PINK0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1341 #define DIO62_RPORT PINK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1342 #define DIO62_WPORT PORTK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1343 #define DIO62_DDR DDRK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1344 #define DIO62_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1345
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1346 #define DIO63_PIN PINK1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1347 #define DIO63_RPORT PINK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1348 #define DIO63_WPORT PORTK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1349 #define DIO63_DDR DDRK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1350 #define DIO63_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1351
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1352 #define DIO64_PIN PINK2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1353 #define DIO64_RPORT PINK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1354 #define DIO64_WPORT PORTK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1355 #define DIO64_DDR DDRK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1356 #define DIO64_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1357
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1358 #define DIO65_PIN PINK3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1359 #define DIO65_RPORT PINK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1360 #define DIO65_WPORT PORTK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1361 #define DIO65_DDR DDRK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1362 #define DIO65_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1363
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1364 #define DIO66_PIN PINK4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1365 #define DIO66_RPORT PINK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1366 #define DIO66_WPORT PORTK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1367 #define DIO66_DDR DDRK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1368 #define DIO66_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1369
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1370 #define DIO67_PIN PINK5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1371 #define DIO67_RPORT PINK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1372 #define DIO67_WPORT PORTK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1373 #define DIO67_DDR DDRK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1374 #define DIO67_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1375
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1376 #define DIO68_PIN PINK6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1377 #define DIO68_RPORT PINK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1378 #define DIO68_WPORT PORTK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1379 #define DIO68_DDR DDRK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1380 #define DIO68_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1381
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1382 #define DIO69_PIN PINK7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1383 #define DIO69_RPORT PINK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1384 #define DIO69_WPORT PORTK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1385 #define DIO69_DDR DDRK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1386 #define DIO69_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1387
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1388
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1389
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1390 #undef PA0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1391 #define PA0_PIN PINA0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1392 #define PA0_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1393 #define PA0_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1394 #define PA0_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1395 #define PA0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1396 #undef PA1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1397 #define PA1_PIN PINA1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1398 #define PA1_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1399 #define PA1_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1400 #define PA1_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1401 #define PA1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1402 #undef PA2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1403 #define PA2_PIN PINA2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1404 #define PA2_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1405 #define PA2_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1406 #define PA2_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1407 #define PA2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1408 #undef PA3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1409 #define PA3_PIN PINA3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1410 #define PA3_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1411 #define PA3_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1412 #define PA3_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1413 #define PA3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1414 #undef PA4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1415 #define PA4_PIN PINA4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1416 #define PA4_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1417 #define PA4_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1418 #define PA4_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1419 #define PA4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1420 #undef PA5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1421 #define PA5_PIN PINA5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1422 #define PA5_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1423 #define PA5_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1424 #define PA5_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1425 #define PA5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1426 #undef PA6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1427 #define PA6_PIN PINA6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1428 #define PA6_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1429 #define PA6_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1430 #define PA6_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1431 #define PA6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1432 #undef PA7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1433 #define PA7_PIN PINA7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1434 #define PA7_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1435 #define PA7_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1436 #define PA7_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1437 #define PA7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1438
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1439 #undef PB0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1440 #define PB0_PIN PINB0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1441 #define PB0_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1442 #define PB0_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1443 #define PB0_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1444 #define PB0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1445 #undef PB1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1446 #define PB1_PIN PINB1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1447 #define PB1_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1448 #define PB1_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1449 #define PB1_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1450 #define PB1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1451 #undef PB2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1452 #define PB2_PIN PINB2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1453 #define PB2_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1454 #define PB2_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1455 #define PB2_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1456 #define PB2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1457 #undef PB3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1458 #define PB3_PIN PINB3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1459 #define PB3_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1460 #define PB3_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1461 #define PB3_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1462 #define PB3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1463 #undef PB4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1464 #define PB4_PIN PINB4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1465 #define PB4_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1466 #define PB4_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1467 #define PB4_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1468 #define PB4_PWM &OCR2A
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1469 #undef PB5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1470 #define PB5_PIN PINB5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1471 #define PB5_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1472 #define PB5_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1473 #define PB5_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1474 #define PB5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1475 #undef PB6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1476 #define PB6_PIN PINB6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1477 #define PB6_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1478 #define PB6_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1479 #define PB6_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1480 #define PB6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1481 #undef PB7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1482 #define PB7_PIN PINB7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1483 #define PB7_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1484 #define PB7_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1485 #define PB7_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1486 #define PB7_PWM &OCR0A
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1487
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1488 #undef PC0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1489 #define PC0_PIN PINC0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1490 #define PC0_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1491 #define PC0_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1492 #define PC0_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1493 #define PC0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1494 #undef PC1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1495 #define PC1_PIN PINC1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1496 #define PC1_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1497 #define PC1_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1498 #define PC1_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1499 #define PC1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1500 #undef PC2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1501 #define PC2_PIN PINC2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1502 #define PC2_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1503 #define PC2_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1504 #define PC2_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1505 #define PC2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1506 #undef PC3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1507 #define PC3_PIN PINC3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1508 #define PC3_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1509 #define PC3_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1510 #define PC3_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1511 #define PC3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1512 #undef PC4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1513 #define PC4_PIN PINC4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1514 #define PC4_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1515 #define PC4_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1516 #define PC4_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1517 #define PC4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1518 #undef PC5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1519 #define PC5_PIN PINC5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1520 #define PC5_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1521 #define PC5_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1522 #define PC5_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1523 #define PC5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1524 #undef PC6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1525 #define PC6_PIN PINC6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1526 #define PC6_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1527 #define PC6_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1528 #define PC6_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1529 #define PC6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1530 #undef PC7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1531 #define PC7_PIN PINC7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1532 #define PC7_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1533 #define PC7_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1534 #define PC7_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1535 #define PC7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1536
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1537 #undef PD0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1538 #define PD0_PIN PIND0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1539 #define PD0_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1540 #define PD0_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1541 #define PD0_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1542 #define PD0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1543 #undef PD1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1544 #define PD1_PIN PIND1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1545 #define PD1_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1546 #define PD1_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1547 #define PD1_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1548 #define PD1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1549 #undef PD2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1550 #define PD2_PIN PIND2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1551 #define PD2_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1552 #define PD2_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1553 #define PD2_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1554 #define PD2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1555 #undef PD3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1556 #define PD3_PIN PIND3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1557 #define PD3_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1558 #define PD3_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1559 #define PD3_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1560 #define PD3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1561 #undef PD4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1562 #define PD4_PIN PIND4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1563 #define PD4_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1564 #define PD4_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1565 #define PD4_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1566 #define PD4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1567 #undef PD5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1568 #define PD5_PIN PIND5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1569 #define PD5_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1570 #define PD5_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1571 #define PD5_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1572 #define PD5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1573 #undef PD6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1574 #define PD6_PIN PIND6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1575 #define PD6_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1576 #define PD6_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1577 #define PD6_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1578 #define PD6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1579 #undef PD7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1580 #define PD7_PIN PIND7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1581 #define PD7_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1582 #define PD7_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1583 #define PD7_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1584 #define PD7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1585
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1586 #undef PE0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1587 #define PE0_PIN PINE0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1588 #define PE0_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1589 #define PE0_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1590 #define PE0_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1591 #define PE0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1592 #undef PE1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1593 #define PE1_PIN PINE1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1594 #define PE1_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1595 #define PE1_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1596 #define PE1_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1597 #define PE1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1598 #undef PE2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1599 #define PE2_PIN PINE2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1600 #define PE2_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1601 #define PE2_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1602 #define PE2_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1603 #define PE2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1604 #undef PE3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1605 #define PE3_PIN PINE3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1606 #define PE3_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1607 #define PE3_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1608 #define PE3_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1609 #define PE3_PWM &OCR3AL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1610 #undef PE4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1611 #define PE4_PIN PINE4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1612 #define PE4_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1613 #define PE4_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1614 #define PE4_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1615 #define PE4_PWM &OCR3BL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1616 #undef PE5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1617 #define PE5_PIN PINE5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1618 #define PE5_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1619 #define PE5_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1620 #define PE5_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1621 #define PE5_PWM &OCR3CL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1622 #undef PE6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1623 #define PE6_PIN PINE6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1624 #define PE6_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1625 #define PE6_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1626 #define PE6_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1627 #define PE6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1628 #undef PE7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1629 #define PE7_PIN PINE7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1630 #define PE7_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1631 #define PE7_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1632 #define PE7_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1633 #define PE7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1634
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1635 #undef PF0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1636 #define PF0_PIN PINF0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1637 #define PF0_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1638 #define PF0_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1639 #define PF0_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1640 #define PF0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1641 #undef PF1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1642 #define PF1_PIN PINF1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1643 #define PF1_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1644 #define PF1_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1645 #define PF1_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1646 #define PF1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1647 #undef PF2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1648 #define PF2_PIN PINF2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1649 #define PF2_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1650 #define PF2_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1651 #define PF2_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1652 #define PF2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1653 #undef PF3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1654 #define PF3_PIN PINF3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1655 #define PF3_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1656 #define PF3_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1657 #define PF3_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1658 #define PF3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1659 #undef PF4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1660 #define PF4_PIN PINF4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1661 #define PF4_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1662 #define PF4_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1663 #define PF4_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1664 #define PF4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1665 #undef PF5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1666 #define PF5_PIN PINF5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1667 #define PF5_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1668 #define PF5_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1669 #define PF5_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1670 #define PF5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1671 #undef PF6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1672 #define PF6_PIN PINF6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1673 #define PF6_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1674 #define PF6_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1675 #define PF6_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1676 #define PF6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1677 #undef PF7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1678 #define PF7_PIN PINF7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1679 #define PF7_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1680 #define PF7_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1681 #define PF7_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1682 #define PF7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1683
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1684 #undef PG0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1685 #define PG0_PIN PING0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1686 #define PG0_RPORT PING
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1687 #define PG0_WPORT PORTG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1688 #define PG0_DDR DDRG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1689 #define PG0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1690 #undef PG1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1691 #define PG1_PIN PING1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1692 #define PG1_RPORT PING
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1693 #define PG1_WPORT PORTG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1694 #define PG1_DDR DDRG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1695 #define PG1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1696 #undef PG2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1697 #define PG2_PIN PING2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1698 #define PG2_RPORT PING
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1699 #define PG2_WPORT PORTG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1700 #define PG2_DDR DDRG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1701 #define PG2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1702 #undef PG3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1703 #define PG3_PIN PING3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1704 #define PG3_RPORT PING
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1705 #define PG3_WPORT PORTG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1706 #define PG3_DDR DDRG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1707 #define PG3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1708 #undef PG4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1709 #define PG4_PIN PING4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1710 #define PG4_RPORT PING
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1711 #define PG4_WPORT PORTG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1712 #define PG4_DDR DDRG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1713 #define PG4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1714 #undef PG5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1715 #define PG5_PIN PING5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1716 #define PG5_RPORT PING
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1717 #define PG5_WPORT PORTG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1718 #define PG5_DDR DDRG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1719 #define PG5_PWM &OCR0B
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1720 #undef PG6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1721 #define PG6_PIN PING6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1722 #define PG6_RPORT PING
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1723 #define PG6_WPORT PORTG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1724 #define PG6_DDR DDRG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1725 #define PG6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1726 #undef PG7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1727 #define PG7_PIN PING7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1728 #define PG7_RPORT PING
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1729 #define PG7_WPORT PORTG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1730 #define PG7_DDR DDRG
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1731 #define PG7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1732
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1733 #undef PH0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1734 #define PH0_PIN PINH0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1735 #define PH0_RPORT PINH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1736 #define PH0_WPORT PORTH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1737 #define PH0_DDR DDRH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1738 #define PH0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1739 #undef PH1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1740 #define PH1_PIN PINH1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1741 #define PH1_RPORT PINH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1742 #define PH1_WPORT PORTH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1743 #define PH1_DDR DDRH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1744 #define PH1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1745 #undef PH2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1746 #define PH2_PIN PINH2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1747 #define PH2_RPORT PINH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1748 #define PH2_WPORT PORTH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1749 #define PH2_DDR DDRH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1750 #define PH2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1751 #undef PH3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1752 #define PH3_PIN PINH3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1753 #define PH3_RPORT PINH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1754 #define PH3_WPORT PORTH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1755 #define PH3_DDR DDRH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1756 #define PH3_PWM &OCR4AL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1757 #undef PH4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1758 #define PH4_PIN PINH4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1759 #define PH4_RPORT PINH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1760 #define PH4_WPORT PORTH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1761 #define PH4_DDR DDRH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1762 #define PH4_PWM &OCR4BL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1763 #undef PH5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1764 #define PH5_PIN PINH5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1765 #define PH5_RPORT PINH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1766 #define PH5_WPORT PORTH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1767 #define PH5_DDR DDRH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1768 #define PH5_PWM &OCR4CL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1769 #undef PH6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1770 #define PH6_PIN PINH6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1771 #define PH6_RPORT PINH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1772 #define PH6_WPORT PORTH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1773 #define PH6_DDR DDRH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1774 #define PH6_PWM &OCR2B
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1775 #undef PH7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1776 #define PH7_PIN PINH7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1777 #define PH7_RPORT PINH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1778 #define PH7_WPORT PORTH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1779 #define PH7_DDR DDRH
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1780 #define PH7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1781
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1782 #undef PJ0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1783 #define PJ0_PIN PINJ0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1784 #define PJ0_RPORT PINJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1785 #define PJ0_WPORT PORTJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1786 #define PJ0_DDR DDRJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1787 #define PJ0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1788 #undef PJ1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1789 #define PJ1_PIN PINJ1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1790 #define PJ1_RPORT PINJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1791 #define PJ1_WPORT PORTJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1792 #define PJ1_DDR DDRJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1793 #define PJ1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1794 #undef PJ2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1795 #define PJ2_PIN PINJ2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1796 #define PJ2_RPORT PINJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1797 #define PJ2_WPORT PORTJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1798 #define PJ2_DDR DDRJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1799 #define PJ2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1800 #undef PJ3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1801 #define PJ3_PIN PINJ3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1802 #define PJ3_RPORT PINJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1803 #define PJ3_WPORT PORTJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1804 #define PJ3_DDR DDRJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1805 #define PJ3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1806 #undef PJ4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1807 #define PJ4_PIN PINJ4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1808 #define PJ4_RPORT PINJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1809 #define PJ4_WPORT PORTJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1810 #define PJ4_DDR DDRJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1811 #define PJ4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1812 #undef PJ5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1813 #define PJ5_PIN PINJ5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1814 #define PJ5_RPORT PINJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1815 #define PJ5_WPORT PORTJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1816 #define PJ5_DDR DDRJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1817 #define PJ5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1818 #undef PJ6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1819 #define PJ6_PIN PINJ6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1820 #define PJ6_RPORT PINJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1821 #define PJ6_WPORT PORTJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1822 #define PJ6_DDR DDRJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1823 #define PJ6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1824 #undef PJ7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1825 #define PJ7_PIN PINJ7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1826 #define PJ7_RPORT PINJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1827 #define PJ7_WPORT PORTJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1828 #define PJ7_DDR DDRJ
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1829 #define PJ7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1830
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1831 #undef PK0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1832 #define PK0_PIN PINK0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1833 #define PK0_RPORT PINK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1834 #define PK0_WPORT PORTK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1835 #define PK0_DDR DDRK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1836 #define PK0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1837 #undef PK1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1838 #define PK1_PIN PINK1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1839 #define PK1_RPORT PINK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1840 #define PK1_WPORT PORTK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1841 #define PK1_DDR DDRK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1842 #define PK1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1843 #undef PK2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1844 #define PK2_PIN PINK2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1845 #define PK2_RPORT PINK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1846 #define PK2_WPORT PORTK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1847 #define PK2_DDR DDRK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1848 #define PK2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1849 #undef PK3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1850 #define PK3_PIN PINK3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1851 #define PK3_RPORT PINK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1852 #define PK3_WPORT PORTK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1853 #define PK3_DDR DDRK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1854 #define PK3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1855 #undef PK4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1856 #define PK4_PIN PINK4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1857 #define PK4_RPORT PINK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1858 #define PK4_WPORT PORTK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1859 #define PK4_DDR DDRK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1860 #define PK4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1861 #undef PK5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1862 #define PK5_PIN PINK5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1863 #define PK5_RPORT PINK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1864 #define PK5_WPORT PORTK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1865 #define PK5_DDR DDRK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1866 #define PK5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1867 #undef PK6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1868 #define PK6_PIN PINK6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1869 #define PK6_RPORT PINK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1870 #define PK6_WPORT PORTK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1871 #define PK6_DDR DDRK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1872 #define PK6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1873 #undef PK7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1874 #define PK7_PIN PINK7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1875 #define PK7_RPORT PINK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1876 #define PK7_WPORT PORTK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1877 #define PK7_DDR DDRK
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1878 #define PK7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1879
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1880 #undef PL0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1881 #define PL0_PIN PINL0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1882 #define PL0_RPORT PINL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1883 #define PL0_WPORT PORTL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1884 #define PL0_DDR DDRL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1885 #define PL0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1886 #undef PL1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1887 #define PL1_PIN PINL1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1888 #define PL1_RPORT PINL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1889 #define PL1_WPORT PORTL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1890 #define PL1_DDR DDRL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1891 #define PL1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1892 #undef PL2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1893 #define PL2_PIN PINL2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1894 #define PL2_RPORT PINL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1895 #define PL2_WPORT PORTL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1896 #define PL2_DDR DDRL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1897 #define PL2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1898 #undef PL3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1899 #define PL3_PIN PINL3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1900 #define PL3_RPORT PINL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1901 #define PL3_WPORT PORTL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1902 #define PL3_DDR DDRL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1903 #define PL3_PWM &OCR5AL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1904 #undef PL4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1905 #define PL4_PIN PINL4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1906 #define PL4_RPORT PINL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1907 #define PL4_WPORT PORTL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1908 #define PL4_DDR DDRL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1909 #define PL4_PWM &OCR5BL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1910 #undef PL5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1911 #define PL5_PIN PINL5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1912 #define PL5_RPORT PINL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1913 #define PL5_WPORT PORTL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1914 #define PL5_DDR DDRL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1915 #define PL5_PWM &OCR5CL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1916 #undef PL6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1917 #define PL6_PIN PINL6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1918 #define PL6_RPORT PINL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1919 #define PL6_WPORT PORTL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1920 #define PL6_DDR DDRL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1921 #define PL6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1922 #undef PL7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1923 #define PL7_PIN PINL7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1924 #define PL7_RPORT PINL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1925 #define PL7_WPORT PORTL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1926 #define PL7_DDR DDRL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1927 #define PL7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1928
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1929 #endif
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1930
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1931 #if defined (__AVR_AT90USB1287__) || defined (__AVR_AT90USB1286__)
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1932 // SPI
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1933 #define SCK DIO9
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1934 #define MISO DIO11
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1935 #define MOSI DIO10
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1936 #define SS DIO8
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1937
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1938 // change for your board
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1939 #define DEBUG_LED DIO31 /* led D5 red */
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1940
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1941 /*
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1942 pins
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1943 */
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1944 #define DIO0_PIN PINA0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1945 #define DIO0_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1946 #define DIO0_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1947 #define DIO0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1948 #define DIO0_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1949
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1950 #define DIO1_PIN PINA1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1951 #define DIO1_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1952 #define DIO1_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1953 #define DIO1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1954 #define DIO1_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1955
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1956 #define DIO2_PIN PINA2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1957 #define DIO2_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1958 #define DIO2_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1959 #define DIO2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1960 #define DIO2_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1961
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1962 #define DIO3_PIN PINA3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1963 #define DIO3_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1964 #define DIO3_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1965 #define DIO3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1966 #define DIO3_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1967
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1968 #define DIO4_PIN PINA4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1969 #define DIO4_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1970 #define DIO4_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1971 #define DIO4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1972 #define DIO4_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1973
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1974 #define DIO5_PIN PINA5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1975 #define DIO5_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1976 #define DIO5_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1977 #define DIO5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1978 #define DIO5_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1979
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1980 #define DIO6_PIN PINA6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1981 #define DIO6_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1982 #define DIO6_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1983 #define DIO6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1984 #define DIO6_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1985
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1986 #define DIO7_PIN PINA7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1987 #define DIO7_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1988 #define DIO7_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1989 #define DIO7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1990 #define DIO7_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1991
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1992 #define DIO8_PIN PINB0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1993 #define DIO8_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1994 #define DIO8_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1995 #define DIO8_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1996 #define DIO8_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1997
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1998 #define DIO9_PIN PINB1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
1999 #define DIO9_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2000 #define DIO9_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2001 #define DIO9_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2002 #define DIO9_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2003
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2004 #define DIO10_PIN PINB2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2005 #define DIO10_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2006 #define DIO10_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2007 #define DIO10_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2008 #define DIO10_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2009
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2010 #define DIO11_PIN PINB3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2011 #define DIO11_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2012 #define DIO11_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2013 #define DIO11_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2014 #define DIO11_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2015
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2016 #define DIO12_PIN PINB4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2017 #define DIO12_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2018 #define DIO12_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2019 #define DIO12_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2020 #define DIO12_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2021
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2022 #define DIO13_PIN PINB5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2023 #define DIO13_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2024 #define DIO13_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2025 #define DIO13_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2026 #define DIO13_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2027
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2028 #define DIO14_PIN PINB6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2029 #define DIO14_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2030 #define DIO14_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2031 #define DIO14_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2032 #define DIO14_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2033
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2034 #define DIO15_PIN PINB7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2035 #define DIO15_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2036 #define DIO15_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2037 #define DIO15_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2038 #define DIO15_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2039
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2040 #define DIO16_PIN PINC0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2041 #define DIO16_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2042 #define DIO16_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2043 #define DIO16_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2044 #define DIO16_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2045
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2046 #define DIO17_PIN PINC1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2047 #define DIO17_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2048 #define DIO17_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2049 #define DIO17_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2050 #define DIO17_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2051
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2052 #define DIO18_PIN PINC2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2053 #define DIO18_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2054 #define DIO18_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2055 #define DIO18_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2056 #define DIO18_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2057
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2058 #define DIO19_PIN PINC3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2059 #define DIO19_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2060 #define DIO19_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2061 #define DIO19_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2062 #define DIO19_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2063
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2064 #define DIO20_PIN PINC4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2065 #define DIO20_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2066 #define DIO20_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2067 #define DIO20_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2068 #define DIO20_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2069
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2070 #define DIO21_PIN PINC5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2071 #define DIO21_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2072 #define DIO21_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2073 #define DIO21_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2074 #define DIO21_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2075
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2076 #define DIO22_PIN PINC6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2077 #define DIO22_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2078 #define DIO22_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2079 #define DIO22_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2080 #define DIO22_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2081
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2082 #define DIO23_PIN PINC7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2083 #define DIO23_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2084 #define DIO23_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2085 #define DIO23_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2086 #define DIO23_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2087
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2088 #define DIO24_PIN PIND0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2089 #define DIO24_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2090 #define DIO24_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2091 #define DIO24_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2092 #define DIO24_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2093
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2094 #define DIO25_PIN PIND1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2095 #define DIO25_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2096 #define DIO25_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2097 #define DIO25_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2098 #define DIO25_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2099
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2100 #define DIO26_PIN PIND2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2101 #define DIO26_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2102 #define DIO26_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2103 #define DIO26_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2104 #define DIO26_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2105
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2106 #define DIO27_PIN PIND3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2107 #define DIO27_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2108 #define DIO27_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2109 #define DIO27_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2110 #define DIO27_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2111
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2112 #define DIO28_PIN PIND4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2113 #define DIO28_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2114 #define DIO28_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2115 #define DIO28_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2116 #define DIO28_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2117
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2118 #define DIO29_PIN PIND5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2119 #define DIO29_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2120 #define DIO29_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2121 #define DIO29_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2122 #define DIO29_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2123
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2124 #define DIO30_PIN PIND6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2125 #define DIO30_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2126 #define DIO30_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2127 #define DIO30_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2128 #define DIO30_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2129
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2130 #define DIO31_PIN PIND7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2131 #define DIO31_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2132 #define DIO31_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2133 #define DIO31_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2134 #define DIO31_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2135
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2136
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2137 #define DIO32_PIN PINE0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2138 #define DIO32_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2139 #define DIO32_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2140 #define DIO32_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2141 #define DIO32_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2142
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2143 #define DIO33_PIN PINE1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2144 #define DIO33_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2145 #define DIO33_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2146 #define DIO33_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2147 #define DIO33_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2148
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2149 #define DIO34_PIN PINE2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2150 #define DIO34_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2151 #define DIO34_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2152 #define DIO34_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2153 #define DIO34_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2154
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2155 #define DIO35_PIN PINE3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2156 #define DIO35_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2157 #define DIO35_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2158 #define DIO35_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2159 #define DIO35_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2160
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2161 #define DIO36_PIN PINE4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2162 #define DIO36_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2163 #define DIO36_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2164 #define DIO36_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2165 #define DIO36_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2166
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2167 #define DIO37_PIN PINE5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2168 #define DIO37_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2169 #define DIO37_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2170 #define DIO37_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2171 #define DIO37_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2172
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2173 #define DIO38_PIN PINE6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2174 #define DIO38_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2175 #define DIO38_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2176 #define DIO38_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2177 #define DIO38_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2178
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2179 #define DIO39_PIN PINE7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2180 #define DIO39_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2181 #define DIO39_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2182 #define DIO39_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2183 #define DIO39_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2184
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2185 #define AIO0_PIN PINF0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2186 #define AIO0_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2187 #define AIO0_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2188 #define AIO0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2189 #define AIO0_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2190
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2191 #define AIO1_PIN PINF1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2192 #define AIO1_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2193 #define AIO1_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2194 #define AIO1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2195 #define AIO1_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2196
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2197 #define AIO2_PIN PINF2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2198 #define AIO2_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2199 #define AIO2_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2200 #define AIO2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2201 #define AIO2_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2202
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2203 #define AIO3_PIN PINF3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2204 #define AIO3_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2205 #define AIO3_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2206 #define AIO3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2207 #define AIO3_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2208
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2209 #define AIO4_PIN PINF4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2210 #define AIO4_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2211 #define AIO4_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2212 #define AIO4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2213 #define AIO4_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2214
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2215 #define AIO5_PIN PINF5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2216 #define AIO5_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2217 #define AIO5_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2218 #define AIO5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2219 #define AIO5_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2220
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2221 #define AIO6_PIN PINF6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2222 #define AIO6_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2223 #define AIO6_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2224 #define AIO6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2225 #define AIO6_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2226
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2227 #define AIO7_PIN PINF7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2228 #define AIO7_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2229 #define AIO7_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2230 #define AIO7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2231 #define AIO7_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2232
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2233 #define DIO40_PIN PINF0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2234 #define DIO40_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2235 #define DIO40_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2236 #define DIO40_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2237 #define DIO40_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2238
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2239 #define DIO41_PIN PINF1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2240 #define DIO41_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2241 #define DIO41_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2242 #define DIO41_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2243 #define DIO41_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2244
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2245 #define DIO42_PIN PINF2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2246 #define DIO42_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2247 #define DIO42_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2248 #define DIO42_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2249 #define DIO42_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2250
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2251 #define DIO43_PIN PINF3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2252 #define DIO43_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2253 #define DIO43_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2254 #define DIO43_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2255 #define DIO43_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2256
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2257 #define DIO44_PIN PINF4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2258 #define DIO44_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2259 #define DIO44_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2260 #define DIO44_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2261 #define DIO44_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2262
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2263 #define DIO45_PIN PINF5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2264 #define DIO45_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2265 #define DIO45_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2266 #define DIO45_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2267 #define DIO45_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2268
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2269 #define DIO46_PIN PINF6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2270 #define DIO46_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2271 #define DIO46_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2272 #define DIO46_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2273 #define DIO46_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2274
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2275 #define DIO47_PIN PINF7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2276 #define DIO47_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2277 #define DIO47_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2278 #define DIO47_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2279 #define DIO47_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2280
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2281
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2282
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2283 #undef PA0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2284 #define PA0_PIN PINA0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2285 #define PA0_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2286 #define PA0_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2287 #define PA0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2288 #define PA0_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2289 #undef PA1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2290 #define PA1_PIN PINA1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2291 #define PA1_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2292 #define PA1_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2293 #define PA1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2294 #define PA1_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2295 #undef PA2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2296 #define PA2_PIN PINA2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2297 #define PA2_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2298 #define PA2_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2299 #define PA2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2300 #define PA2_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2301 #undef PA3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2302 #define PA3_PIN PINA3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2303 #define PA3_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2304 #define PA3_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2305 #define PA3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2306 #define PA3_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2307 #undef PA4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2308 #define PA4_PIN PINA4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2309 #define PA4_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2310 #define PA4_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2311 #define PA4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2312 #define PA4_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2313 #undef PA5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2314 #define PA5_PIN PINA5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2315 #define PA5_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2316 #define PA5_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2317 #define PA5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2318 #define PA5_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2319 #undef PA6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2320 #define PA6_PIN PINA6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2321 #define PA6_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2322 #define PA6_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2323 #define PA6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2324 #define PA6_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2325 #undef PA7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2326 #define PA7_PIN PINA7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2327 #define PA7_RPORT PINA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2328 #define PA7_WPORT PORTA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2329 #define PA7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2330 #define PA7_DDR DDRA
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2331
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2332 #undef PB0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2333 #define PB0_PIN PINB0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2334 #define PB0_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2335 #define PB0_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2336 #define PB0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2337 #define PB0_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2338 #undef PB1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2339 #define PB1_PIN PINB1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2340 #define PB1_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2341 #define PB1_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2342 #define PB1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2343 #define PB1_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2344 #undef PB2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2345 #define PB2_PIN PINB2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2346 #define PB2_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2347 #define PB2_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2348 #define PB2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2349 #define PB2_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2350 #undef PB3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2351 #define PB3_PIN PINB3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2352 #define PB3_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2353 #define PB3_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2354 #define PB3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2355 #define PB3_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2356 #undef PB4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2357 #define PB4_PIN PINB4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2358 #define PB4_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2359 #define PB4_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2360 #define PB4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2361 #define PB4_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2362 #undef PB5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2363 #define PB5_PIN PINB5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2364 #define PB5_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2365 #define PB5_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2366 #define PB5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2367 #define PB5_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2368 #undef PB6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2369 #define PB6_PIN PINB6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2370 #define PB6_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2371 #define PB6_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2372 #define PB6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2373 #define PB6_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2374 #undef PB7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2375 #define PB7_PIN PINB7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2376 #define PB7_RPORT PINB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2377 #define PB7_WPORT PORTB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2378 #define PB7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2379 #define PB7_DDR DDRB
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2380
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2381 #undef PC0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2382 #define PC0_PIN PINC0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2383 #define PC0_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2384 #define PC0_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2385 #define PC0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2386 #define PC0_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2387 #undef PC1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2388 #define PC1_PIN PINC1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2389 #define PC1_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2390 #define PC1_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2391 #define PC1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2392 #define PC1_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2393 #undef PC2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2394 #define PC2_PIN PINC2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2395 #define PC2_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2396 #define PC2_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2397 #define PC2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2398 #define PC2_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2399 #undef PC3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2400 #define PC3_PIN PINC3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2401 #define PC3_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2402 #define PC3_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2403 #define PC3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2404 #define PC3_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2405 #undef PC4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2406 #define PC4_PIN PINC4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2407 #define PC4_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2408 #define PC4_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2409 #define PC4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2410 #define PC4_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2411 #undef PC5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2412 #define PC5_PIN PINC5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2413 #define PC5_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2414 #define PC5_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2415 #define PC5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2416 #define PC5_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2417 #undef PC6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2418 #define PC6_PIN PINC6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2419 #define PC6_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2420 #define PC6_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2421 #define PC6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2422 #define PC6_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2423 #undef PC7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2424 #define PC7_PIN PINC7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2425 #define PC7_RPORT PINC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2426 #define PC7_WPORT PORTC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2427 #define PC7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2428 #define PC7_DDR DDRC
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2429
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2430 #undef PD0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2431 #define PD0_PIN PIND0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2432 #define PD0_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2433 #define PD0_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2434 #define PD0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2435 #define PD0_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2436 #undef PD1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2437 #define PD1_PIN PIND1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2438 #define PD1_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2439 #define PD1_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2440 #define PD1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2441 #define PD1_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2442 #undef PD2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2443 #define PD2_PIN PIND2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2444 #define PD2_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2445 #define PD2_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2446 #define PD2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2447 #define PD2_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2448 #undef PD3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2449 #define PD3_PIN PIND3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2450 #define PD3_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2451 #define PD3_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2452 #define PD3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2453 #define PD3_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2454 #undef PD4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2455 #define PD4_PIN PIND4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2456 #define PD4_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2457 #define PD4_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2458 #define PD4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2459 #define PD4_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2460 #undef PD5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2461 #define PD5_PIN PIND5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2462 #define PD5_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2463 #define PD5_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2464 #define PD5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2465 #define PD5_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2466 #undef PD6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2467 #define PD6_PIN PIND6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2468 #define PD6_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2469 #define PD6_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2470 #define PD6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2471 #define PD6_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2472 #undef PD7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2473 #define PD7_PIN PIND7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2474 #define PD7_RPORT PIND
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2475 #define PD7_WPORT PORTD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2476 #define PD7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2477 #define PD7_DDR DDRD
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2478
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2479 #undef PE0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2480 #define PE0_PIN PINE0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2481 #define PE0_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2482 #define PE0_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2483 #define PE0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2484 #define PE0_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2485 #undef PE1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2486 #define PE1_PIN PINE1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2487 #define PE1_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2488 #define PE1_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2489 #define PE1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2490 #define PE1_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2491 #undef PE2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2492 #define PE2_PIN PINE2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2493 #define PE2_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2494 #define PE2_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2495 #define PE2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2496 #define PE2_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2497 #undef PE3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2498 #define PE3_PIN PINE3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2499 #define PE3_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2500 #define PE3_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2501 #define PE3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2502 #define PE3_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2503 #undef PE4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2504 #define PE4_PIN PINE4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2505 #define PE4_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2506 #define PE4_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2507 #define PE4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2508 #define PE4_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2509 #undef PE5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2510 #define PE5_PIN PINE5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2511 #define PE5_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2512 #define PE5_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2513 #define PE5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2514 #define PE5_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2515 #undef PE6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2516 #define PE6_PIN PINE6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2517 #define PE6_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2518 #define PE6_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2519 #define PE6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2520 #define PE6_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2521 #undef PE7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2522 #define PE7_PIN PINE7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2523 #define PE7_RPORT PINE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2524 #define PE7_WPORT PORTE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2525 #define PE7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2526 #define PE7_DDR DDRE
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2527
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2528 #undef PF0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2529 #define PF0_PIN PINF0
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2530 #define PF0_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2531 #define PF0_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2532 #define PF0_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2533 #define PF0_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2534 #undef PF1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2535 #define PF1_PIN PINF1
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2536 #define PF1_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2537 #define PF1_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2538 #define PF1_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2539 #define PF1_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2540 #undef PF2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2541 #define PF2_PIN PINF2
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2542 #define PF2_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2543 #define PF2_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2544 #define PF2_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2545 #define PF2_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2546 #undef PF3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2547 #define PF3_PIN PINF3
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2548 #define PF3_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2549 #define PF3_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2550 #define PF3_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2551 #define PF3_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2552 #undef PF4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2553 #define PF4_PIN PINF4
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2554 #define PF4_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2555 #define PF4_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2556 #define PF4_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2557 #define PF4_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2558 #undef PF5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2559 #define PF5_PIN PINF5
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2560 #define PF5_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2561 #define PF5_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2562 #define PF5_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2563 #define PF5_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2564 #undef PF6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2565 #define PF6_PIN PINF6
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2566 #define PF6_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2567 #define PF6_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2568 #define PF6_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2569 #define PF6_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2570 #undef PF7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2571 #define PF7_PIN PINF7
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2572 #define PF7_RPORT PINF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2573 #define PF7_WPORT PORTF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2574 #define PF7_PWM NULL
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2575 #define PF7_DDR DDRF
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2576 #endif
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2577
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2578 #ifndef DIO0_PIN
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2579 #error pins for this chip not defined in arduino.h! If you write an appropriate pin definition and have this firmware work on your chip, please submit a pull request
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2580 #endif
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2581
2c8ba1964db7 Initial code from reprappro Marlin repository
mbayer
parents:
diff changeset
2582 #endif /* _ARDUINO_H */

mercurial