Subversion Repositories pentevo

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1186 savelij 1
		ifndef	__st7gpioinc	; avoid multiple inclusion
2
__st7gpioinc	equ	1
3
 
4
		save
5
		listing	off		; no listing over this file
6
 
7
;****************************************************************************
8
;*                                                                          *
9
;*   AS 1.42 - File GPIO.INC                                                *
10
;*                                                                          *
11
;*   contains SFR and Bit Definitions for ST72xxx GPIO                      *
12
;*                                                                          *
13
;****************************************************************************
14
 
15
__defgpio	macro	NAME,Base
16
__NS		set	"\{NAME}"
17
{__NS}DR	label	Base+$00	; Data Register
18
{__NS}DDR	label	Base+$02	; Data Direction Register
19
{__NS}OR	label	Base+$03	; Option Register
20
		endm
21
 
22
		restore
23
		endif			; __st7gpioinc