drivers/interrupt/interrupt.c File Reference

Go to the source code of this file.

Functions

void F_InterruptInitial (void)
void F_InterruptIrqEnable (INT32U Bit)
void F_InterruptIrqDisable (INT32U Bit)
void F_InterruptSubIrqEnable (INT32U Bit)
void F_InterruptSubIrqDisable (INT32U Bit)

Variables

INTERRUPT_CONTROL InterruptCtrl


Function Documentation

void F_InterruptInitial ( void   ) 

Definition at line 19 of file interrupt.c.

00019                              {
00020     rSRCPND=0x00000000;
00021     rINTMOD=0x00000000;
00022     rINTMSK=0xffffffff;
00023     rPRIORITY=0x7f;
00024     rPRIORITY=0x00;
00025     rINTPND=0x00000000;
00026     rINTOFFSET=0x00000000;
00027     rSUBSRCPND=0x00000000;
00028     rINTSUBMSK=0x00007fff;
00029 }

void F_InterruptIrqDisable ( INT32U  Bit  ) 

Definition at line 33 of file interrupt.c.

00033                                       {
00034     rINTMSK|=Bit;
00035 }

void F_InterruptIrqEnable ( INT32U  Bit  ) 

Definition at line 30 of file interrupt.c.

00030                                      {
00031     rINTMSK&=~(Bit);
00032 }

void F_InterruptSubIrqDisable ( INT32U  Bit  ) 

Definition at line 39 of file interrupt.c.

00039                                          {      
00040     rINTSUBMSK|=Bit;
00041 }

void F_InterruptSubIrqEnable ( INT32U  Bit  ) 

Definition at line 36 of file interrupt.c.

00036                                         {      
00037     rINTSUBMSK&=~(Bit);
00038 }


Variable Documentation

INTERRUPT_CONTROL InterruptCtrl

Definition at line 11 of file interrupt.c.


Generated on Tue Sep 2 08:45:41 2008 for A Simple operation System using S3C2410 by  doxygen 1.5.6