HWA
Bare metal programming with style

Detailed Description

Header file:

#include <hwa/attiny25.h>

Modules

 ATtiny25-20PU
 

Target device description

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

#define HW_DEVICE   attiny25
 
#define HW_DEVICE_ATTINY25
 
#define HW_DEVICE_SIGNATURE   0x1E,0x91,0x08
 
#define HW_DEVICE_FLASH_SIZE   2048
 
#define HW_DEVICE_FLASH_PAGE_SIZE   32
 
#define HW_DEVICE_EEPROM_SIZE   128
 
#define HW_DEVICE_EEPROM_PAGE_SIZE   4
 
#define HW_DEVICE_RAM_SIZE   128
 

Macro Definition Documentation

◆ HW_DEVICE

#define HW_DEVICE   attiny25

Name of the device (for the compiler/programmer)

◆ HW_DEVICE_ATTINY25

#define HW_DEVICE_ATTINY25

Device family

◆ 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   128

EEPROM size in bytes

◆ HW_DEVICE_FLASH_PAGE_SIZE

#define HW_DEVICE_FLASH_PAGE_SIZE   32

Flash page size in bytes

◆ HW_DEVICE_FLASH_SIZE

#define HW_DEVICE_FLASH_SIZE   2048

Flash size in bytes

◆ HW_DEVICE_RAM_SIZE

#define HW_DEVICE_RAM_SIZE   128

RAM size in bytes

◆ HW_DEVICE_SIGNATURE

#define HW_DEVICE_SIGNATURE   0x1E,0x91,0x08

Signature bytes

attiny25.h
Atmel AVR ATtiny25.