ATmega328p
Hardware definitions
Loading...
Searching...
No Matches
Reset.h File Reference

Reset sources and brown-out characteristics. More...

#include <stdint.h>
#include "Config.h"
Include dependency graph for Reset.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  atmega328p
 Device-specific definitions for the ATmega328P.
namespace  atmega328p::reset
 Reset and brown-out definitions.

Enumerations

enum  atmega328p::reset::Cause : uint8_t { atmega328p::reset::PowerOn = 0x01 , atmega328p::reset::External = 0x02 , atmega328p::reset::BrownOut = 0x04 , atmega328p::reset::Watchdog = 0x08 }
 Reset source flags. More...
enum  : uint8_t {
  atmega328p::reset::has_power_on_reset = 1 , atmega328p::reset::has_external_reset = 1 , atmega328p::reset::has_brown_out_reset = 1 , atmega328p::reset::has_watchdog_reset = 1 ,
  atmega328p::reset::family_bod_code_110_is_1v8 = 1 , atmega328p::reset::automotive_bod_code_110_level_documented = 0
}
 Brown-out fuse encodings. More...
enum class  atmega328p::reset::BrownOutFuseCode : uint8_t {
  atmega328p::reset::Disabled = 0x07 , atmega328p::reset::Code110 = 0x06 , atmega328p::reset::Code101 = 0x05 , atmega328p::reset::Code100 = 0x04 ,
  atmega328p::reset::Reserved011 = 0x03 , atmega328p::reset::Reserved010 = 0x02 , atmega328p::reset::Reserved001 = 0x01 , atmega328p::reset::Reserved000 = 0x00
}
 Brown-out fuse threshold encodings. More...
enum  : uint16_t {
  atmega328p::reset::family_datasheet_brown_out_hysteresis_typical_mv = 50U , atmega328p::reset::family_datasheet_bod_code_110_typical_mv = 1800U , atmega328p::reset::family_datasheet_bod_code_110_min_mv = 1700U , atmega328p::reset::family_datasheet_bod_code_110_max_mv = 2000U ,
  atmega328p::reset::brown_out_2v7_typical_mv = 2700U , atmega328p::reset::brown_out_2v7_min_mv = 2500U , atmega328p::reset::brown_out_2v7_max_mv = 2900U , atmega328p::reset::brown_out_4v3_typical_mv = 4300U ,
  atmega328p::reset::brown_out_4v3_min_mv = 4100U , atmega328p::reset::brown_out_4v3_max_mv = 4500U
}

Detailed Description

Reset sources and brown-out characteristics.