ATmega328p
Hardware definitions
Loading...
Searching...
No Matches
RegisterBits.h
Go to the documentation of this file.
1
5
6#ifndef ATMEGA328P_DEFINITIONS_REGISTER_BITS_H
7#define ATMEGA328P_DEFINITIONS_REGISTER_BITS_H
8
9#include <stdint.h>
10
11#include "Config.h"
12
14namespace atmega328p
15{
17 namespace register_bits
18 {
20 namespace pinb
21 {
22 enum : uint8_t
23 {
24 pinb0 = 0U,
25 pinb1 = 1U,
26 pinb2 = 2U,
27 pinb3 = 3U,
28 pinb4 = 4U,
29 pinb5 = 5U,
30 pinb6 = 6U,
31 pinb7 = 7U,
32 };
33 }
34
36 namespace ddrb
37 {
38 enum : uint8_t
39 {
40 ddb0 = 0U,
41 ddb1 = 1U,
42 ddb2 = 2U,
43 ddb3 = 3U,
44 ddb4 = 4U,
45 ddb5 = 5U,
46 ddb6 = 6U,
47 ddb7 = 7U,
48 };
49 }
50
52 namespace portb
53 {
54 enum : uint8_t
55 {
56 portb0 = 0U,
57 portb1 = 1U,
58 portb2 = 2U,
59 portb3 = 3U,
60 portb4 = 4U,
61 portb5 = 5U,
62 portb6 = 6U,
63 portb7 = 7U,
64 };
65 }
66
68 namespace pinc
69 {
70 enum : uint8_t
71 {
72 pinc0 = 0U,
73 pinc1 = 1U,
74 pinc2 = 2U,
75 pinc3 = 3U,
76 pinc4 = 4U,
77 pinc5 = 5U,
78 pinc6 = 6U,
79 };
80 }
81
83 namespace ddrc
84 {
85 enum : uint8_t
86 {
87 ddc0 = 0U,
88 ddc1 = 1U,
89 ddc2 = 2U,
90 ddc3 = 3U,
91 ddc4 = 4U,
92 ddc5 = 5U,
93 ddc6 = 6U,
94 };
95 }
96
98 namespace portc
99 {
100 enum : uint8_t
101 {
102 portc0 = 0U,
103 portc1 = 1U,
104 portc2 = 2U,
105 portc3 = 3U,
106 portc4 = 4U,
107 portc5 = 5U,
108 portc6 = 6U,
109 };
110 }
111
113 namespace pind
114 {
115 enum : uint8_t
116 {
117 pind0 = 0U,
118 pind1 = 1U,
119 pind2 = 2U,
120 pind3 = 3U,
121 pind4 = 4U,
122 pind5 = 5U,
123 pind6 = 6U,
124 pind7 = 7U,
125 };
126 }
127
129 namespace ddrd
130 {
131 enum : uint8_t
132 {
133 ddd0 = 0U,
134 ddd1 = 1U,
135 ddd2 = 2U,
136 ddd3 = 3U,
137 ddd4 = 4U,
138 ddd5 = 5U,
139 ddd6 = 6U,
140 ddd7 = 7U,
141 };
142 }
143
145 namespace portd
146 {
147 enum : uint8_t
148 {
149 portd0 = 0U,
150 portd1 = 1U,
151 portd2 = 2U,
152 portd3 = 3U,
153 portd4 = 4U,
154 portd5 = 5U,
155 portd6 = 6U,
156 portd7 = 7U,
157 };
158 }
159
161 namespace mcucr
162 {
163 enum : uint8_t
164 {
165 bods = 6U,
166 bodse = 5U,
167 pud = 4U,
168 ivsel = 1U,
169 ivce = 0U,
170 };
171 }
172
174 namespace admux
175 {
176 enum : uint8_t
177 {
178 refs1 = 7U,
179 refs0 = 6U,
180 adlar = 5U,
181 mux3 = 3U,
182 mux2 = 2U,
183 mux1 = 1U,
184 mux0 = 0U,
185 refs_mask = 0xC0U,
186 mux_mask = 0x0FU,
187 adlar_mask = 0x20U,
188 };
189 }
190
192 namespace adcsra
193 {
194 enum : uint8_t
195 {
196 aden = 7U,
197 adsc = 6U,
198 adate = 5U,
199 adif = 4U,
200 adie = 3U,
201 adps2 = 2U,
202 adps1 = 1U,
203 adps0 = 0U,
204 adps_mask = 0x07U,
206 };
207 }
208
210 namespace adcsrb
211 {
212 enum : uint8_t
213 {
214 acme = 6U,
215 adts2 = 2U,
216 adts1 = 1U,
217 adts0 = 0U,
218 adts_mask = 0x07U,
219 };
220 }
221
223 namespace didr0
224 {
225 enum : uint8_t
226 {
227 adc0d = 0U,
228 adc1d = 1U,
229 adc2d = 2U,
230 adc3d = 3U,
231 adc4d = 4U,
232 adc5d = 5U,
233 };
234 }
235
237 namespace didr1
238 {
239 enum : uint8_t
240 {
241 ain0d = 0U,
242 ain1d = 1U,
243 };
244 }
245
247 namespace tccr0a
248 {
249 enum : uint8_t
250 {
251 com0a1 = 7U,
252 com0a0 = 6U,
253 com0b1 = 5U,
254 com0b0 = 4U,
255 wgm01 = 1U,
256 wgm00 = 0U,
257 com0a_mask = 0xC0U,
258 com0b_mask = 0x30U,
259 wgm_mask = 0x03U,
260 };
261 }
262
264 namespace tccr0b
265 {
266 enum : uint8_t
267 {
268 foc0a = 7U,
269 foc0b = 6U,
270 wgm02 = 3U,
271 cs02 = 2U,
272 cs01 = 1U,
273 cs00 = 0U,
274 cs_mask = 0x07U,
275 };
276 }
277
279 namespace timsk0
280 {
281 enum : uint8_t
282 {
283 ocie0b = 2U,
284 ocie0a = 1U,
285 toie0 = 0U,
286 };
287 }
288
290 namespace tifr0
291 {
292 enum : uint8_t
293 {
294 ocf0b = 2U,
295 ocf0a = 1U,
296 tov0 = 0U,
297 };
298 }
299
301 namespace tccr1a
302 {
303 enum : uint8_t
304 {
305 com1a1 = 7U,
306 com1a0 = 6U,
307 com1b1 = 5U,
308 com1b0 = 4U,
309 wgm11 = 1U,
310 wgm10 = 0U,
311 com1a_mask = 0xC0U,
312 com1b_mask = 0x30U,
313 wgm_mask = 0x03U,
314 };
315 }
316
318 namespace tccr1b
319 {
320 enum : uint8_t
321 {
322 icnc1 = 7U,
323 ices1 = 6U,
324 wgm13 = 4U,
325 wgm12 = 3U,
326 cs12 = 2U,
327 cs11 = 1U,
328 cs10 = 0U,
329 wgm_mask = 0x18U,
330 cs_mask = 0x07U,
331 };
332 }
333
335 namespace tccr1c
336 {
337 enum : uint8_t
338 {
339 foc1a = 7U,
340 foc1b = 6U,
341 };
342 }
343
345 namespace timsk1
346 {
347 enum : uint8_t
348 {
349 icie1 = 5U,
350 ocie1b = 2U,
351 ocie1a = 1U,
352 toie1 = 0U,
353 };
354 }
355
357 namespace tifr1
358 {
359 enum : uint8_t
360 {
361 icf1 = 5U,
362 ocf1b = 2U,
363 ocf1a = 1U,
364 tov1 = 0U,
365 };
366 }
367
369 namespace tccr2a
370 {
371 enum : uint8_t
372 {
373 com2a1 = 7U,
374 com2a0 = 6U,
375 com2b1 = 5U,
376 com2b0 = 4U,
377 wgm21 = 1U,
378 wgm20 = 0U,
379 com2a_mask = 0xC0U,
380 com2b_mask = 0x30U,
381 wgm_mask = 0x03U,
382 };
383 }
384
386 namespace tccr2b
387 {
388 enum : uint8_t
389 {
390 foc2a = 7U,
391 foc2b = 6U,
392 wgm22 = 3U,
393 cs22 = 2U,
394 cs21 = 1U,
395 cs20 = 0U,
396 cs_mask = 0x07U,
397 };
398 }
399
401 namespace timsk2
402 {
403 enum : uint8_t
404 {
405 ocie2b = 2U,
406 ocie2a = 1U,
407 toie2 = 0U,
408 };
409 }
410
412 namespace tifr2
413 {
414 enum : uint8_t
415 {
416 ocf2b = 2U,
417 ocf2a = 1U,
418 tov2 = 0U,
419 };
420 }
421
423 namespace assr
424 {
425 enum : uint8_t
426 {
427 exclk = 6U,
428 as2 = 5U,
429 tcn2ub = 4U,
430 ocr2aub = 3U,
431 ocr2bub = 2U,
432 tcr2aub = 1U,
433 tcr2bub = 0U,
434 };
435 }
436
438 namespace gtccr
439 {
440 enum : uint8_t
441 {
442 tsm = 7U,
443 psrasy = 1U,
444 psrsync = 0U,
445 };
446 }
447
449 namespace spcr
450 {
451 enum : uint8_t
452 {
453 spie = 7U,
454 spe = 6U,
455 dord = 5U,
456 mstr = 4U,
457 cpol = 3U,
458 cpha = 2U,
459 spr1 = 1U,
460 spr0 = 0U,
461 };
462 }
463
465 namespace spsr
466 {
467 enum : uint8_t
468 {
469 spif = 7U,
470 wcol = 6U,
471 spi2x = 0U,
472 };
473 }
474
476 namespace ucsr0a
477 {
478 enum : uint8_t
479 {
480 rxc0 = 7U,
481 txc0 = 6U,
482 udre0 = 5U,
483 fe0 = 4U,
484 dor0 = 3U,
485 upe0 = 2U,
486 u2x0 = 1U,
487 mpcm0 = 0U,
488 };
489 }
490
492 namespace ucsr0b
493 {
494 enum : uint8_t
495 {
496 rxcie0 = 7U,
497 txcie0 = 6U,
498 udrie0 = 5U,
499 rxen0 = 4U,
500 txen0 = 3U,
501 ucsz02 = 2U,
502 rxb80 = 1U,
503 txb80 = 0U,
504 };
505 }
506
508 namespace ucsr0c
509 {
510 enum : uint8_t
511 {
512 umsel01 = 7U,
513 umsel00 = 6U,
514 upm01 = 5U,
515 upm00 = 4U,
516 usbs0 = 3U,
517 ucsz01 = 2U,
518 ucsz00 = 1U,
519 ucpol0 = 0U,
520 umsel_mask = 0xC0U,
521 upm_mask = 0x30U,
522 ucsz_mask = 0x06U,
523 };
524 }
525
527 namespace twcr
528 {
529 enum : uint8_t
530 {
531 twint = 7U,
532 twea = 6U,
533 twsta = 5U,
534 twsto = 4U,
535 twwc = 3U,
536 twen = 2U,
537 twie = 0U,
538 };
539 }
540
542 namespace twsr
543 {
544 enum : uint8_t
545 {
547 tws_mask = 0xF8U,
548 twps1 = 1U,
549 twps0 = 0U,
550 twps_mask = 0x03U,
551 };
552 }
553
555 namespace twar
556 {
557 enum : uint8_t
558 {
559 twgce = 0U,
561 twa_mask = 0xFEU,
562 };
563 }
564
566 namespace twamr
567 {
568 enum : uint8_t
569 {
571 twam_mask = 0xFEU,
572 };
573 }
574
576 namespace acsr
577 {
578 enum : uint8_t
579 {
580 acd = 7U,
581 acbg = 6U,
582 aco = 5U,
583 aci = 4U,
584 acie = 3U,
585 acic = 2U,
586 acis1 = 1U,
587 acis0 = 0U,
588 };
589 }
590
592 namespace eicra
593 {
594 enum : uint8_t
595 {
596 isc11 = 3U,
597 isc10 = 2U,
598 isc01 = 1U,
599 isc00 = 0U,
600 };
601 }
602
604 namespace eimsk
605 {
606 enum : uint8_t
607 {
608 int1 = 1U,
609 int0 = 0U,
610 };
611 }
612
614 namespace eifr
615 {
616 enum : uint8_t
617 {
618 intf1 = 1U,
619 intf0 = 0U,
620 };
621 }
622
624 namespace pcicr
625 {
626 enum : uint8_t
627 {
628 pcie2 = 2U,
629 pcie1 = 1U,
630 pcie0 = 0U,
631 };
632 }
633
635 namespace pcifr
636 {
637 enum : uint8_t
638 {
639 pcif2 = 2U,
640 pcif1 = 1U,
641 pcif0 = 0U,
642 };
643 }
644
646 namespace pcmsk0
647 {
648 enum : uint8_t
649 {
650 pcint0 = 0U,
651 pcint1 = 1U,
652 pcint2 = 2U,
653 pcint3 = 3U,
654 pcint4 = 4U,
655 pcint5 = 5U,
656 pcint6 = 6U,
657 pcint7 = 7U,
658 };
659 }
660
662 namespace pcmsk1
663 {
664 enum : uint8_t
665 {
666 pcint8 = 0U,
667 pcint9 = 1U,
668 pcint10 = 2U,
669 pcint11 = 3U,
670 pcint12 = 4U,
671 pcint13 = 5U,
672 pcint14 = 6U,
673 };
674 }
675
677 namespace pcmsk2
678 {
679 enum : uint8_t
680 {
681 pcint16 = 0U,
682 pcint17 = 1U,
683 pcint18 = 2U,
684 pcint19 = 3U,
685 pcint20 = 4U,
686 pcint21 = 5U,
687 pcint22 = 6U,
688 pcint23 = 7U,
689 };
690 }
691
693 namespace sreg
694 {
695 enum : uint8_t
696 {
697 i = 7U,
698 t = 6U,
699 h = 5U,
700 s = 4U,
701 v = 3U,
702 n = 2U,
703 z = 1U,
704 c = 0U,
705 };
706 }
707
709 namespace wdtcsr
710 {
711 enum : uint8_t
712 {
713 wdif = 7U,
714 wdie = 6U,
715 wdp3 = 5U,
716 wdce = 4U,
717 wde = 3U,
718 wdp2 = 2U,
719 wdp1 = 1U,
720 wdp0 = 0U,
721 wdp_mask = 0x27U,
722 };
723 }
724
726 namespace smcr
727 {
728 enum : uint8_t
729 {
730 sm2 = 3U,
731 sm1 = 2U,
732 sm0 = 1U,
733 se = 0U,
734 };
735 }
736
738 namespace prr
739 {
740 enum : uint8_t
741 {
742 pradc = 0U,
743 prusart0 = 1U,
744 prspi = 2U,
745 prtim1 = 3U,
746 prtim0 = 5U,
747 prtim2 = 6U,
748 prtwi = 7U,
749 };
750 }
751
753 namespace mcusr
754 {
755 enum : uint8_t
756 {
757 wdrf = 3U,
758 borf = 2U,
759 extrf = 1U,
760 porf = 0U,
761 };
762 }
763
765 namespace clkpr
766 {
767 enum : uint8_t
768 {
769 clkpce = 7U,
770 clkps3 = 3U,
771 clkps2 = 2U,
772 clkps1 = 1U,
773 clkps0 = 0U,
774 clkps_mask = 0x0FU,
775 };
776 }
777
779 namespace osccal
780 {
781 enum : uint8_t
782 {
783 cal6 = 6U,
784 cal5 = 5U,
785 cal4 = 4U,
786 cal3 = 3U,
787 cal2 = 2U,
788 cal1 = 1U,
789 cal0 = 0U,
790 };
791 }
792
794 namespace spmcsr
795 {
796 enum : uint8_t
797 {
798 spmie = 7U,
799 rwwsb = 6U,
800 sigrd = 5U,
801 rwwsre = 4U,
802 blbset = 3U,
803 pgwrt = 2U,
804 pgers = 1U,
805 spmen = 0U,
806 };
807 }
808
809 }
810}
811#endif
Selects the ATmega328P package and operating grade.
Bit positions for the ACSR register.
Definition RegisterBits.h:577
@ aci
ACSR ACI bit position.
Definition RegisterBits.h:583
@ acbg
ACSR ACBG bit position.
Definition RegisterBits.h:581
@ acic
ACSR ACIC bit position.
Definition RegisterBits.h:585
@ acis1
ACSR ACIS1 bit position.
Definition RegisterBits.h:586
@ acd
ACSR ACD bit position.
Definition RegisterBits.h:580
@ acis0
ACSR ACIS0 bit position.
Definition RegisterBits.h:587
@ acie
ACSR ACIE bit position.
Definition RegisterBits.h:584
@ aco
ACSR ACO bit position.
Definition RegisterBits.h:582
Bit positions for the ADCSRA register.
Definition RegisterBits.h:193
@ adie
ADCSRA ADIE bit position.
Definition RegisterBits.h:200
@ adps1
ADCSRA ADPS1 bit position.
Definition RegisterBits.h:202
@ adif
ADCSRA ADIF bit position.
Definition RegisterBits.h:199
@ adsc
ADCSRA ADSC bit position.
Definition RegisterBits.h:197
@ adps0
ADCSRA ADPS0 bit position.
Definition RegisterBits.h:203
@ adate
ADCSRA ADATE bit position.
Definition RegisterBits.h:198
@ adps_mask
ADCSRA ADPS field mask.
Definition RegisterBits.h:204
@ aden
ADCSRA ADEN bit position.
Definition RegisterBits.h:196
@ adps2
ADCSRA ADPS2 bit position.
Definition RegisterBits.h:201
@ control_flags_mask
ADCSRA CONTROL_FLAGS field mask.
Definition RegisterBits.h:205
Bit positions for the ADCSRB register.
Definition RegisterBits.h:211
@ adts0
ADCSRB ADTS0 bit position.
Definition RegisterBits.h:217
@ adts_mask
ADCSRB ADTS field mask.
Definition RegisterBits.h:218
@ adts1
ADCSRB ADTS1 bit position.
Definition RegisterBits.h:216
@ acme
ADCSRB ACME bit position.
Definition RegisterBits.h:214
@ adts2
ADCSRB ADTS2 bit position.
Definition RegisterBits.h:215
Bit positions for the ADMUX register.
Definition RegisterBits.h:175
@ refs_mask
ADMUX REFS field mask.
Definition RegisterBits.h:185
@ mux_mask
ADMUX MUX field mask.
Definition RegisterBits.h:186
@ refs0
ADMUX REFS0 bit position.
Definition RegisterBits.h:179
@ mux2
ADMUX MUX2 bit position.
Definition RegisterBits.h:182
@ mux1
ADMUX MUX1 bit position.
Definition RegisterBits.h:183
@ mux0
ADMUX MUX0 bit position.
Definition RegisterBits.h:184
@ mux3
ADMUX MUX3 bit position.
Definition RegisterBits.h:181
@ adlar
ADMUX ADLAR bit position.
Definition RegisterBits.h:180
@ refs1
ADMUX REFS1 bit position.
Definition RegisterBits.h:178
@ adlar_mask
ADMUX ADLAR field mask.
Definition RegisterBits.h:187
Bit positions for the ASSR register.
Definition RegisterBits.h:424
@ exclk
ASSR EXCLK bit position.
Definition RegisterBits.h:427
@ tcr2bub
ASSR TCR2BUB bit position.
Definition RegisterBits.h:433
@ ocr2bub
ASSR OCR2BUB bit position.
Definition RegisterBits.h:431
@ ocr2aub
ASSR OCR2AUB bit position.
Definition RegisterBits.h:430
@ tcn2ub
ASSR TCN2UB bit position.
Definition RegisterBits.h:429
@ tcr2aub
ASSR TCR2AUB bit position.
Definition RegisterBits.h:432
@ as2
ASSR AS2 bit position.
Definition RegisterBits.h:428
Bit positions for the CLKPR register.
Definition RegisterBits.h:766
@ clkps2
CLKPR CLKPS2 bit position.
Definition RegisterBits.h:771
@ clkps3
CLKPR CLKPS3 bit position.
Definition RegisterBits.h:770
@ clkps0
CLKPR CLKPS0 bit position.
Definition RegisterBits.h:773
@ clkpce
CLKPR CLKPCE bit position.
Definition RegisterBits.h:769
@ clkps_mask
CLKPR CLKPS field mask.
Definition RegisterBits.h:774
@ clkps1
CLKPR CLKPS1 bit position.
Definition RegisterBits.h:772
Bit positions for the DDRB register.
Definition RegisterBits.h:37
@ ddb3
DDRB DDB3 bit position.
Definition RegisterBits.h:43
@ ddb0
DDRB DDB0 bit position.
Definition RegisterBits.h:40
@ ddb1
DDRB DDB1 bit position.
Definition RegisterBits.h:41
@ ddb7
DDRB DDB7 bit position.
Definition RegisterBits.h:47
@ ddb4
DDRB DDB4 bit position.
Definition RegisterBits.h:44
@ ddb5
DDRB DDB5 bit position.
Definition RegisterBits.h:45
@ ddb6
DDRB DDB6 bit position.
Definition RegisterBits.h:46
@ ddb2
DDRB DDB2 bit position.
Definition RegisterBits.h:42
Bit positions for the DDRC register.
Definition RegisterBits.h:84
@ ddc1
DDRC DDC1 bit position.
Definition RegisterBits.h:88
@ ddc4
DDRC DDC4 bit position.
Definition RegisterBits.h:91
@ ddc2
DDRC DDC2 bit position.
Definition RegisterBits.h:89
@ ddc3
DDRC DDC3 bit position.
Definition RegisterBits.h:90
@ ddc0
DDRC DDC0 bit position.
Definition RegisterBits.h:87
@ ddc6
DDRC DDC6 bit position.
Definition RegisterBits.h:93
@ ddc5
DDRC DDC5 bit position.
Definition RegisterBits.h:92
Bit positions for the DDRD register.
Definition RegisterBits.h:130
@ ddd3
DDRD DDD3 bit position.
Definition RegisterBits.h:136
@ ddd5
DDRD DDD5 bit position.
Definition RegisterBits.h:138
@ ddd0
DDRD DDD0 bit position.
Definition RegisterBits.h:133
@ ddd4
DDRD DDD4 bit position.
Definition RegisterBits.h:137
@ ddd7
DDRD DDD7 bit position.
Definition RegisterBits.h:140
@ ddd6
DDRD DDD6 bit position.
Definition RegisterBits.h:139
@ ddd2
DDRD DDD2 bit position.
Definition RegisterBits.h:135
@ ddd1
DDRD DDD1 bit position.
Definition RegisterBits.h:134
Bit positions for the DIDR0 register.
Definition RegisterBits.h:224
@ adc4d
DIDR0 ADC4D bit position.
Definition RegisterBits.h:231
@ adc3d
DIDR0 ADC3D bit position.
Definition RegisterBits.h:230
@ adc2d
DIDR0 ADC2D bit position.
Definition RegisterBits.h:229
@ adc5d
DIDR0 ADC5D bit position.
Definition RegisterBits.h:232
@ adc1d
DIDR0 ADC1D bit position.
Definition RegisterBits.h:228
@ adc0d
DIDR0 ADC0D bit position.
Definition RegisterBits.h:227
Bit positions for the DIDR1 register.
Definition RegisterBits.h:238
@ ain1d
DIDR1 AIN1D bit position.
Definition RegisterBits.h:242
@ ain0d
DIDR1 AIN0D bit position.
Definition RegisterBits.h:241
Bit positions for the EICRA register.
Definition RegisterBits.h:593
@ isc01
EICRA ISC01 bit position.
Definition RegisterBits.h:598
@ isc00
EICRA ISC00 bit position.
Definition RegisterBits.h:599
@ isc11
EICRA ISC11 bit position.
Definition RegisterBits.h:596
@ isc10
EICRA ISC10 bit position.
Definition RegisterBits.h:597
Bit positions for the EIFR register.
Definition RegisterBits.h:615
@ intf1
EIFR INTF1 bit position.
Definition RegisterBits.h:618
@ intf0
EIFR INTF0 bit position.
Definition RegisterBits.h:619
Bit positions for the EIMSK register.
Definition RegisterBits.h:605
@ int1
EIMSK INT1 bit position.
Definition RegisterBits.h:608
@ int0
EIMSK INT0 bit position.
Definition RegisterBits.h:609
Bit positions for the GTCCR register.
Definition RegisterBits.h:439
@ psrsync
GTCCR PSRSYNC bit position.
Definition RegisterBits.h:444
@ tsm
GTCCR TSM bit position.
Definition RegisterBits.h:442
@ psrasy
GTCCR PSRASY bit position.
Definition RegisterBits.h:443
Bit positions for the MCUCR register.
Definition RegisterBits.h:162
@ pud
MCUCR PUD bit position.
Definition RegisterBits.h:167
@ bodse
MCUCR BODSE bit position.
Definition RegisterBits.h:166
@ bods
MCUCR BODS bit position.
Definition RegisterBits.h:165
@ ivsel
MCUCR IVSEL bit position.
Definition RegisterBits.h:168
@ ivce
MCUCR IVCE bit position.
Definition RegisterBits.h:169
Bit positions for the MCUSR register.
Definition RegisterBits.h:754
@ porf
MCUSR PORF bit position.
Definition RegisterBits.h:760
@ extrf
MCUSR EXTRF bit position.
Definition RegisterBits.h:759
@ wdrf
MCUSR WDRF bit position.
Definition RegisterBits.h:757
@ borf
MCUSR BORF bit position.
Definition RegisterBits.h:758
Bit positions for the OSCCAL register.
Definition RegisterBits.h:780
@ cal1
OSCCAL CAL1 bit position.
Definition RegisterBits.h:788
@ cal4
OSCCAL CAL4 bit position.
Definition RegisterBits.h:785
@ cal3
OSCCAL CAL3 bit position.
Definition RegisterBits.h:786
@ cal0
OSCCAL CAL0 bit position.
Definition RegisterBits.h:789
@ cal2
OSCCAL CAL2 bit position.
Definition RegisterBits.h:787
@ cal6
OSCCAL CAL6 bit position.
Definition RegisterBits.h:783
@ cal5
OSCCAL CAL5 bit position.
Definition RegisterBits.h:784
Bit positions for the PCICR register.
Definition RegisterBits.h:625
@ pcie0
PCICR PCIE0 bit position.
Definition RegisterBits.h:630
@ pcie1
PCICR PCIE1 bit position.
Definition RegisterBits.h:629
@ pcie2
PCICR PCIE2 bit position.
Definition RegisterBits.h:628
Bit positions for the PCIFR register.
Definition RegisterBits.h:636
@ pcif1
PCIFR PCIF1 bit position.
Definition RegisterBits.h:640
@ pcif0
PCIFR PCIF0 bit position.
Definition RegisterBits.h:641
@ pcif2
PCIFR PCIF2 bit position.
Definition RegisterBits.h:639
Bit positions for the PCMSK0 register.
Definition RegisterBits.h:647
@ pcint0
PCMSK0 PCINT0 bit position.
Definition RegisterBits.h:650
@ pcint6
PCMSK0 PCINT6 bit position.
Definition RegisterBits.h:656
@ pcint7
PCMSK0 PCINT7 bit position.
Definition RegisterBits.h:657
@ pcint2
PCMSK0 PCINT2 bit position.
Definition RegisterBits.h:652
@ pcint3
PCMSK0 PCINT3 bit position.
Definition RegisterBits.h:653
@ pcint1
PCMSK0 PCINT1 bit position.
Definition RegisterBits.h:651
@ pcint4
PCMSK0 PCINT4 bit position.
Definition RegisterBits.h:654
@ pcint5
PCMSK0 PCINT5 bit position.
Definition RegisterBits.h:655
Bit positions for the PCMSK1 register.
Definition RegisterBits.h:663
@ pcint8
PCMSK1 PCINT8 bit position.
Definition RegisterBits.h:666
@ pcint11
PCMSK1 PCINT11 bit position.
Definition RegisterBits.h:669
@ pcint10
PCMSK1 PCINT10 bit position.
Definition RegisterBits.h:668
@ pcint12
PCMSK1 PCINT12 bit position.
Definition RegisterBits.h:670
@ pcint9
PCMSK1 PCINT9 bit position.
Definition RegisterBits.h:667
@ pcint13
PCMSK1 PCINT13 bit position.
Definition RegisterBits.h:671
@ pcint14
PCMSK1 PCINT14 bit position.
Definition RegisterBits.h:672
Bit positions for the PCMSK2 register.
Definition RegisterBits.h:678
@ pcint20
PCMSK2 PCINT20 bit position.
Definition RegisterBits.h:685
@ pcint19
PCMSK2 PCINT19 bit position.
Definition RegisterBits.h:684
@ pcint22
PCMSK2 PCINT22 bit position.
Definition RegisterBits.h:687
@ pcint16
PCMSK2 PCINT16 bit position.
Definition RegisterBits.h:681
@ pcint17
PCMSK2 PCINT17 bit position.
Definition RegisterBits.h:682
@ pcint18
PCMSK2 PCINT18 bit position.
Definition RegisterBits.h:683
@ pcint23
PCMSK2 PCINT23 bit position.
Definition RegisterBits.h:688
@ pcint21
PCMSK2 PCINT21 bit position.
Definition RegisterBits.h:686
Bit positions for the PINB register.
Definition RegisterBits.h:21
@ pinb0
PINB PINB0 bit position.
Definition RegisterBits.h:24
@ pinb6
PINB PINB6 bit position.
Definition RegisterBits.h:30
@ pinb3
PINB PINB3 bit position.
Definition RegisterBits.h:27
@ pinb1
PINB PINB1 bit position.
Definition RegisterBits.h:25
@ pinb2
PINB PINB2 bit position.
Definition RegisterBits.h:26
@ pinb5
PINB PINB5 bit position.
Definition RegisterBits.h:29
@ pinb4
PINB PINB4 bit position.
Definition RegisterBits.h:28
@ pinb7
PINB PINB7 bit position.
Definition RegisterBits.h:31
Bit positions for the PINC register.
Definition RegisterBits.h:69
@ pinc4
PINC PINC4 bit position.
Definition RegisterBits.h:76
@ pinc5
PINC PINC5 bit position.
Definition RegisterBits.h:77
@ pinc0
PINC PINC0 bit position.
Definition RegisterBits.h:72
@ pinc2
PINC PINC2 bit position.
Definition RegisterBits.h:74
@ pinc6
PINC PINC6 bit position.
Definition RegisterBits.h:78
@ pinc3
PINC PINC3 bit position.
Definition RegisterBits.h:75
@ pinc1
PINC PINC1 bit position.
Definition RegisterBits.h:73
Bit positions for the PIND register.
Definition RegisterBits.h:114
@ pind1
PIND PIND1 bit position.
Definition RegisterBits.h:118
@ pind0
PIND PIND0 bit position.
Definition RegisterBits.h:117
@ pind2
PIND PIND2 bit position.
Definition RegisterBits.h:119
@ pind6
PIND PIND6 bit position.
Definition RegisterBits.h:123
@ pind4
PIND PIND4 bit position.
Definition RegisterBits.h:121
@ pind7
PIND PIND7 bit position.
Definition RegisterBits.h:124
@ pind3
PIND PIND3 bit position.
Definition RegisterBits.h:120
@ pind5
PIND PIND5 bit position.
Definition RegisterBits.h:122
Bit positions for the PORTB register.
Definition RegisterBits.h:53
@ portb1
PORTB PORTB1 bit position.
Definition RegisterBits.h:57
@ portb6
PORTB PORTB6 bit position.
Definition RegisterBits.h:62
@ portb4
PORTB PORTB4 bit position.
Definition RegisterBits.h:60
@ portb7
PORTB PORTB7 bit position.
Definition RegisterBits.h:63
@ portb2
PORTB PORTB2 bit position.
Definition RegisterBits.h:58
@ portb0
PORTB PORTB0 bit position.
Definition RegisterBits.h:56
@ portb5
PORTB PORTB5 bit position.
Definition RegisterBits.h:61
@ portb3
PORTB PORTB3 bit position.
Definition RegisterBits.h:59
Bit positions for the PORTC register.
Definition RegisterBits.h:99
@ portc1
PORTC PORTC1 bit position.
Definition RegisterBits.h:103
@ portc4
PORTC PORTC4 bit position.
Definition RegisterBits.h:106
@ portc5
PORTC PORTC5 bit position.
Definition RegisterBits.h:107
@ portc2
PORTC PORTC2 bit position.
Definition RegisterBits.h:104
@ portc3
PORTC PORTC3 bit position.
Definition RegisterBits.h:105
@ portc0
PORTC PORTC0 bit position.
Definition RegisterBits.h:102
@ portc6
PORTC PORTC6 bit position.
Definition RegisterBits.h:108
Bit positions for the PORTD register.
Definition RegisterBits.h:146
@ portd5
PORTD PORTD5 bit position.
Definition RegisterBits.h:154
@ portd1
PORTD PORTD1 bit position.
Definition RegisterBits.h:150
@ portd2
PORTD PORTD2 bit position.
Definition RegisterBits.h:151
@ portd6
PORTD PORTD6 bit position.
Definition RegisterBits.h:155
@ portd7
PORTD PORTD7 bit position.
Definition RegisterBits.h:156
@ portd0
PORTD PORTD0 bit position.
Definition RegisterBits.h:149
@ portd3
PORTD PORTD3 bit position.
Definition RegisterBits.h:152
@ portd4
PORTD PORTD4 bit position.
Definition RegisterBits.h:153
Bit positions for the PRR register.
Definition RegisterBits.h:739
@ prtim2
PRR PRTIM2 bit position.
Definition RegisterBits.h:747
@ pradc
PRR PRADC bit position.
Definition RegisterBits.h:742
@ prtim0
PRR PRTIM0 bit position.
Definition RegisterBits.h:746
@ prusart0
PRR PRUSART0 bit position.
Definition RegisterBits.h:743
@ prspi
PRR PRSPI bit position.
Definition RegisterBits.h:744
@ prtwi
PRR PRTWI bit position.
Definition RegisterBits.h:748
@ prtim1
PRR PRTIM1 bit position.
Definition RegisterBits.h:745
Bit positions for the SMCR register.
Definition RegisterBits.h:727
@ se
SMCR SE bit position.
Definition RegisterBits.h:733
@ sm2
SMCR SM2 bit position.
Definition RegisterBits.h:730
@ sm1
SMCR SM1 bit position.
Definition RegisterBits.h:731
@ sm0
SMCR SM0 bit position.
Definition RegisterBits.h:732
Bit positions for the SPCR register.
Definition RegisterBits.h:450
@ dord
SPCR DORD bit position.
Definition RegisterBits.h:455
@ spie
SPCR SPIE bit position.
Definition RegisterBits.h:453
@ cpha
SPCR CPHA bit position.
Definition RegisterBits.h:458
@ spr1
SPCR SPR1 bit position.
Definition RegisterBits.h:459
@ mstr
SPCR MSTR bit position.
Definition RegisterBits.h:456
@ cpol
SPCR CPOL bit position.
Definition RegisterBits.h:457
@ spr0
SPCR SPR0 bit position.
Definition RegisterBits.h:460
@ spe
SPCR SPE bit position.
Definition RegisterBits.h:454
Bit positions for the SPMCSR register.
Definition RegisterBits.h:795
@ rwwsre
SPMCSR RWWSRE bit position.
Definition RegisterBits.h:801
@ rwwsb
SPMCSR RWWSB bit position.
Definition RegisterBits.h:799
@ blbset
SPMCSR BLBSET bit position.
Definition RegisterBits.h:802
@ spmie
SPMCSR SPMIE bit position.
Definition RegisterBits.h:798
@ pgers
SPMCSR PGERS bit position.
Definition RegisterBits.h:804
@ sigrd
SPMCSR SIGRD bit position.
Definition RegisterBits.h:800
@ pgwrt
SPMCSR PGWRT bit position.
Definition RegisterBits.h:803
@ spmen
SPMCSR SPMEN bit position.
Definition RegisterBits.h:805
Bit positions for the SPSR register.
Definition RegisterBits.h:466
@ spi2x
SPSR SPI2X bit position.
Definition RegisterBits.h:471
@ spif
SPSR SPIF bit position.
Definition RegisterBits.h:469
@ wcol
SPSR WCOL bit position.
Definition RegisterBits.h:470
Bit positions for the SREG register.
Definition RegisterBits.h:694
@ v
SREG V bit position.
Definition RegisterBits.h:701
@ t
SREG T bit position.
Definition RegisterBits.h:698
@ h
SREG H bit position.
Definition RegisterBits.h:699
@ c
SREG C bit position.
Definition RegisterBits.h:704
@ n
SREG N bit position.
Definition RegisterBits.h:702
@ i
SREG I bit position.
Definition RegisterBits.h:697
@ z
SREG Z bit position.
Definition RegisterBits.h:703
@ s
SREG S bit position.
Definition RegisterBits.h:700
Bit positions for the TCCR0A register.
Definition RegisterBits.h:248
@ com0b1
TCCR0A COM0B1 bit position.
Definition RegisterBits.h:253
@ com0b0
TCCR0A COM0B0 bit position.
Definition RegisterBits.h:254
@ com0b_mask
TCCR0A COM0B field mask.
Definition RegisterBits.h:258
@ wgm_mask
TCCR0A WGM field mask.
Definition RegisterBits.h:259
@ wgm00
TCCR0A WGM00 bit position.
Definition RegisterBits.h:256
@ com0a_mask
TCCR0A COM0A field mask.
Definition RegisterBits.h:257
@ com0a1
TCCR0A COM0A1 bit position.
Definition RegisterBits.h:251
@ wgm01
TCCR0A WGM01 bit position.
Definition RegisterBits.h:255
@ com0a0
TCCR0A COM0A0 bit position.
Definition RegisterBits.h:252
Bit positions for the TCCR0B register.
Definition RegisterBits.h:265
@ foc0b
TCCR0B FOC0B bit position.
Definition RegisterBits.h:269
@ cs00
TCCR0B CS00 bit position.
Definition RegisterBits.h:273
@ foc0a
TCCR0B FOC0A bit position.
Definition RegisterBits.h:268
@ wgm02
TCCR0B WGM02 bit position.
Definition RegisterBits.h:270
@ cs_mask
TCCR0B CS field mask.
Definition RegisterBits.h:274
@ cs02
TCCR0B CS02 bit position.
Definition RegisterBits.h:271
@ cs01
TCCR0B CS01 bit position.
Definition RegisterBits.h:272
Bit positions for the TCCR1A register.
Definition RegisterBits.h:302
@ wgm_mask
TCCR1A WGM field mask.
Definition RegisterBits.h:313
@ com1a0
TCCR1A COM1A0 bit position.
Definition RegisterBits.h:306
@ com1a1
TCCR1A COM1A1 bit position.
Definition RegisterBits.h:305
@ wgm10
TCCR1A WGM10 bit position.
Definition RegisterBits.h:310
@ com1b_mask
TCCR1A COM1B field mask.
Definition RegisterBits.h:312
@ com1b0
TCCR1A COM1B0 bit position.
Definition RegisterBits.h:308
@ com1a_mask
TCCR1A COM1A field mask.
Definition RegisterBits.h:311
@ com1b1
TCCR1A COM1B1 bit position.
Definition RegisterBits.h:307
@ wgm11
TCCR1A WGM11 bit position.
Definition RegisterBits.h:309
Bit positions for the TCCR1B register.
Definition RegisterBits.h:319
@ ices1
TCCR1B ICES1 bit position.
Definition RegisterBits.h:323
@ cs10
TCCR1B CS10 bit position.
Definition RegisterBits.h:328
@ wgm13
TCCR1B WGM13 bit position.
Definition RegisterBits.h:324
@ cs12
TCCR1B CS12 bit position.
Definition RegisterBits.h:326
@ wgm12
TCCR1B WGM12 bit position.
Definition RegisterBits.h:325
@ wgm_mask
TCCR1B WGM field mask.
Definition RegisterBits.h:329
@ cs_mask
TCCR1B CS field mask.
Definition RegisterBits.h:330
@ icnc1
TCCR1B ICNC1 bit position.
Definition RegisterBits.h:322
@ cs11
TCCR1B CS11 bit position.
Definition RegisterBits.h:327
Bit positions for the TCCR1C register.
Definition RegisterBits.h:336
@ foc1b
TCCR1C FOC1B bit position.
Definition RegisterBits.h:340
@ foc1a
TCCR1C FOC1A bit position.
Definition RegisterBits.h:339
Bit positions for the TCCR2A register.
Definition RegisterBits.h:370
@ com2a1
TCCR2A COM2A1 bit position.
Definition RegisterBits.h:373
@ com2a_mask
TCCR2A COM2A field mask.
Definition RegisterBits.h:379
@ wgm20
TCCR2A WGM20 bit position.
Definition RegisterBits.h:378
@ com2b0
TCCR2A COM2B0 bit position.
Definition RegisterBits.h:376
@ com2a0
TCCR2A COM2A0 bit position.
Definition RegisterBits.h:374
@ wgm_mask
TCCR2A WGM field mask.
Definition RegisterBits.h:381
@ com2b1
TCCR2A COM2B1 bit position.
Definition RegisterBits.h:375
@ wgm21
TCCR2A WGM21 bit position.
Definition RegisterBits.h:377
@ com2b_mask
TCCR2A COM2B field mask.
Definition RegisterBits.h:380
Bit positions for the TCCR2B register.
Definition RegisterBits.h:387
@ cs_mask
TCCR2B CS field mask.
Definition RegisterBits.h:396
@ foc2a
TCCR2B FOC2A bit position.
Definition RegisterBits.h:390
@ cs20
TCCR2B CS20 bit position.
Definition RegisterBits.h:395
@ cs21
TCCR2B CS21 bit position.
Definition RegisterBits.h:394
@ wgm22
TCCR2B WGM22 bit position.
Definition RegisterBits.h:392
@ foc2b
TCCR2B FOC2B bit position.
Definition RegisterBits.h:391
@ cs22
TCCR2B CS22 bit position.
Definition RegisterBits.h:393
Bit positions for the TIFR0 register.
Definition RegisterBits.h:291
@ tov0
TIFR0 TOV0 bit position.
Definition RegisterBits.h:296
@ ocf0b
TIFR0 OCF0B bit position.
Definition RegisterBits.h:294
@ ocf0a
TIFR0 OCF0A bit position.
Definition RegisterBits.h:295
Bit positions for the TIFR1 register.
Definition RegisterBits.h:358
@ icf1
TIFR1 ICF1 bit position.
Definition RegisterBits.h:361
@ tov1
TIFR1 TOV1 bit position.
Definition RegisterBits.h:364
@ ocf1a
TIFR1 OCF1A bit position.
Definition RegisterBits.h:363
@ ocf1b
TIFR1 OCF1B bit position.
Definition RegisterBits.h:362
Bit positions for the TIFR2 register.
Definition RegisterBits.h:413
@ ocf2a
TIFR2 OCF2A bit position.
Definition RegisterBits.h:417
@ tov2
TIFR2 TOV2 bit position.
Definition RegisterBits.h:418
@ ocf2b
TIFR2 OCF2B bit position.
Definition RegisterBits.h:416
Bit positions for the TIMSK0 register.
Definition RegisterBits.h:280
@ ocie0b
TIMSK0 OCIE0B bit position.
Definition RegisterBits.h:283
@ ocie0a
TIMSK0 OCIE0A bit position.
Definition RegisterBits.h:284
@ toie0
TIMSK0 TOIE0 bit position.
Definition RegisterBits.h:285
Bit positions for the TIMSK1 register.
Definition RegisterBits.h:346
@ ocie1b
TIMSK1 OCIE1B bit position.
Definition RegisterBits.h:350
@ icie1
TIMSK1 ICIE1 bit position.
Definition RegisterBits.h:349
@ ocie1a
TIMSK1 OCIE1A bit position.
Definition RegisterBits.h:351
@ toie1
TIMSK1 TOIE1 bit position.
Definition RegisterBits.h:352
Bit positions for the TIMSK2 register.
Definition RegisterBits.h:402
@ toie2
TIMSK2 TOIE2 bit position.
Definition RegisterBits.h:407
@ ocie2b
TIMSK2 OCIE2B bit position.
Definition RegisterBits.h:405
@ ocie2a
TIMSK2 OCIE2A bit position.
Definition RegisterBits.h:406
Bit positions for the TWAMR register.
Definition RegisterBits.h:567
@ twam_mask
TWAMR TWAM field mask.
Definition RegisterBits.h:571
@ twam_shift
TWAMR TWAM field shift.
Definition RegisterBits.h:570
Bit positions for the TWAR register.
Definition RegisterBits.h:556
@ twgce
TWAR TWGCE bit position.
Definition RegisterBits.h:559
@ twa_shift
TWAR TWA field shift.
Definition RegisterBits.h:560
@ twa_mask
TWAR TWA field mask.
Definition RegisterBits.h:561
Bit positions for the TWCR register.
Definition RegisterBits.h:528
@ twie
TWCR TWIE bit position.
Definition RegisterBits.h:537
@ twwc
TWCR TWWC bit position.
Definition RegisterBits.h:535
@ twea
TWCR TWEA bit position.
Definition RegisterBits.h:532
@ twsta
TWCR TWSTA bit position.
Definition RegisterBits.h:533
@ twen
TWCR TWEN bit position.
Definition RegisterBits.h:536
@ twint
TWCR TWINT bit position.
Definition RegisterBits.h:531
@ twsto
TWCR TWSTO bit position.
Definition RegisterBits.h:534
Bit positions for the TWSR register.
Definition RegisterBits.h:543
@ tws_shift
TWSR TWS field shift.
Definition RegisterBits.h:546
@ twps0
TWSR TWPS0 bit position.
Definition RegisterBits.h:549
@ twps_mask
TWSR TWPS field mask.
Definition RegisterBits.h:550
@ twps1
TWSR TWPS1 bit position.
Definition RegisterBits.h:548
@ tws_mask
TWSR TWS field mask.
Definition RegisterBits.h:547
Bit positions for the UCSR0A register.
Definition RegisterBits.h:477
@ mpcm0
UCSR0A MPCM0 bit position.
Definition RegisterBits.h:487
@ rxc0
UCSR0A RXC0 bit position.
Definition RegisterBits.h:480
@ dor0
UCSR0A DOR0 bit position.
Definition RegisterBits.h:484
@ udre0
UCSR0A UDRE0 bit position.
Definition RegisterBits.h:482
@ txc0
UCSR0A TXC0 bit position.
Definition RegisterBits.h:481
@ upe0
UCSR0A UPE0 bit position.
Definition RegisterBits.h:485
@ u2x0
UCSR0A U2X0 bit position.
Definition RegisterBits.h:486
@ fe0
UCSR0A FE0 bit position.
Definition RegisterBits.h:483
Bit positions for the UCSR0B register.
Definition RegisterBits.h:493
@ rxen0
UCSR0B RXEN0 bit position.
Definition RegisterBits.h:499
@ rxcie0
UCSR0B RXCIE0 bit position.
Definition RegisterBits.h:496
@ txcie0
UCSR0B TXCIE0 bit position.
Definition RegisterBits.h:497
@ udrie0
UCSR0B UDRIE0 bit position.
Definition RegisterBits.h:498
@ txen0
UCSR0B TXEN0 bit position.
Definition RegisterBits.h:500
@ rxb80
UCSR0B RXB80 bit position.
Definition RegisterBits.h:502
@ txb80
UCSR0B TXB80 bit position.
Definition RegisterBits.h:503
@ ucsz02
UCSR0B UCSZ02 bit position.
Definition RegisterBits.h:501
Bit positions for the UCSR0C register.
Definition RegisterBits.h:509
@ umsel01
UCSR0C UMSEL01 bit position.
Definition RegisterBits.h:512
@ ucsz01
UCSR0C UCSZ01 bit position.
Definition RegisterBits.h:517
@ upm_mask
UCSR0C UPM field mask.
Definition RegisterBits.h:521
@ upm01
UCSR0C UPM01 bit position.
Definition RegisterBits.h:514
@ usbs0
UCSR0C USBS0 bit position.
Definition RegisterBits.h:516
@ upm00
UCSR0C UPM00 bit position.
Definition RegisterBits.h:515
@ ucsz_mask
UCSR0C UCSZ field mask.
Definition RegisterBits.h:522
@ umsel00
UCSR0C UMSEL00 bit position.
Definition RegisterBits.h:513
@ umsel_mask
UCSR0C UMSEL field mask.
Definition RegisterBits.h:520
@ ucpol0
UCSR0C UCPOL0 bit position.
Definition RegisterBits.h:519
@ ucsz00
UCSR0C UCSZ00 bit position.
Definition RegisterBits.h:518
Bit positions for the WDTCSR register.
Definition RegisterBits.h:710
@ wdp3
WDTCSR WDP3 bit position.
Definition RegisterBits.h:715
@ wdp1
WDTCSR WDP1 bit position.
Definition RegisterBits.h:719
@ wde
WDTCSR WDE bit position.
Definition RegisterBits.h:717
@ wdp0
WDTCSR WDP0 bit position.
Definition RegisterBits.h:720
@ wdie
WDTCSR WDIE bit position.
Definition RegisterBits.h:714
@ wdif
WDTCSR WDIF bit position.
Definition RegisterBits.h:713
@ wdce
WDTCSR WDCE bit position.
Definition RegisterBits.h:716
@ wdp2
WDTCSR WDP2 bit position.
Definition RegisterBits.h:718
@ wdp_mask
WDTCSR WDP field mask.
Definition RegisterBits.h:721
Register bit positions and masks.
Definition RegisterBits.h:18
Device-specific definitions for the ATmega328P.
Definition ADC.h:14