~ubuntu-branches/ubuntu/raring/avr-libc/raring-proposed

« back to all changes in this revision

Viewing changes to include/avr/iom64.h

  • Committer: Bazaar Package Importer
  • Author(s): Hakan Ardo
  • Date: 2008-04-04 17:05:32 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080404170532-tiwwl2e2qln7ri0w
Tags: 1:1.6.2-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
29
  POSSIBILITY OF SUCH DAMAGE. */
30
30
 
31
 
/* $Id: iom64.h,v 1.13 2005/10/30 22:11:23 joerg_wunsch Exp $ */
 
31
/* $Id: iom64.h,v 1.14.2.2 2008/01/06 20:10:45 arcanum Exp $ */
32
32
 
33
33
/* avr/iom64.h - defines for ATmega64 
34
34
 
1178
1178
#define    E2END    0x07FF
1179
1179
#define    FLASHEND 0xFFFF
1180
1180
 
 
1181
 
 
1182
/* Fuses */
 
1183
 
 
1184
#define FUSE_MEMORY_SIZE 3
 
1185
 
 
1186
/* Low Fuse Byte */
 
1187
#define FUSE_CKSEL0      ~_BV(0)
 
1188
#define FUSE_CKSEL1      ~_BV(1)
 
1189
#define FUSE_CKSEL2      ~_BV(2)
 
1190
#define FUSE_CKSEL3      ~_BV(3)
 
1191
#define FUSE_SUT0        ~_BV(4)
 
1192
#define FUSE_SUT1        ~_BV(5)
 
1193
#define FUSE_BODEN       ~_BV(6)
 
1194
#define FUSE_BODLEVEL    ~_BV(7)
 
1195
#define LFUSE_DEFAULT (FUSE_CKSEL1 & FUSE_CKSEL2 & FUSE_CKSEL3 & FUSE_SUT0)
 
1196
 
 
1197
/* High Fuse Byte */
 
1198
#define FUSE_BOOTRST     ~_BV(0)
 
1199
#define FUSE_BOOTSZ0     ~_BV(1)
 
1200
#define FUSE_BOOTSZ1     ~_BV(2)
 
1201
#define FUSE_EESAVE      ~_BV(3)
 
1202
#define FUSE_CKOPT       ~_BV(4)
 
1203
#define FUSE_SPIEN       ~_BV(5)
 
1204
#define FUSE_JTAGEN      ~_BV(6)
 
1205
#define FUSE_OCDEN       ~_BV(7)
 
1206
#define HFUSE_DEFAULT (FUSE_BOOTSZ0 & FUSE_BOOTSZ1 & FUSE_SPIEN & FUSE_JTAGEN)
 
1207
 
 
1208
/* Extended Fuse Byte */
 
1209
#define FUSE_WDTON       ~_BV(0)
 
1210
#define FUSE_M103C       ~_BV(1)
 
1211
#define EFUSE_DEFAULT (FUSE_M103C)
 
1212
 
 
1213
 
 
1214
/* Lock Bits */
 
1215
#define __LOCK_BITS_EXIST
 
1216
#define __BOOT_LOCK_BITS_0_EXIST
 
1217
#define __BOOT_LOCK_BITS_1_EXIST 
 
1218
 
 
1219
 
1181
1220
#endif /* _AVR_IOM64_H_ */