34 #ifndef _AVR_IOM2561_H_ 35 #define _AVR_IOM2561_H_ 1 40 #define SPM_PAGESIZE 256 42 #define XRAMEND 0xFFFF 45 #define FLASHEND 0x3FFFF 50 #define FUSE_MEMORY_SIZE 3 53 #define FUSE_CKSEL0 (unsigned char)~_BV(0) 54 #define FUSE_CKSEL1 (unsigned char)~_BV(1) 55 #define FUSE_CKSEL2 (unsigned char)~_BV(2) 56 #define FUSE_CKSEL3 (unsigned char)~_BV(3) 57 #define FUSE_SUT0 (unsigned char)~_BV(4) 58 #define FUSE_SUT1 (unsigned char)~_BV(5) 59 #define FUSE_CKOUT (unsigned char)~_BV(6) 60 #define FUSE_CKDIV8 (unsigned char)~_BV(7) 61 #define LFUSE_DEFAULT (FUSE_CKSEL0 & FUSE_CKSEL2 & FUSE_CKSEL3 & FUSE_SUT0 & FUSE_CKDIV8) 64 #define FUSE_BOOTRST (unsigned char)~_BV(0) 65 #define FUSE_BOOTSZ0 (unsigned char)~_BV(1) 66 #define FUSE_BOOTSZ1 (unsigned char)~_BV(2) 67 #define FUSE_EESAVE (unsigned char)~_BV(3) 68 #define FUSE_WDTON (unsigned char)~_BV(4) 69 #define FUSE_SPIEN (unsigned char)~_BV(5) 70 #define FUSE_JTAGEN (unsigned char)~_BV(6) 71 #define FUSE_OCDEN (unsigned char)~_BV(7) 72 #define HFUSE_DEFAULT (FUSE_BOOTSZ0 & FUSE_BOOTSZ1 & FUSE_SPIEN & FUSE_JTAGEN) 75 #define FUSE_BODLEVEL0 (unsigned char)~_BV(0) 76 #define FUSE_BODLEVEL1 (unsigned char)~_BV(1) 77 #define FUSE_BODLEVEL2 (unsigned char)~_BV(2) 78 #define EFUSE_DEFAULT (0xFF) 82 #define __LOCK_BITS_EXIST 83 #define __BOOT_LOCK_BITS_0_EXIST 84 #define __BOOT_LOCK_BITS_1_EXIST 88 #define SIGNATURE_0 0x1E 89 #define SIGNATURE_1 0x98 90 #define SIGNATURE_2 0x02 Definitions for ATmega640/1280/1281/2560/2561.