HWA
Bare metal programming with style

Detailed Description

Header file:

#include <hwa/attiny85.h>

Modules

 ATtiny85-20PU
 

Target device description

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

#define HW_DEVICE   attiny85
 
#define HW_DEVICE_ATTINY85
 
#define HW_DEVICE_SIGNATURE   0x1E,0x93,0x0B
 
#define HW_DEVICE_FLASH_SIZE   8192
 
#define HW_DEVICE_FLASH_PAGE_SIZE   64
 
#define HW_DEVICE_EEPROM_SIZE   512
 
#define HW_DEVICE_EEPROM_PAGE_SIZE   4
 
#define HW_DEVICE_RAM_SIZE   512
 

Macro Definition Documentation

◆ HW_DEVICE

#define HW_DEVICE   attiny85

Name of the device (for the compiler/programmer)

◆ HW_DEVICE_ATTINY85

#define HW_DEVICE_ATTINY85

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   512

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   8192

Flash size in bytes

◆ HW_DEVICE_RAM_SIZE

#define HW_DEVICE_RAM_SIZE   512

RAM size in bytes

◆ HW_DEVICE_SIGNATURE

#define HW_DEVICE_SIGNATURE   0x1E,0x93,0x0B

Signature bytes

attiny85.h
Atmel AVR ATtiny85.