-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinterrupts.h
More file actions
executable file
·50 lines (46 loc) · 1.94 KB
/
interrupts.h
File metadata and controls
executable file
·50 lines (46 loc) · 1.94 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
/*******************************************************************************
*
* TITLE: interrupts.h
*
* VERSION: 0.2 (Beta)
*
* DATE: 25-Feb-2004
*
* AUTHOR: R. Kevin Watson
* kevinw@jpl.nasa.gov
*
* COMMENTS:
*
********************************************************************************
*
* CHANGE LOG:
*
* DATE REV DESCRIPTION
* ----------- --- ----------------------------------------------------------
* 22-Dec-2003 0.1 RKW Original
* 25-Feb-2004 0.2 RKW - Added the ability to clear the interrupt flag before
* enabling the interrupt.
*
*******************************************************************************/
#ifndef _interrupts_h
#define _interrupts_h
// function prototypes
void Initialize_Interrupts(void); // initializes the interrupt hardware
void Initialize_Timer_0(void); // initializes the timer 0 hardware
void Initialize_Timer_1(void); // initializes the timer 1 hardware
void Initialize_Timer_2(void); // initializes the timer 2 hardware
void Initialize_Timer_3(void); // initializes the timer 3 hardware
void Initialize_Timer_4(void); // initializes the timer 4 hardware
void Timer_0_Int_Handler(void); // timer 0 interrupt handler
void Timer_1_Int_Handler(void); // timer 1 interrupt handler
void Timer_2_Int_Handler(void); // timer 2 interrupt handler
void Timer_3_Int_Handler(void); // timer 3 interrupt handler
void Timer_4_Int_Handler(void); // timer 4 interrupt handler
void Int_1_Handler(void); // external interrupt 1 handler
void Int_2_Handler(void); // external interrupt 2 handler
void Int_3_Handler(unsigned char); // external interrupt 3 handler
void Int_4_Handler(unsigned char); // external interrupt 4 handler
void Int_5_Handler(unsigned char); // external interrupt 5 handler
void Int_6_Handler(unsigned char); // external interrupt 6 handler
extern unsigned char Old_Port_B;
#endif // _interrupts_h