ATMEL: Outdated bit definitions for SPMCR in m32def.inc

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The bit definitions for SPMCR in the m32def.inc file distributed with Studio 4 are incorrect.

Quote:
;SPMCR
.equ SPMIE =7
.equ ASB =6 <-- Renamed to RWWSB
.equ ASRE =4 <-- Renamed to RWWSRE
.equ BLBSET =3
.equ PGWRT =2
.equ PGERS =1
.equ SPMEN =0

Every other ATmega definition file (besides m163def.inc and m323def.inc) has RWWSB and RWWSRE defined. The m163 and m323 are understandable, as the datasheets were never updated to reference RWWSRB and RWWSRE.

/* John Butera */