Blame | Last modification | View Log | Download | RSS feed
ifndef __spmcsr37inc__spm37csrinc equ 1savelisting off ; no listing over this file;****************************************************************************;* *;* AS 1.42 - File SPMCSR.INC *;* *;*Contains Bit & Register Definitions for Newer ATmega Program Memory Access*;* *;****************************************************************************SPMCSR port 0x37 ; Store Program Memory Control/Status RegisterSPMIE avrbit SPMCSR,7 ; Interrupt EnableRWWSB avrbit SPMCSR,6 ; Read-While-Write Section BusyRWWSRE avrbit SPMCSR,4 ; Read-While-Write Section Read EnableBLBSET avrbit SPMCSR,3 ; Boot Lock Bit SetPGWRT avrbit SPMCSR,2 ; Page WritePGERS avrbit SPMCSR,1 ; Page EraseSPMEN avrbit SPMCSR,0 ; Store Program Memory Enablerestore ; re-enable listingendif ; __spmcsr37inc