Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

pic.h: Interrupt Controller functions
[platform dependant portions (intel i386+)]


Defines

#define M_PIC   0x20
#define M_IMR   0x21
#define S_PIC   0xA0
#define S_IMR   0xA1
#define EOI   0x20
#define ICW1   0x11
#define ICW4   0x01
#define M_VEC   32
#define S_VEC   40
#define OCW3_IRR   0x0A
#define OCW3_ISR   0x0B

Functions

void picInit (void)
void picEnableIRQ (unsigned short irqNum)
void picDisableIRQ (unsigned short irqNum)

Detailed Description

 *  *  * Contains code for interfacing with the programmable interrupt controller

Define Documentation

#define EOI   0x20
 

Definition at line 31 of file pic.h.

#define ICW1   0x11
 

Definition at line 33 of file pic.h.

#define ICW4   0x01
 

Definition at line 36 of file pic.h.

#define M_IMR   0x21
 

Definition at line 27 of file pic.h.

#define M_PIC   0x20
 

Definition at line 26 of file pic.h.

#define M_VEC   32
 

Definition at line 38 of file pic.h.

#define OCW3_IRR   0x0A
 

Definition at line 41 of file pic.h.

#define OCW3_ISR   0x0B
 

Definition at line 42 of file pic.h.

#define S_IMR   0xA1
 

Definition at line 29 of file pic.h.

#define S_PIC   0xA0
 

Definition at line 28 of file pic.h.

#define S_VEC   40
 

Definition at line 39 of file pic.h.


Function Documentation

void picDisableIRQ unsigned short  irqNum  ) 
 

void picEnableIRQ unsigned short  irqNum  ) 
 

void picInit void   ) 
 


Generated on Wed Mar 22 20:36:34 2006 for ndk by  doxygen 1.4.4