RTEMS CPU Kit with SuperCore
4.11.3
Main Page
Related Pages
Modules
+
Data Structures
Data Structures
+
Data Fields
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
q
r
s
t
u
v
w
+
Variables
_
b
c
d
i
r
+
Typedefs
a
b
c
d
f
h
i
m
o
p
q
r
s
t
u
w
x
+
Enumerations
b
c
d
e
h
i
m
o
p
r
s
t
w
+
Enumerator
c
i
m
p
r
s
t
w
+
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
w
mnt
data0
chrisj
rtems
releases
rtems-release.git
4.11.3
ws-rtems
rtems-4.11.3
cpukit
score
cpu
avr
avr
iotn48.h
Go to the documentation of this file.
1
9
/*
10
* Copyright (c) 2007 Atmel Corporation
11
* All rights reserved.
12
*
13
* Redistribution and use in source and binary forms, with or without
14
* modification, are permitted provided that the following conditions are met:
15
*
16
* * Redistributions of source code must retain the above copyright
17
* notice, this list of conditions and the following disclaimer.
18
*
19
* * Redistributions in binary form must reproduce the above copyright
20
* notice, this list of conditions and the following disclaimer in
21
* the documentation and/or other materials provided with the
22
* distribution.
23
*
24
* * Neither the name of the copyright holders nor the names of
25
* contributors may be used to endorse or promote products derived
26
* from this software without specific prior written permission.
27
*
28
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
29
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
30
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
31
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
32
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
33
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
34
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
35
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
36
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
37
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
38
* POSSIBILITY OF SUCH DAMAGE.
39
*/
40
41
#ifndef _AVR_IO_H_
42
# error "Include <avr/io.h> instead of this file."
43
#endif
44
45
#ifndef _AVR_IOXXX_H_
46
# define _AVR_IOXXX_H_ "iotn48.h"
47
#else
48
# error "Attempt to include more than one <avr/ioXXX.h> file."
49
#endif
50
51
52
#ifndef _AVR_IOTN48_H_
53
#define _AVR_IOTN48_H_ 1
54
62
/* Registers and associated bit numbers */
63
64
#define PINB _SFR_IO8(0x03)
65
#define PINB0 0
66
#define PINB1 1
67
#define PINB2 2
68
#define PINB3 3
69
#define PINB4 4
70
#define PINB5 5
71
#define PINB6 6
72
#define PINB7 7
73
74
#define DDRB _SFR_IO8(0x04)
75
#define DDB0 0
76
#define DDB1 1
77
#define DDB2 2
78
#define DDB3 3
79
#define DDB4 4
80
#define DDB5 5
81
#define DDB6 6
82
#define DDB7 7
83
84
#define PORTB _SFR_IO8(0x05)
85
#define PORTB0 0
86
#define PORTB1 1
87
#define PORTB2 2
88
#define PORTB3 3
89
#define PORTB4 4
90
#define PORTB5 5
91
#define PORTB6 6
92
#define PORTB7 7
93
94
#define PINC _SFR_IO8(0x06)
95
#define PINC0 0
96
#define PINC1 1
97
#define PINC2 2
98
#define PINC3 3
99
#define PINC4 4
100
#define PINC5 5
101
#define PINC6 6
102
#define PINC7 7
103
104
#define DDRC _SFR_IO8(0x07)
105
#define DDC0 0
106
#define DDC1 1
107
#define DDC2 2
108
#define DDC3 3
109
#define DDC4 4
110
#define DDC5 5
111
#define DDC6 6
112
#define DDC7 7
113
114
#define PORTC _SFR_IO8(0x08)
115
#define PORTC0 0
116
#define PORTC1 1
117
#define PORTC2 2
118
#define PORTC3 3
119
#define PORTC4 4
120
#define PORTC5 5
121
#define PORTC6 6
122
#define PORTC7 7
123
124
#define PIND _SFR_IO8(0x09)
125
#define PIND0 0
126
#define PIND1 1
127
#define PIND2 2
128
#define PIND3 3
129
#define PIND4 4
130
#define PIND5 5
131
#define PIND6 6
132
#define PIND7 7
133
134
#define DDRD _SFR_IO8(0x0A)
135
#define DDD0 0
136
#define DDD1 1
137
#define DDD2 2
138
#define DDD3 3
139
#define DDD4 4
140
#define DDD5 5
141
#define DDD6 6
142
#define DDD7 7
143
144
#define PORTD _SFR_IO8(0x0B)
145
#define PORTD0 0
146
#define PORTD1 1
147
#define PORTD2 2
148
#define PORTD3 3
149
#define PORTD4 4
150
#define PORTD5 5
151
#define PORTD6 6
152
#define PORTD7 7
153
154
#define PINA _SFR_IO8(0x0C)
155
#define PINA0 0
156
#define PINA1 1
157
#define PINA2 2
158
#define PINA3 3
159
160
#define DDRA _SFR_IO8(0x0D)
161
#define DDA0 0
162
#define DDA1 1
163
#define DDA2 2
164
#define DDA3 3
165
166
#define PORTA _SFR_IO8(0x0E)
167
#define PORTA0 0
168
#define PORTA1 1
169
#define PORTA2 2
170
#define PORTA3 3
171
172
#define PORTCR _SFR_IO8(0x12)
173
#define PUDA 0
174
#define PUDB 1
175
#define PUDC 2
176
#define PUDD 3
177
#define BBMA 4
178
#define BBMB 5
179
#define BBMC 6
180
#define BBMD 7
181
182
#define TIFR0 _SFR_IO8(0x15)
183
#define TOV0 0
184
#define OCF0A 1
185
#define OCF0B 2
186
187
#define TIFR1 _SFR_IO8(0x16)
188
#define TOV1 0
189
#define OCF1A 1
190
#define OCF1B 2
191
#define ICF1 5
192
193
#define PCIFR _SFR_IO8(0x1B)
194
#define PCIF0 0
195
#define PCIF1 1
196
#define PCIF2 2
197
#define PCIF3 3
198
199
#define EIFR _SFR_IO8(0x1C)
200
#define INTF0 0
201
#define INTF1 1
202
203
#define EIMSK _SFR_IO8(0x1D)
204
#define INT0 0
205
#define INT1 1
206
207
#define GPIOR0 _SFR_IO8(0x1E)
208
#define GPIOR00 0
209
#define GPIOR01 1
210
#define GPIOR02 2
211
#define GPIOR03 3
212
#define GPIOR04 4
213
#define GPIOR05 5
214
#define GPIOR06 6
215
#define GPIOR07 7
216
217
#define EECR _SFR_IO8(0x1F)
218
#define EERE 0
219
#define EEPE 1
220
#define EEMPE 2
221
#define EERIE 3
222
#define EEPM0 4
223
#define EEPM1 5
224
225
#define EEDR _SFR_IO8(0x20)
226
#define EEDR0 0
227
#define EEDR1 1
228
#define EEDR2 2
229
#define EEDR3 3
230
#define EEDR4 4
231
#define EEDR5 5
232
#define EEDR6 6
233
#define EEDR7 7
234
235
#define EEARL _SFR_IO8(0x21)
236
#define EEAR0 0
237
#define EEAR1 1
238
#define EEAR2 2
239
#define EEAR3 3
240
#define EEAR4 4
241
#define EEAR5 5
242
#define EEAR6 6
243
#define EEAR7 7
244
245
#define GTCCR _SFR_IO8(0x23)
246
#define PSRSYNC 0
247
#define TSM 7
248
249
#define TCCR0A _SFR_IO8(0x25)
250
#define CS00 0
251
#define CS01 1
252
#define CS02 2
253
#define CTC0 3
254
255
#define TCNT0 _SFR_IO8(0x26)
256
#define TCNT0_0 0
257
#define TCNT0_1 1
258
#define TCNT0_2 2
259
#define TCNT0_3 3
260
#define TCNT0_4 4
261
#define TCNT0_5 5
262
#define TCNT0_6 6
263
#define TCNT0_7 7
264
265
#define OCR0A _SFR_IO8(0x27)
266
#define OCR0A_0 0
267
#define OCR0A_1 1
268
#define OCR0A_2 2
269
#define OCR0A_3 3
270
#define OCR0A_4 4
271
#define OCR0A_5 5
272
#define OCR0A_6 6
273
#define OCR0A_7 7
274
275
#define OCR0B _SFR_IO8(0x28)
276
#define OCR0B_0 0
277
#define OCR0B_1 1
278
#define OCR0B_2 2
279
#define OCR0B_3 3
280
#define OCR0B_4 4
281
#define OCR0B_5 5
282
#define OCR0B_6 6
283
#define OCR0B_7 7
284
285
#define GPIOR1 _SFR_IO8(0x2A)
286
#define GPIOR10 0
287
#define GPIOR11 1
288
#define GPIOR12 2
289
#define GPIOR13 3
290
#define GPIOR14 4
291
#define GPIOR15 5
292
#define GPIOR16 6
293
#define GPIOR17 7
294
295
#define GPIOR2 _SFR_IO8(0x2B)
296
#define GPIOR20 0
297
#define GPIOR21 1
298
#define GPIOR22 2
299
#define GPIOR23 3
300
#define GPIOR24 4
301
#define GPIOR25 5
302
#define GPIOR26 6
303
#define GPIOR27 7
304
305
#define SPCR _SFR_IO8(0x2C)
306
#define SPR0 0
307
#define SPR1 1
308
#define CPHA 2
309
#define CPOL 3
310
#define MSTR 4
311
#define DORD 5
312
#define SPE 6
313
#define SPIE 7
314
315
#define SPSR _SFR_IO8(0x2D)
316
#define SPI2X 0
317
#define WCOL 6
318
#define SPIF 7
319
320
#define SPDR _SFR_IO8(0x2E)
321
#define SPDR0 0
322
#define SPDR1 1
323
#define SPDR2 2
324
#define SPDR3 3
325
#define SPDR4 4
326
#define SPDR5 5
327
#define SPDR6 6
328
#define SPDR7 7
329
330
#define ACSR _SFR_IO8(0x30)
331
#define ACIS0 0
332
#define ACIS1 1
333
#define ACIC 2
334
#define ACIE 3
335
#define ACI 4
336
#define ACO 5
337
#define ACBG 6
338
#define ACD 7
339
340
#define SMCR _SFR_IO8(0x33)
341
#define SE 0
342
#define SM0 1
343
#define SM1 2
344
345
#define MCUSR _SFR_IO8(0x34)
346
#define PORF 0
347
#define EXTRF 1
348
#define BORF 2
349
#define WDRF 3
350
351
#define MCUCR _SFR_IO8(0x35)
352
#define PUD 4
353
#define BODSE 5
354
#define BODS 6
355
356
#define SPMCSR _SFR_IO8(0x37)
357
#define SELFPRGEN 0
358
#define PGERS 1
359
#define PGWRT 2
360
#define RFLB 3
361
#define CTPB 4
362
#define RWWSB 6
363
364
#define WDTCSR _SFR_MEM8(0x60)
365
#define WDP0 0
366
#define WDP1 1
367
#define WDP2 2
368
#define WDE 3
369
#define WDCE 4
370
#define WDP3 5
371
#define WDIE 6
372
#define WDIF 7
373
374
#define CLKPR _SFR_MEM8(0x61)
375
#define CLKPS0 0
376
#define CLKPS1 1
377
#define CLKPS2 2
378
#define CLKPS3 3
379
#define CLKPCE 7
380
381
#define PRR _SFR_MEM8(0x64)
382
#define PRADC 0
383
#define PRSPI 2
384
#define PRTIM1 3
385
#define PRTIM0 5
386
#define PRTWI 7
387
388
#define OSCCAL _SFR_MEM8(0x66)
389
#define CAL0 0
390
#define CAL1 1
391
#define CAL2 2
392
#define CAL3 3
393
#define CAL4 4
394
#define CAL5 5
395
#define CAL6 6
396
#define CAL7 7
397
398
#define PCICR _SFR_MEM8(0x68)
399
#define PCIE0 0
400
#define PCIE1 1
401
#define PCIE2 2
402
#define PCIE3 3
403
404
#define EICRA _SFR_MEM8(0x69)
405
#define ISC00 0
406
#define ISC01 1
407
#define ISC10 2
408
#define ISC11 3
409
410
#define PCMSK3 _SFR_MEM8(0x6A)
411
#define PCINT24 0
412
#define PCINT25 1
413
#define PCINT26 2
414
#define PCINT27 3
415
416
#define PCMSK0 _SFR_MEM8(0x6B)
417
#define PCINT0 0
418
#define PCINT1 1
419
#define PCINT2 2
420
#define PCINT3 3
421
#define PCINT4 4
422
#define PCINT5 5
423
#define PCINT6 6
424
#define PCINT7 7
425
426
#define PCMSK1 _SFR_MEM8(0x6C)
427
#define PCINT8 0
428
#define PCINT9 1
429
#define PCINT10 2
430
#define PCINT11 3
431
#define PCINT12 4
432
#define PCINT13 5
433
#define PCINT14 6
434
#define PCINT15 7
435
436
#define PCMSK2 _SFR_MEM8(0x6D)
437
#define PCINT16 0
438
#define PCINT17 1
439
#define PCINT18 2
440
#define PCINT19 3
441
#define PCINT20 4
442
#define PCINT21 5
443
#define PCINT22 6
444
#define PCINT23 7
445
446
#define TIMSK0 _SFR_MEM8(0x6E)
447
#define TOIE0 0
448
#define OCIE0A 1
449
#define OCIE0B 2
450
451
#define TIMSK1 _SFR_MEM8(0x6F)
452
#define TOIE1 0
453
#define OCIE1A 1
454
#define OCIE1B 2
455
#define ICIE1 5
456
457
#ifndef __ASSEMBLER__
458
#define ADC _SFR_MEM16(0x78)
459
#endif
460
#define ADCW _SFR_MEM16(0x78)
461
462
#define ADCL _SFR_MEM8(0x78)
463
#define ADCL0 0
464
#define ADCL1 1
465
#define ADCL2 2
466
#define ADCL3 3
467
#define ADCL4 4
468
#define ADCL5 5
469
#define ADCL6 6
470
#define ADCL7 7
471
472
#define ADCH _SFR_MEM8(0x79)
473
#define ADCH0 0
474
#define ADCH1 1
475
#define ADCH2 2
476
#define ADCH3 3
477
#define ADCH4 4
478
#define ADCH5 5
479
#define ADCH6 6
480
#define ADCH7 7
481
482
#define ADCSRA _SFR_MEM8(0x7A)
483
#define ADPS0 0
484
#define ADPS1 1
485
#define ADPS2 2
486
#define ADIE 3
487
#define ADIF 4
488
#define ADATE 5
489
#define ADSC 6
490
#define ADEN 7
491
492
#define ADCSRB _SFR_MEM8(0x7B)
493
#define ADTS0 0
494
#define ADTS1 1
495
#define ADTS2 2
496
#define ACME 6
497
498
#define ADMUX _SFR_MEM8(0x7C)
499
#define MUX0 0
500
#define MUX1 1
501
#define MUX2 2
502
#define MUX3 3
503
#define ADLAR 5
504
#define REFS0 6
505
506
#define DIDR0 _SFR_MEM8(0x7E)
507
#define ADC0D 0
508
#define ADC1D 1
509
#define ADC2D 2
510
#define ADC3D 3
511
#define ADC4D 4
512
#define ADC5D 5
513
#define ADC6D 6
514
#define ADC7D 7
515
516
#define DIDR1 _SFR_MEM8(0x7F)
517
#define AIN0D 0
518
#define AIN1D 1
519
520
#define TCCR1A _SFR_MEM8(0x80)
521
#define WGM10 0
522
#define WGM11 1
523
#define COM1B0 4
524
#define COM1B1 5
525
#define COM1A0 6
526
#define COM1A1 7
527
528
#define TCCR1B _SFR_MEM8(0x81)
529
#define CS10 0
530
#define CS11 1
531
#define CS12 2
532
#define WGM12 3
533
#define WGM13 4
534
#define ICES1 6
535
#define ICNC1 7
536
537
#define TCCR1C _SFR_MEM8(0x82)
538
#define FOC1B 6
539
#define FOC1A 7
540
541
#define TCNT1 _SFR_MEM16(0x84)
542
543
#define TCNT1L _SFR_MEM8(0x84)
544
#define TCNT1L0 0
545
#define TCNT1L1 1
546
#define TCNT1L2 2
547
#define TCNT1L3 3
548
#define TCNT1L4 4
549
#define TCNT1L5 5
550
#define TCNT1L6 6
551
#define TCNT1L7 7
552
553
#define TCNT1H _SFR_MEM8(0x85)
554
#define TCNT1H0 0
555
#define TCNT1H1 1
556
#define TCNT1H2 2
557
#define TCNT1H3 3
558
#define TCNT1H4 4
559
#define TCNT1H5 5
560
#define TCNT1H6 6
561
#define TCNT1H7 7
562
563
#define ICR1 _SFR_MEM16(0x86)
564
565
#define ICR1L _SFR_MEM8(0x86)
566
#define ICR1L0 0
567
#define ICR1L1 1
568
#define ICR1L2 2
569
#define ICR1L3 3
570
#define ICR1L4 4
571
#define ICR1L5 5
572
#define ICR1L6 6
573
#define ICR1L7 7
574
575
#define ICR1H _SFR_MEM8(0x87)
576
#define ICR1H0 0
577
#define ICR1H1 1
578
#define ICR1H2 2
579
#define ICR1H3 3
580
#define ICR1H4 4
581
#define ICR1H5 5
582
#define ICR1H6 6
583
#define ICR1H7 7
584
585
#define OCR1A _SFR_MEM16(0x88)
586
587
#define OCR1AL _SFR_MEM8(0x88)
588
#define OCR1AL0 0
589
#define OCR1AL1 1
590
#define OCR1AL2 2
591
#define OCR1AL3 3
592
#define OCR1AL4 4
593
#define OCR1AL5 5
594
#define OCR1AL6 6
595
#define OCR1AL7 7
596
597
#define OCR1AH _SFR_MEM8(0x89)
598
#define OCR1AH0 0
599
#define OCR1AH1 1
600
#define OCR1AH2 2
601
#define OCR1AH3 3
602
#define OCR1AH4 4
603
#define OCR1AH5 5
604
#define OCR1AH6 6
605
#define OCR1AH7 7
606
607
#define OCR1B _SFR_MEM16(0x8A)
608
609
#define OCR1BL _SFR_MEM8(0x8A)
610
#define OCR1BL0 0
611
#define OCR1BL1 1
612
#define OCR1BL2 2
613
#define OCR1BL3 3
614
#define OCR1BL4 4
615
#define OCR1BL5 5
616
#define OCR1BL6 6
617
#define OCR1BL7 7
618
619
#define OCR1BH _SFR_MEM8(0x8B)
620
#define OCR1BH0 0
621
#define OCR1BH1 1
622
#define OCR1BH2 2
623
#define OCR1BH3 3
624
#define OCR1BH4 4
625
#define OCR1BH5 5
626
#define OCR1BH6 6
627
#define OCR1BH7 7
628
629
#define TWBR _SFR_MEM8(0xB8)
630
#define TWBR0 0
631
#define TWBR1 1
632
#define TWBR2 2
633
#define TWBR3 3
634
#define TWBR4 4
635
#define TWBR5 5
636
#define TWBR6 6
637
#define TWBR7 7
638
639
#define TWSR _SFR_MEM8(0xB9)
640
#define TWPS0 0
641
#define TWPS1 1
642
#define TWS3 2
643
#define TWS4 3
644
#define TWS5 4
645
#define TWS6 5
646
#define TWS7 6
647
648
#define TWAR _SFR_MEM8(0xBA)
649
#define TWGCE 0
650
#define TWA0 1
651
#define TWA1 2
652
#define TWA2 3
653
#define TWA3 4
654
#define TWA4 5
655
#define TWA5 6
656
#define TWA6 7
657
658
#define TWDR _SFR_MEM8(0xBB)
659
#define TWD0 0
660
#define TWD1 1
661
#define TWD2 2
662
#define TWD3 3
663
#define TWD4 4
664
#define TWD5 5
665
#define TWD6 6
666
#define TWD7 7
667
668
#define TWCR _SFR_MEM8(0xBC)
669
#define TWIE 0
670
#define TWEN 2
671
#define TWWC 3
672
#define TWSTO 4
673
#define TWSTA 5
674
#define TWEA 6
675
#define TWINT 7
676
677
#define TWAMR _SFR_MEM8(0xBD)
678
#define TWAM0 1
679
#define TWAM1 2
680
#define TWAM2 3
681
#define TWAM3 4
682
#define TWAM4 5
683
#define TWAM5 6
684
#define TWAM6 7
685
686
#define TWIHSR _SFR_MEM8(0xBE)
/* Deprecated */
687
#define TWHSR _SFR_MEM8(0xBE)
688
#define TWIHS 0
689
690
691
/* Interrupt Vectors */
692
/* Interrupt vector 0 is the reset vector. */
693
694
#define INT0_vect _VECTOR(1)
695
#define INT1_vect _VECTOR(2)
696
#define PCINT0_vect _VECTOR(3)
697
#define PCINT1_vect _VECTOR(4)
698
#define PCINT2_vect _VECTOR(5)
699
#define PCINT3_vect _VECTOR(6)
700
#define WDT_vect _VECTOR(7)
701
#define TIMER1_CAPT_vect _VECTOR(8)
702
#define TIMER1_COMPA_vect _VECTOR(9)
703
#define TIMER1_COMPB_vect _VECTOR(10)
704
#define TIMER1_OVF_vect _VECTOR(11)
705
#define TIMER0_COMPA_vect _VECTOR(12)
706
#define TIMER0_COMPB_vect _VECTOR(13)
707
#define TIMER0_OVF_vect _VECTOR(14)
708
#define SPI_STC_vect _VECTOR(15)
709
#define ADC_vect _VECTOR(16)
710
#define EE_READY_vect _VECTOR(17)
711
#define ANALOG_COMP_vect _VECTOR(18)
712
#define TWI_vect _VECTOR(19)
713
714
#define _VECTORS_SIZE 40
715
716
717
/* Constants */
718
#define SPM_PAGESIZE 32
719
#define RAMEND 0x1FF
720
#define XRAMSIZE 0
721
#define XRAMEND RAMEND
722
#define E2END 0x3F
723
#define E2PAGESIZE 4
724
#define FLASHEND 0xFFF
725
726
727
/* Fuse Information */
728
#define FUSE_MEMORY_SIZE 3
729
730
/* Low Fuse Byte */
731
#define FUSE_CKDIV8 (unsigned char)~_BV(7)
/* Divide clock by 8 */
732
#define FUSE_CKOUT (unsigned char)~_BV(6)
/* Clock output */
733
#define FUSE_SUT1 (unsigned char)~_BV(5)
/* Select start-up time */
734
#define FUSE_SUT0 (unsigned char)~_BV(4)
/* Select start-up time */
735
#define FUSE_CKSEL3 (unsigned char)~_BV(3)
/* Select Clock Source */
736
#define FUSE_CKSEL2 (unsigned char)~_BV(2)
/* Select Clock Source */
737
#define FUSE_CKSEL1 (unsigned char)~_BV(1)
/* Select Clock Source */
738
#define FUSE_CKSEL0 (unsigned char)~_BV(0)
/* Select Clock Source */
739
#define LFUSE_DEFAULT (FUSE_CKSEL0 & FUSE_CKSEL2 & FUSE_CKSEL3 & FUSE_SUT0 & FUSE_CKDIV8)
740
741
/* High Fuse Byte */
742
#define FUSE_BODLEVEL0 (unsigned char)~_BV(0)
/* Brown-out Detector trigger level */
743
#define FUSE_BODLEVEL1 (unsigned char)~_BV(1)
/* Brown-out Detector trigger level */
744
#define FUSE_BODLEVEL2 (unsigned char)~_BV(2)
/* Brown-out Detector trigger level */
745
#define FUSE_EESAVE (unsigned char)~_BV(3)
/* EEPROM memory is preserved through chip erase */
746
#define FUSE_WDTON (unsigned char)~_BV(4)
/* Watchdog Timer Always On */
747
#define FUSE_SPIEN (unsigned char)~_BV(5)
/* Enable Serial programming and Data Downloading */
748
#define FUSE_DWEN (unsigned char)~_BV(6)
/* debugWIRE Enable */
749
#define FUSE_RSTDISBL (unsigned char)~_BV(7)
/* External reset disable */
750
#define HFUSE_DEFAULT (FUSE_SPIEN)
751
752
/* Extended Fuse Byte */
753
#define FUSE_SELFPRGEN (unsigned char)~_BV(0)
/* Self Programming Enable */
754
#define EFUSE_DEFAULT (0xFF)
755
756
757
/* Lock Bits */
758
#define __LOCK_BITS_EXIST
759
760
761
/* Signature */
762
#define SIGNATURE_0 0x1E
763
#define SIGNATURE_1 0x92
764
#define SIGNATURE_2 0x09
765
767
#endif
/* _AVR_IOTN48_H_ */
Generated by
1.8.13