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