Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1186 | savelij | 1 | ifndef __artimerinc ; avoid multiple inclusion |
2 | __artimerinc equ 1 |
||
3 | |||
4 | save |
||
5 | listing off ; no listing over this file |
||
6 | |||
7 | ;**************************************************************************** |
||
8 | ;* * |
||
9 | ;* AS 1.42 - File ARTIMER.INC * |
||
10 | ;* * |
||
11 | ;* contains SFR and Bit Definitions for ST62xx Full AR Timer (all but 6285) * |
||
12 | ;* * |
||
13 | ;**************************************************************************** |
||
14 | |||
15 | include "artimbas.inc" |
||
16 | |||
17 | __defartimer macro Base |
||
18 | __defartimbas Base |
||
19 | PWMOE bit 5,ARMCR ; PWM Output Enable |
||
20 | EIE bit 4,ARMCR ; External Interrupt Enable |
||
21 | EF bit 2,ARSC0 ; External Interrupt Flag |
||
22 | SL bfield ARSC1,2,2 ; Timer Input Edge Control |
||
23 | endm |
||
24 | |||
25 | restore |
||
26 | endif ; __artimerinc |