HWA
Bare metal programming with style

Detailed Description

Header file:

#include <hwa/attiny24.h>

Modules

 ATtiny24A-PU
 

Target device description

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

#define HW_DEVICE   attiny24
 
#define HW_DEVICE_ATTINY24
 
#define HW_DEVICE_SIGNATURE   0x1E,0x91,0x0B
 
#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   attiny24

Name of the device (for the compiler/programmer)

◆ HW_DEVICE_ATTINY24

#define HW_DEVICE_ATTINY24

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,0x0B

Signature bytes

attiny24.h
Atmel AVR ATtiny24.