Subversion Repositories pentevo

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1186 savelij 1
		ifndef	__spminc
2
__spminc	equ	1
3
                save
4
                listing off   ; no listing over this file
5
 
6
;****************************************************************************
7
;*                                                                          *
8
;*   AS 1.42 - File SPM.INC                                                 *
9
;*                                                                          *
10
;*   Contains Bit & Register Definitions for ATmega program memory access   *
11
;*                                                                          *
12
;****************************************************************************
13
 
14
SPMCR		port	0x37		; Store Program Memory Control Register
15
SPMIE		avrbit	SPMCR,7		; Interrupt Enable
16
RWWSB		avrbit	SPMCR,6		; Read-While-Write Section Busy
17
RWWSRE		avrbit	SPMCR,4		; Read-While-Write Section Rd Enable
18
BLBSET		avrbit	SPMCR,3		; Boot Lock Bit Set
19
PGWRT		avrbit	SPMCR,2		; Page Write
20
PGERS		avrbit	SPMCR,1		; Page Erase
21
SPMEN		avrbit	SPMCR,0		; Store Program Memory Enable
22
 
23
		restore			; re-enable listing
24
 
25
		endif			; __spminc