BOOTLOADER
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
bootloader
inc
interrupt.h
Go to the documentation of this file.
1
#ifndef INTERRUPT_H
2
#define INTERRUPT_H
3
4
typedef
struct
{
5
volatile
INT32U
SRCPND
;
6
volatile
INT32U
INTMOD
;
7
volatile
INT32U
INTMSK
;
8
volatile
INT32U
PRIORITY
;
9
volatile
INT32U
INTPND
;
10
volatile
INT32U
INTOFFSET
;
11
volatile
INT32U
SUBSRCPND
;
12
volatile
INT32U
INTSUBMSK
;
13
}
INTERRUPT_REGISTER
;
14
15
typedef
struct
{
16
INT8U
State
;
17
INT8U
Status
;
18
INT8U
InUse
;
19
INT16U
Id
;
20
INT16U
UserId
;
21
INTERRUPT_REGISTER
*
pIntRegister
;
22
}
INTERRUPT_CONTROL
;
23
24
extern
INTERRUPT_CONTROL
InterruptCtrl
;
25
26
extern
void
F_InterruptInit
(
void
);
27
extern
void
F_InterruptSvc
(
void
);
28
extern
void
F_InterruptIrqEnable
(
INT32U
Bit);
29
extern
void
F_InterruptIrqDisable
(
INT32U
Bit);
30
extern
void
F_InterruptSubIrqEnable
(
INT32U
Bit);
31
extern
void
F_InterruptSubIrqDisable
(
INT32U
Bit);
32
33
#endif
34
Generated on Wed Jun 13 2012 00:03:09 for BOOTLOADER by
1.8.1.1