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: iousb1287.h,v 1.1.2.1 2006/03/30 21:51:38 aesok Exp $ */
31
/* $Id: iousb1287.h,v 1.2.2.2 2008/01/06 20:10:48 arcanum Exp $ */
33
33
/* avr/iousb1287.h - definitions for AT90USB1287 */
44
44
#define E2END 0xFFF
45
45
#define FLASHEND 0x1FFFF
50
#define FUSE_MEMORY_SIZE 3
53
#define FUSE_CKSEL0 ~_BV(0)
54
#define FUSE_CKSEL1 ~_BV(1)
55
#define FUSE_CKSEL2 ~_BV(2)
56
#define FUSE_CKSEL3 ~_BV(3)
57
#define FUSE_SUT0 ~_BV(4)
58
#define FUSE_SUT1 ~_BV(5)
59
#define FUSE_CKOUT ~_BV(6)
60
#define FUSE_CKDIV8 ~_BV(7)
61
#define LFUSE_DEFAULT (FUSE_CKSEL0 & FUSE_CKSEL2 & FUSE_CKSEL3 & FUSE_SUT0 & FUSE_CKDIV8)
64
#define FUSE_BOOTRST ~_BV(0)
65
#define FUSE_BOOTSZ0 ~_BV(1)
66
#define FUSE_BOOTSZ1 ~_BV(2)
67
#define FUSE_EESAVE ~_BV(3)
68
#define FUSE_WDTON ~_BV(4)
69
#define FUSE_SPIEN ~_BV(5)
70
#define FUSE_JTAGEN ~_BV(6)
71
#define FUSE_OCDEN ~_BV(7)
72
#define HFUSE_DEFAULT (FUSE_BOOTSZ0 & FUSE_BOOTSZ1 & FUSE_SPIEN & FUSE_JTAGEN)
74
/* Extended Fuse Byte */
75
#define FUSE_BODLEVEL0 ~_BV(0)
76
#define FUSE_BODLEVEL1 ~_BV(1)
77
#define FUSE_BODLEVEL2 ~_BV(2)
78
#define FUSE_HWBE ~_BV(3)
79
#define EFUSE_DEFAULT (FUSE_BODLEVEL2 & FUSE_HWBE)
83
#define __LOCK_BITS_EXIST
84
#define __BOOT_LOCK_BITS_0_EXIST
85
#define __BOOT_LOCK_BITS_1_EXIST
47
88
#endif /* _AVR_AT90USB1287_H_ */