ATmega2560
Hardware definitions
Loading...
Searching...
No Matches
Fuse.h
Go to the documentation of this file.
1
5
6
#ifndef ATMEGA2560_DEFINITIONS_FUSE_H
7
#define ATMEGA2560_DEFINITIONS_FUSE_H
8
9
#include <stdint.h>
10
#include "
Config.h
"
11
13
namespace
atmega2560
14
{
16
namespace
fuse
17
{
19
namespace
low
20
{
22
enum : uint8_t
23
{
24
CKDIV8
= 7,
25
CKOUT
= 6,
26
SUT1
= 5,
27
SUT0
= 4,
28
CKSEL0
= 0,
29
CKSEL1
= 1,
30
CKSEL2
= 2,
31
CKSEL3
= 3,
32
};
33
}
34
35
namespace
high
36
{
38
enum : uint8_t
39
{
40
OCDEN
= 7,
41
JTAGEN
= 6,
42
SPIEN
= 5,
43
WDTON
= 4,
44
EESAVE
= 3,
45
BOOTSZ1
= 2,
46
BOOTSZ0
= 1,
47
BOOTRST
= 0,
48
};
49
}
50
51
namespace
extended
52
{
54
enum : uint8_t
55
{
56
BODLEVEL2
= 2,
57
BODLEVEL1
= 1,
58
BODLEVEL0
= 0,
59
};
60
}
61
}
62
}
63
64
#endif
Config.h
Device, package and operating-grade selection.
atmega2560::fuse::extended
Extended definitions.
Definition
Fuse.h:52
atmega2560::fuse::extended::BODLEVEL0
@ BODLEVEL0
Brown-out select 0.
Definition
Fuse.h:58
atmega2560::fuse::extended::BODLEVEL2
@ BODLEVEL2
Brown-out select 2.
Definition
Fuse.h:56
atmega2560::fuse::extended::BODLEVEL1
@ BODLEVEL1
Brown-out select 1.
Definition
Fuse.h:57
atmega2560::fuse::high
High definitions.
Definition
Fuse.h:36
atmega2560::fuse::high::WDTON
@ WDTON
Watchdog always-on.
Definition
Fuse.h:43
atmega2560::fuse::high::EESAVE
@ EESAVE
EEPROM preserve through erase.
Definition
Fuse.h:44
atmega2560::fuse::high::BOOTRST
@ BOOTRST
Reset to bootloader.
Definition
Fuse.h:47
atmega2560::fuse::high::JTAGEN
@ JTAGEN
JTAG enable.
Definition
Fuse.h:41
atmega2560::fuse::high::OCDEN
@ OCDEN
On-chip debug enable.
Definition
Fuse.h:40
atmega2560::fuse::high::SPIEN
@ SPIEN
Serial programming enable.
Definition
Fuse.h:42
atmega2560::fuse::high::BOOTSZ0
@ BOOTSZ0
Boot section size 0.
Definition
Fuse.h:46
atmega2560::fuse::high::BOOTSZ1
@ BOOTSZ1
Boot section size 1.
Definition
Fuse.h:45
atmega2560::fuse::low
Low definitions.
Definition
Fuse.h:20
atmega2560::fuse::low::CKOUT
@ CKOUT
Output system clock.
Definition
Fuse.h:25
atmega2560::fuse::low::CKDIV8
@ CKDIV8
Divide clock by 8.
Definition
Fuse.h:24
atmega2560::fuse::low::SUT0
@ SUT0
Startup time bit 0.
Definition
Fuse.h:27
atmega2560::fuse::low::CKSEL3
@ CKSEL3
Clock select 3.
Definition
Fuse.h:31
atmega2560::fuse::low::CKSEL2
@ CKSEL2
Clock select 2.
Definition
Fuse.h:30
atmega2560::fuse::low::SUT1
@ SUT1
Startup time bit 1.
Definition
Fuse.h:26
atmega2560::fuse::low::CKSEL0
@ CKSEL0
Clock select 0.
Definition
Fuse.h:28
atmega2560::fuse::low::CKSEL1
@ CKSEL1
Clock select 1.
Definition
Fuse.h:29
atmega2560::fuse
Fuse definitions.
Definition
Fuse.h:17
atmega2560
ATmega2560 hardware definitions.
Definition
ADC.h:15
include
atmega2560
Fuse.h
Generated by
1.15.0