|
From: | Carl Lang |
Subject: | [avr-libc-dev] [bug #22245] avr/iom8.h defines fuse and lock bits twice |
Date: | Thu, 07 Feb 2008 00:02:01 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 |
URL: <http://savannah.nongnu.org/bugs/?22245> Summary: avr/iom8.h defines fuse and lock bits twice Project: AVR C Runtime Library Submitted by: charlybravo Submitted on: Thursday 02/07/2008 at 00:02 Category: Header Severity: 3 - Normal Priority: 5 - Normal Item Group: Header files Status: None Percent Complete: 0% Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: First definition 572 /* Fuses */ 573 #define FUSE_MEMORY_SIZE 2 574 575 /* Low Fuse Byte */ 576 #define CKSEL0 ~_BV(0) 577 #define CKSEL1 ~_BV(1) 578 #define CKSEL2 ~_BV(2) 579 #define CKSEL3 ~_BV(3) 580 #define SUT0 ~_BV(4) 581 #define SUT1 ~_BV(5) 582 #define BODEN ~_BV(6) 583 #define BODLEVEL ~_BV(7) 584 #define LFUSE_DEFAULT (SUT0 & CKSEL3 & CKSEL2 & CKSEL1) 585 586 587 /* High Fuse Byte */ 588 #define BOOTRST ~_BV(0) 589 #define BOOTSZ0 ~_BV(1) 590 #define BOOTSZ1 ~_BV(2) 591 #define EESAVE ~_BV(3) 592 #define CKOPT ~_BV(4) 593 #define SPIEN ~_BV(5) 594 #define WDTON ~_BV(6) 595 #define RSTDISBL ~_BV(7) 596 #define HFUSE_DEFAULT (SPIEN & BOOTSZ1 & BOOTSZ0) 597 598 599 /* Lock Bits */ 600 #define __LOCK_BITS_EXIST 601 #define __BOOT_LOCK_BITS_0_EXIST 602 #define __BOOT_LOCK_BITS_1_EXIST Immediately followed by second identical definition: 607 /* Fuses */ 608 609 #define FUSE_MEMORY_SIZE 2 610 611 /* Low Fuse Byte */ 612 #define CKSEL0 ~_BV(0) 613 #define CKSEL1 ~_BV(1) 614 #define CKSEL2 ~_BV(2) 615 #define CKSEL3 ~_BV(3) 616 #define SUT0 ~_BV(4) 617 #define SUT1 ~_BV(5) 618 #define BODEN ~_BV(6) 619 #define BODLEVEL ~_BV(7) 620 #define LFUSE_DEFAULT (SUT0 & CKSEL3 & CKSEL2 & CKSEL1) 621 622 /* High Fuse Byte */ 623 #define BOOTRST ~_BV(0) 624 #define BOOTSZ0 ~_BV(1) 625 #define BOOTSZ1 ~_BV(2) 626 #define EESAVE ~_BV(3) 627 #define CKOPT ~_BV(4) 628 #define SPIEN ~_BV(5) 629 #define WDTON ~_BV(6) 630 #define RSTDISBL ~_BV(7) 631 #define HFUSE_DEFAULT (SPIEN & BOOTSZ1 & BOOTSZ0) 632 633 634 /* Lock Bits */ 635 #define __LOCK_BITS_EXIST 636 #define __BOOT_LOCK_BITS_0_EXIST 637 #define __BOOT_LOCK_BITS_1_EXIST 638 639 _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?22245> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |