34 #ifndef _AVR_IOM2560_H_ 35 #define _AVR_IOM2560_H_ 1 44 #define SPM_PAGESIZE 256 46 #define XRAMEND 0xFFFF 49 #define FLASHEND 0x3FFFF 57 #define FUSE_MEMORY_SIZE 3 60 #define FUSE_CKSEL0 (unsigned char)~_BV(0) 61 #define FUSE_CKSEL1 (unsigned char)~_BV(1) 62 #define FUSE_CKSEL2 (unsigned char)~_BV(2) 63 #define FUSE_CKSEL3 (unsigned char)~_BV(3) 64 #define FUSE_SUT0 (unsigned char)~_BV(4) 65 #define FUSE_SUT1 (unsigned char)~_BV(5) 66 #define FUSE_CKOUT (unsigned char)~_BV(6) 67 #define FUSE_CKDIV8 (unsigned char)~_BV(7) 68 #define LFUSE_DEFAULT (FUSE_CKSEL0 & FUSE_CKSEL2 & FUSE_CKSEL3 & \ 69 FUSE_SUT0 & FUSE_CKDIV8) 72 #define FUSE_BOOTRST (unsigned char)~_BV(0) 73 #define FUSE_BOOTSZ0 (unsigned char)~_BV(1) 74 #define FUSE_BOOTSZ1 (unsigned char)~_BV(2) 75 #define FUSE_EESAVE (unsigned char)~_BV(3) 76 #define FUSE_WDTON (unsigned char)~_BV(4) 77 #define FUSE_SPIEN (unsigned char)~_BV(5) 78 #define FUSE_JTAGEN (unsigned char)~_BV(6) 79 #define FUSE_OCDEN (unsigned char)~_BV(7) 80 #define HFUSE_DEFAULT (FUSE_BOOTSZ0 & FUSE_BOOTSZ1 & FUSE_SPIEN & FUSE_JTAGEN) 83 #define FUSE_BODLEVEL0 (unsigned char)~_BV(0) 84 #define FUSE_BODLEVEL1 (unsigned char)~_BV(1) 85 #define FUSE_BODLEVEL2 (unsigned char)~_BV(2) 86 #define EFUSE_DEFAULT (0xFF) 94 #define __LOCK_BITS_EXIST 95 #define __BOOT_LOCK_BITS_0_EXIST 96 #define __BOOT_LOCK_BITS_1_EXIST 104 #define SIGNATURE_0 0x1E 105 #define SIGNATURE_1 0x98 106 #define SIGNATURE_2 0x01 Definitions for ATmega640/1280/1281/2560/2561.