1100
1101
#define FUSE_MEMORY_SIZE 3
1102
1103
/* Low Fuse Byte */
1103
#define FUSE_CKSEL0 ~_BV(0)
1104
#define FUSE_CKSEL1 ~_BV(1)
1105
#define FUSE_CKSEL2 ~_BV(2)
1106
#define FUSE_CKSEL3 ~_BV(3)
1107
#define FUSE_SUT0 ~_BV(4)
1108
#define FUSE_SUT1 ~_BV(5)
1109
#define FUSE_CKOUT ~_BV(6)
1110
#define FUSE_CKDIV8 ~_BV(7)
1104
#define FUSE_CKSEL0 (unsigned char)~_BV(0)
1105
#define FUSE_CKSEL1 (unsigned char)~_BV(1)
1106
#define FUSE_CKSEL2 (unsigned char)~_BV(2)
1107
#define FUSE_CKSEL3 (unsigned char)~_BV(3)
1108
#define FUSE_SUT0 (unsigned char)~_BV(4)
1109
#define FUSE_SUT1 (unsigned char)~_BV(5)
1110
#define FUSE_CKOUT (unsigned char)~_BV(6)
1111
#define FUSE_CKDIV8 (unsigned char)~_BV(7)
1111
1112
#define LFUSE_DEFAULT (FUSE_CKSEL0 & FUSE_CKSEL2 & FUSE_CKSEL3 & FUSE_SUT0 & FUSE_CKDIV8)
1113
1114
/* High Fuse Byte */
1114
#define FUSE_BOOTRST ~_BV(0)
1115
#define FUSE_BOOTSZ0 ~_BV(1)
1116
#define FUSE_BOOTSZ1 ~_BV(2)
1117
#define FUSE_EESAVE ~_BV(3)
1118
#define FUSE_WDTON ~_BV(4)
1119
#define FUSE_SPIEN ~_BV(5)
1120
#define FUSE_JTAGEN ~_BV(6)
1121
#define FUSE_OCDEN ~_BV(7)
1115
#define FUSE_BOOTRST (unsigned char)~_BV(0)
1116
#define FUSE_BOOTSZ0 (unsigned char)~_BV(1)
1117
#define FUSE_BOOTSZ1 (unsigned char)~_BV(2)
1118
#define FUSE_EESAVE (unsigned char)~_BV(3)
1119
#define FUSE_WDTON (unsigned char)~_BV(4)
1120
#define FUSE_SPIEN (unsigned char)~_BV(5)
1121
#define FUSE_JTAGEN (unsigned char)~_BV(6)
1122
#define FUSE_OCDEN (unsigned char)~_BV(7)
1122
1123
#define HFUSE_DEFAULT (FUSE_BOOTSZ0 & FUSE_BOOTSZ1 & FUSE_SPIEN & FUSE_JTAGEN)
1124
1125
/* Extended Fuse Byte */
1125
#define FUSE_RSTDISBL ~_BV(0)
1126
#define FUSE_BODLEVEL0 ~_BV(1)
1127
#define FUSE_BODLEVEL1 ~_BV(2)
1126
#define FUSE_RSTDISBL (unsigned char)~_BV(0)
1127
#define FUSE_BODLEVEL0 (unsigned char)~_BV(1)
1128
#define FUSE_BODLEVEL1 (unsigned char)~_BV(2)
1128
1129
#define EFUSE_DEFAULT (0xFF)