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

Boot section sizes and Flash address ranges. 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  atmega2560
 ATmega2560 hardware definitions.
namespace  atmega2560::bootloader
 Bootloader definitions.

Enumerations

enum class  atmega2560::bootloader::SectionSizeWords : uint16_t { atmega2560::bootloader::Words512 = 512 , atmega2560::bootloader::Words1024 = 1024 , atmega2560::bootloader::Words2048 = 2048 , atmega2560::bootloader::Words4096 = 4096 }
 Four boot section sizes. More...
enum class  atmega2560::bootloader::BootSizeCode : uint8_t { atmega2560::bootloader::Words512 = 0x03 , atmega2560::bootloader::Words1024 = 0x02 , atmega2560::bootloader::Words2048 = 0x01 , atmega2560::bootloader::Words4096 = 0x00 }
 BOOTSZ1:0 fuse field encodings. More...
enum  : uint32_t {
  atmega2560::bootloader::flash_size_words = 131072UL , atmega2560::bootloader::flash_end_word_address = 0x1FFFFUL , atmega2560::bootloader::smallest_boot_start_word_address = 0x1FE00UL , atmega2560::bootloader::largest_boot_start_word_address = 0x1F000UL ,
  atmega2560::bootloader::minimum_boot_section_words = 512 , atmega2560::bootloader::maximum_boot_section_words = 4096 , atmega2560::bootloader::minimum_boot_page_count = 4 , atmega2560::bootloader::maximum_boot_page_count = 32 ,
  atmega2560::bootloader::flash_page_size_words = 128
}
 Boot partition boundaries. More...

Detailed Description

Boot section sizes and Flash address ranges.