28
28
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
29
POSSIBILITY OF SUCH DAMAGE. */
31
/* $Id: iotn26.h,v 1.15.2.2 2008/01/06 20:10:47 arcanum Exp $ */
31
/* $Id: iotn26.h,v 1.15.2.7 2009/02/11 18:05:32 arcanum Exp $ */
33
33
/* avr/iotn26.h - definitions for ATtiny26 */
352
353
#define FUSE_MEMORY_SIZE 2
354
355
/* Low Fuse Byte */
355
#define FUSE_CKSEL0 ~_BV(0)
356
#define FUSE_CKSEL1 ~_BV(1)
357
#define FUSE_CKSEL2 ~_BV(2)
358
#define FUSE_CKSEL3 ~_BV(3)
359
#define FUSE_SUT0 ~_BV(4)
360
#define FUSE_SUT1 ~_BV(5)
361
#define FUSE_CKOPT ~_BV(6)
362
#define FUSE_PLLCK ~_BV(7)
363
#define LFUSE_DEFAULT (FUSE_CKSEL1 & FUSE_CKSEL2)
356
#define FUSE_CKSEL0 (unsigned char)~_BV(0)
357
#define FUSE_CKSEL1 (unsigned char)~_BV(1)
358
#define FUSE_CKSEL2 (unsigned char)~_BV(2)
359
#define FUSE_CKSEL3 (unsigned char)~_BV(3)
360
#define FUSE_SUT0 (unsigned char)~_BV(4)
361
#define FUSE_SUT1 (unsigned char)~_BV(5)
362
#define FUSE_CKOPT (unsigned char)~_BV(6)
363
#define FUSE_PLLCK (unsigned char)~_BV(7)
364
#define LFUSE_DEFAULT (FUSE_CKSEL1 & FUSE_CKSEL2 & FUSE_CKSEL3 & FUSE_SUT0)
365
366
/* High Fuse Byte */
366
#define FUSE_BODEN ~_BV(0)
367
#define FUSE_BODLEVEL ~_BV(1)
368
#define FUSE_EESAVE ~_BV(2)
369
#define FUSE_SPIEN ~_BV(3)
370
#define FUSE_RSTDISBL ~_BV(4)
367
#define FUSE_BODEN (unsigned char)~_BV(0)
368
#define FUSE_BODLEVEL (unsigned char)~_BV(1)
369
#define FUSE_EESAVE (unsigned char)~_BV(2)
370
#define FUSE_SPIEN (unsigned char)~_BV(3)
371
#define FUSE_RSTDISBL (unsigned char)~_BV(4)
371
372
#define HFUSE_DEFAULT (FUSE_SPIEN)