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: iom165.h,v 1.8.2.1 2006/03/14 21:01:47 aesok Exp $ */
31
/* $Id: iom165.h,v 1.10.2.2 2008/01/06 20:10:43 arcanum Exp $ */
33
33
/* avr/iom165.h - definitions for ATmega165 */
767
767
#define E2END 0x1FF
768
768
#define FLASHEND 0x3FFF
773
#define FUSE_MEMORY_SIZE 3
776
#define FUSE_CKSEL0 ~_BV(0)
777
#define FUSE_CKSEL1 ~_BV(1)
778
#define FUSE_CKSEL2 ~_BV(2)
779
#define FUSE_CKSEL3 ~_BV(3)
780
#define FUSE_SUT0 ~_BV(4)
781
#define FUSE_SUT1 ~_BV(5)
782
#define FUSE_CKOUT ~_BV(6)
783
#define FUSE_CKDIV8 ~_BV(7)
784
#define LFUSE_DEFAULT (FUSE_CKSEL0 & FUSE_CKSEL2 & FUSE_CKSEL3 & FUSE_SUT0 & FUSE_CKDIV8)
787
#define FUSE_BOOTRST ~_BV(0)
788
#define FUSE_BOOTSZ0 ~_BV(1)
789
#define FUSE_BOOTSZ1 ~_BV(2)
790
#define FUSE_EESAVE ~_BV(3)
791
#define FUSE_WDTON ~_BV(4)
792
#define FUSE_SPIEN ~_BV(5)
793
#define FUSE_JTAGEN ~_BV(6)
794
#define FUSE_OCDEN ~_BV(7)
795
#define HFUSE_DEFAULT (FUSE_BOOTSZ0 & FUSE_BOOTSZ1 & FUSE_SPIEN & FUSE_JTAGEN)
797
/* Extended Fuse Byte */
798
#define FUSE_BODLEVEL0 ~_BV(1)
799
#define FUSE_BODLEVEL1 ~_BV(2)
800
#define FUSE_BODLEVEL2 ~_BV(3)
801
#define EFUSE_DEFAULT (0xFF)
805
#define __LOCK_BITS_EXIST
806
#define __BOOT_LOCK_BITS_0_EXIST
807
#define __BOOT_LOCK_BITS_1_EXIST
770
810
#endif /* _AVR_IOM165_H_ */