Subversion Repositories pentevo

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1186 savelij 1
		ifndef	__stm8lspiinc	; avoid multiple inclusion
2
__stm8lspiinc	equ	1
3
 
4
		save
5
		listing	off		; no listing over this file
6
 
7
;****************************************************************************
8
;*                                                                          *
9
;*   AS 1.42 - File SPI.INC                                                 *
10
;*                                                                          *
11
;*   contains SFR and Bit Definitions for STM8L SPI                         *
12
;*                                                                          *
13
;****************************************************************************
14
 
15
		include	"stm8/stm8l/spi01.inc"
16
__defspi	macro	NAME,Base
17
		__defspi01 NAME,Base
18
__NS		set	"\{NAME}_"
19
{__NS}CRCPR	label	Base+$05	; CRC polynomial register
20
{__NS}RXCRCR	label	Base+$06	; Rx CRC register
21
{__NS}TXCRCR	label	Base+$07	; Tx CRC register
22
		endm
23
 
24
		restore
25
		endif			; __stm8Lspiinc