ATmega2560
Hardware definitions
Loading...
Searching...
No Matches
Reset.h
Go to the documentation of this file.
1
5
6
#ifndef ATMEGA2560_DEFINITIONS_RESET_H
7
#define ATMEGA2560_DEFINITIONS_RESET_H
8
9
#include <stdint.h>
10
#include "
Config.h
"
11
13
namespace
atmega2560
14
{
16
namespace
reset
17
{
19
enum class
Source
: uint8_t
20
{
21
PowerOn
= 0,
22
External
= 1,
23
BrownOut
= 2,
24
Watchdog
= 3,
25
JTAG
= 4,
26
};
27
28
enum : uint8_t
29
{
30
has_power_on_reset
= 1,
31
has_external_reset
= 1,
32
has_brown_out_reset
= 1,
33
has_watchdog_reset
= 1,
34
has_jtag_reset
= 1,
35
reset_pin_terminal_tqfp100
= 30,
36
};
37
}
38
}
39
40
#endif
Config.h
Device, package and operating-grade selection.
atmega2560::reset
Reset definitions.
Definition
Reset.h:17
atmega2560::reset::Source
Source
Reset sources.
Definition
Reset.h:20
atmega2560::reset::Source::BrownOut
@ BrownOut
Brown-out reset.
Definition
Reset.h:23
atmega2560::reset::Source::Watchdog
@ Watchdog
Watchdog reset.
Definition
Reset.h:24
atmega2560::reset::Source::JTAG
@ JTAG
JTAG AVR reset.
Definition
Reset.h:25
atmega2560::reset::Source::External
@ External
External reset.
Definition
Reset.h:22
atmega2560::reset::Source::PowerOn
@ PowerOn
Power-on reset.
Definition
Reset.h:21
atmega2560::reset::has_watchdog_reset
@ has_watchdog_reset
has watchdog reset.
Definition
Reset.h:33
atmega2560::reset::has_power_on_reset
@ has_power_on_reset
has power on reset.
Definition
Reset.h:30
atmega2560::reset::has_external_reset
@ has_external_reset
has external reset.
Definition
Reset.h:31
atmega2560::reset::reset_pin_terminal_tqfp100
@ reset_pin_terminal_tqfp100
reset pin terminal tqfp100.
Definition
Reset.h:35
atmega2560::reset::has_brown_out_reset
@ has_brown_out_reset
has brown out reset.
Definition
Reset.h:32
atmega2560::reset::has_jtag_reset
@ has_jtag_reset
has jtag reset.
Definition
Reset.h:34
atmega2560
ATmega2560 hardware definitions.
Definition
ADC.h:15
include
atmega2560
Reset.h
Generated by
1.15.0