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

Data-space addresses of the ATmega328P registers. More...

#include <stdint.h>
#include "Config.h"
Include dependency graph for RegisterMap.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::register_map
 Register addresses and memory-space boundaries.

Enumerations

enum  : uint16_t {
  atmega328p::register_map::register_file_start = 0x0000 , atmega328p::register_map::register_file_end = 0x001F , atmega328p::register_map::io_space_start = 0x0020 , atmega328p::register_map::io_space_end = 0x005F ,
  atmega328p::register_map::extended_io_start = 0x0060 , atmega328p::register_map::extended_io_end = 0x00FF , atmega328p::register_map::sram_start = 0x0100 , atmega328p::register_map::sram_end = 0x08FF ,
  atmega328p::register_map::io_offset = 0x20 , atmega328p::register_map::sbi_cbi_last_address = 0x003F , atmega328p::register_map::in_out_last_address = 0x005F , atmega328p::register_map::invalid_io_address = 0xFFFF
}
enum  atmega328p::register_map::Register : uint16_t {
  atmega328p::register_map::PINB = 0x23 , atmega328p::register_map::DDRB = 0x24 , atmega328p::register_map::PORTB = 0x25 , atmega328p::register_map::PINC = 0x26 ,
  atmega328p::register_map::DDRC = 0x27 , atmega328p::register_map::PORTC = 0x28 , atmega328p::register_map::PIND = 0x29 , atmega328p::register_map::DDRD = 0x2A ,
  atmega328p::register_map::PORTD = 0x2B , atmega328p::register_map::TIFR0 = 0x35 , atmega328p::register_map::TIFR1 = 0x36 , atmega328p::register_map::TIFR2 = 0x37 ,
  atmega328p::register_map::PCIFR = 0x3B , atmega328p::register_map::EIFR = 0x3C , atmega328p::register_map::EIMSK = 0x3D , atmega328p::register_map::GPIOR0 = 0x3E ,
  atmega328p::register_map::EECR = 0x3F , atmega328p::register_map::EEDR = 0x40 , atmega328p::register_map::EEARL = 0x41 , atmega328p::register_map::EEARH = 0x42 ,
  atmega328p::register_map::GTCCR = 0x43 , atmega328p::register_map::TCCR0A = 0x44 , atmega328p::register_map::TCCR0B = 0x45 , atmega328p::register_map::TCNT0 = 0x46 ,
  atmega328p::register_map::OCR0A = 0x47 , atmega328p::register_map::OCR0B = 0x48 , atmega328p::register_map::GPIOR1 = 0x4A , atmega328p::register_map::GPIOR2 = 0x4B ,
  atmega328p::register_map::SPCR = 0x4C , atmega328p::register_map::SPSR = 0x4D , atmega328p::register_map::SPDR = 0x4E , atmega328p::register_map::ACSR = 0x50 ,
  atmega328p::register_map::SMCR = 0x53 , atmega328p::register_map::MCUSR = 0x54 , atmega328p::register_map::MCUCR = 0x55 , atmega328p::register_map::SPMCSR = 0x57 ,
  atmega328p::register_map::SPL = 0x5D , atmega328p::register_map::SPH = 0x5E , atmega328p::register_map::SREG = 0x5F , atmega328p::register_map::WDTCSR = 0x60 ,
  atmega328p::register_map::CLKPR = 0x61 , atmega328p::register_map::PRR = 0x64 , atmega328p::register_map::OSCCAL = 0x66 , atmega328p::register_map::PCICR = 0x68 ,
  atmega328p::register_map::EICRA = 0x69 , atmega328p::register_map::PCMSK0 = 0x6B , atmega328p::register_map::PCMSK1 = 0x6C , atmega328p::register_map::PCMSK2 = 0x6D ,
  atmega328p::register_map::TIMSK0 = 0x6E , atmega328p::register_map::TIMSK1 = 0x6F , atmega328p::register_map::TIMSK2 = 0x70 , atmega328p::register_map::ADC = 0x78 ,
  atmega328p::register_map::ADCL = 0x78 , atmega328p::register_map::ADCH = 0x79 , atmega328p::register_map::ADCSRA = 0x7A , atmega328p::register_map::ADCSRB = 0x7B ,
  atmega328p::register_map::ADMUX = 0x7C , atmega328p::register_map::DIDR0 = 0x7E , atmega328p::register_map::DIDR1 = 0x7F , atmega328p::register_map::TCCR1A = 0x80 ,
  atmega328p::register_map::TCCR1B = 0x81 , atmega328p::register_map::TCCR1C = 0x82 , atmega328p::register_map::TCNT1L = 0x84 , atmega328p::register_map::TCNT1H = 0x85 ,
  atmega328p::register_map::ICR1L = 0x86 , atmega328p::register_map::ICR1H = 0x87 , atmega328p::register_map::OCR1AL = 0x88 , atmega328p::register_map::OCR1AH = 0x89 ,
  atmega328p::register_map::OCR1BL = 0x8A , atmega328p::register_map::OCR1BH = 0x8B , atmega328p::register_map::TCCR2A = 0xB0 , atmega328p::register_map::TCCR2B = 0xB1 ,
  atmega328p::register_map::TCNT2 = 0xB2 , atmega328p::register_map::OCR2A = 0xB3 , atmega328p::register_map::OCR2B = 0xB4 , atmega328p::register_map::ASSR = 0xB6 ,
  atmega328p::register_map::TWBR = 0xB8 , atmega328p::register_map::TWSR = 0xB9 , atmega328p::register_map::TWAR = 0xBA , atmega328p::register_map::TWDR = 0xBB ,
  atmega328p::register_map::TWCR = 0xBC , atmega328p::register_map::TWAMR = 0xBD , atmega328p::register_map::UCSR0A = 0xC0 , atmega328p::register_map::UCSR0B = 0xC1 ,
  atmega328p::register_map::UCSR0C = 0xC2 , atmega328p::register_map::UBRR0L = 0xC4 , atmega328p::register_map::UBRR0H = 0xC5 , atmega328p::register_map::UDR0 = 0xC6
}
 Data-space addresses of special-function registers. More...

Detailed Description

Data-space addresses of the ATmega328P registers.