HWA
Bare metal programming with style

Detailed Description

Modules

 ATmega48
 
 ATmega48P
 

Target device description

These definitions are computed by HWA from the target device name.

#define HW_DEVICE_FLASH_SIZE   4096
 
#define HW_DEVICE_FLASH_PAGE_SIZE   64
 
#define HW_DEVICE_EEPROM_SIZE   256
 
#define HW_DEVICE_EEPROM_PAGE_SIZE   4
 
#define HW_DEVICE_RAM_SIZE   512
 
#define HW_DEVICE_APP_START   0x0034
 

Macro Definition Documentation

◆ HW_DEVICE_APP_START

#define HW_DEVICE_APP_START   0x0034

Address of first application byte (after IRQ vector table)

◆ HW_DEVICE_EEPROM_PAGE_SIZE

#define HW_DEVICE_EEPROM_PAGE_SIZE   4

EEPROM page size in bytes

◆ HW_DEVICE_EEPROM_SIZE

#define HW_DEVICE_EEPROM_SIZE   256

EEPROM size in bytes

◆ HW_DEVICE_FLASH_PAGE_SIZE

#define HW_DEVICE_FLASH_PAGE_SIZE   64

Flash page size in bytes

◆ HW_DEVICE_FLASH_SIZE

#define HW_DEVICE_FLASH_SIZE   4096

Flash size in bytes

◆ HW_DEVICE_RAM_SIZE

#define HW_DEVICE_RAM_SIZE   512

RAM size in bytes