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