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

Boot section and Flash region definitions. More...

#include <stdint.h>
#include "Config.h"
Include dependency graph for Bootloader.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::bootloader
 Boot section and Flash region definitions.

Enumerations

enum class  atmega328p::bootloader::Size : uint16_t { atmega328p::bootloader::Words256 = 256 , atmega328p::bootloader::Words512 = 512 , atmega328p::bootloader::Words1024 = 1024 , atmega328p::bootloader::Words2048 = 2048 }
 Supported boot section sizes in Flash words. More...
enum class  atmega328p::bootloader::SizeCode : uint8_t { atmega328p::bootloader::Words256 = 0x03 , atmega328p::bootloader::Words512 = 0x02 , atmega328p::bootloader::Words1024 = 0x01 , atmega328p::bootloader::Words2048 = 0x00 }
 BOOTSZ fuse encodings for each boot section size. More...
enum  : uint8_t {
  atmega328p::bootloader::size_option_count = 4U , atmega328p::bootloader::rww_page_count = 224U , atmega328p::bootloader::nrww_page_count = 32U , atmega328p::bootloader::reset_vector_selected_by_bootrst = 1 ,
  atmega328p::bootloader::interrupt_vector_location_selected_by_ivsel = 1
}
enum  : uint16_t {
  atmega328p::bootloader::default_size_words = 2048U , atmega328p::bootloader::default_start_word_address = 0x3800U , atmega328p::bootloader::rww_start_word_address = 0x0000U , atmega328p::bootloader::rww_end_word_address = 0x37FFU ,
  atmega328p::bootloader::nrww_start_word_address = 0x3800U , atmega328p::bootloader::nrww_end_word_address = 0x3FFFU
}

Detailed Description

Boot section and Flash region definitions.