-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTimer0Int.inc
39 lines (22 loc) · 1.2 KB
/
Timer0Int.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef __Timer0Int_INC ;Check if inc file already included
#define __Timer0Int_INC
#ifndef __Timer0IntSource
;****************************************************************************
;Definations of Shared Parameters
;****************************************************************************
; EXTERN vTimer0IntStatus ;Defined in Usart.asm
; EXTERN vTimer0IntTxBuffer, vTimer0IntTxBufDataCnt ;Defined in Usart.asm
; EXTERN vTimer0IntRxBuffer, vTimer0IntRxBufDataCnt ;Defined in Usart.asm
EXTERN timer0Delay ; timer delay (255 - timer0delay = timer countdown)
EXTERN Timer0IntInit, Timer0IntISR ;Defined in USART.asm
#else
;****************************************************************************
;Definations of Shared Parameters
;****************************************************************************
; GLOBAL vTimer0IntStatus ;Defined in UsartDef.h
; GLOBAL vTimer0IntTxBuffer, vTimer0IntTxBufDataCnt ;Defined in UsartDef.h
; GLOBAL vTimer0IntRxBuffer, vTimer0IntRxBufDataCnt ;Defined in UsartDef.h
GLOBAL timer0Delay
GLOBAL Timer0IntInit, Timer0IntISR ;Defined in USART.asm
#endif
#endif