HWA
Bare metal programming with style

Detailed Description

Modules

 ATmega168
 
 ATmega168P
 

Target device description

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

#define HW_DEVICE_FLASH_SIZE   16384
 
#define HW_DEVICE_FLASH_PAGE_SIZE   128
 
#define HW_DEVICE_EEPROM_SIZE   512
 
#define HW_DEVICE_EEPROM_PAGE_SIZE   4
 
#define HW_DEVICE_RAM_SIZE   1024
 
#define HW_DEVICE_APP_START   0x0068
 

Macro Definition Documentation

◆ HW_DEVICE_APP_START

#define HW_DEVICE_APP_START   0x0068

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   512

◆ HW_DEVICE_FLASH_PAGE_SIZE

#define HW_DEVICE_FLASH_PAGE_SIZE   128

◆ HW_DEVICE_FLASH_SIZE

#define HW_DEVICE_FLASH_SIZE   16384

◆ HW_DEVICE_RAM_SIZE

#define HW_DEVICE_RAM_SIZE   1024

RAM size in bytes