Skip to main content

Microcontrollers

Chapter 13 Memory and Memory Addressing

The ATmega328P has three different major types of memory: flash (program) memory, SRAM (data) memory, and EEPROM. Each of these memories is divided into sections for different uses. In addition, each type of memory is accessed by microcontroller instructions in different ways. This provides an important motivation behind how assembly (introduced in ChapterΒ 15) and machine instructions operate.