1
/* Copyright (c) 2004,2005,2006 Eric B. Weddington
1
/* Copyright (c) 2004, 2005, 2006, 2007 Eric B. Weddington
4
4
Redistribution and use in source and binary forms, with or without
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: iom3250.h,v 1.9.2.1 2006/03/14 21:01:47 aesok Exp $ */
31
/* $Id: iom3250.h,v 1.12.2.2 2008/01/06 20:10:44 arcanum Exp $ */
33
/* avr/iom3250.h - definitions for ATmega3250 */
33
/* avr/iom3250.h - definitions for ATmega3250 and ATmega3250P. */
35
35
#ifndef _AVR_IOM3250_H_
36
36
#define _AVR_IOM3250_H_ 1
854
858
#define E2END 0x3FF
855
859
#define FLASHEND 0x7FFF
864
#define FUSE_MEMORY_SIZE 3
867
#define FUSE_CKSEL0 ~_BV(0)
868
#define FUSE_CKSEL1 ~_BV(1)
869
#define FUSE_CKSEL2 ~_BV(2)
870
#define FUSE_CKSEL3 ~_BV(3)
871
#define FUSE_SUT0 ~_BV(4)
872
#define FUSE_SUT1 ~_BV(5)
873
#define FUSE_CKOUT ~_BV(6)
874
#define FUSE_CKDIV8 ~_BV(7)
875
#define LFUSE_DEFAULT (FUSE_CKSEL0 & FUSE_CKSEL2 & FUSE_CKSEL3 & FUSE_SUT0 & FUSE_CKDIV8)
878
#define FUSE_BOOTRST ~_BV(0)
879
#define FUSE_BOOTSZ0 ~_BV(1)
880
#define FUSE_BOOTSZ1 ~_BV(2)
881
#define FUSE_EESAVE ~_BV(3)
882
#define FUSE_WDTON ~_BV(4)
883
#define FUSE_SPIEN ~_BV(5)
884
#define FUSE_JTAGEN ~_BV(6)
885
#define FUSE_OCDEN ~_BV(7)
886
#define HFUSE_DEFAULT (FUSE_BOOTSZ0 & FUSE_BOOTSZ1 & FUSE_SPIEN & FUSE_JTAGEN)
888
/* Extended Fuse Byte */
889
#define FUSE_RSTDISBL ~_BV(0)
890
#define FUSE_BODLEVEL0 ~_BV(1)
891
#define FUSE_BODLEVEL1 ~_BV(2)
892
#define EFUSE_DEFAULT (0xFF)
896
#define __LOCK_BITS_EXIST
897
#define __BOOT_LOCK_BITS_0_EXIST
898
#define __BOOT_LOCK_BITS_1_EXIST
857
901
#endif /* _AVR_IOM3250_H_ */