Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

pic.h File Reference

#include "asm.h"

Include dependency graph for pic.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  PIC
 The PIC is the programmable interrupt controller. More...


Enumerations

enum  PIC_io_base { PIC_IO_BASE_0 = 0x20, PIC_IO_BASE_1 = 0xA0 }
enum  PIC_register { PIC_REGISTER_DATA = 0, PIC_REGISTER_COMMAND = 0, PIC_REGISTER_INITIALIZE = 1, PIC_REGISTER_INTERRUPT_ENABLE = 1 }
enum  PIC_command {
  PIC_COMMAND_READ_INTERRUPT_REQUESTS = 0x0A, PIC_COMMAND_READ_INTERRUPTS_IN_SERVICE = 0x0B, PIC_COMMAND_END_OF_INTERRUPT = 0x20, PIC_COMMAND_ROTATIN_PRIORITY_END_OF_INTERRUPT = 0xA0,
  PIC_COMMAND_CLEAR_SPECIAL_MASK_MODE = 0x48, PIC_COMMAND_SET_SPECIAL_MASK_MODE = 0x68, PIC_COMMAND_END_OF_INTERRUPT_0 = 0x60, PIC_COMMAND_END_OF_INTERRUPT_1 = 0x61,
  PIC_COMMAND_END_OF_INTERRUPT_2 = 0x62, PIC_COMMAND_END_OF_INTERRUPT_3 = 0x63, PIC_COMMAND_END_OF_INTERRUPT_4 = 0x64, PIC_COMMAND_END_OF_INTERRUPT_5 = 0x65,
  PIC_COMMAND_END_OF_INTERRUPT_6 = 0x66, PIC_COMMAND_END_OF_INTERRUPT_7 = 0x67, PIC_COMMAND_SELECT_IRQ_PRIORITY_0 = 0xC0, PIC_COMMAND_SELECT_IRQ_PRIORITY_1 = 0xC1,
  PIC_COMMAND_SELECT_IRQ_PRIORITY_2 = 0xC2, PIC_COMMAND_SELECT_IRQ_PRIORITY_3 = 0xC3, PIC_COMMAND_SELECT_IRQ_PRIORITY_4 = 0xC4, PIC_COMMAND_SELECT_IRQ_PRIORITY_5 = 0xC5,
  PIC_COMMAND_SELECT_IRQ_PRIORITY_6 = 0xC6, PIC_COMMAND_SELECT_IRQ_PRIORITY_7 = 0xC7, PIC_COMMAND_INITIALIZATION_MODE = 0x11
}


Enumeration Type Documentation

enum PIC_command
 

Enumeration values:
PIC_COMMAND_READ_INTERRUPT_REQUESTS 
PIC_COMMAND_READ_INTERRUPTS_IN_SERVICE 
PIC_COMMAND_END_OF_INTERRUPT 
PIC_COMMAND_ROTATIN_PRIORITY_END_OF_INTERRUPT 
PIC_COMMAND_CLEAR_SPECIAL_MASK_MODE 
PIC_COMMAND_SET_SPECIAL_MASK_MODE 
PIC_COMMAND_END_OF_INTERRUPT_0 
PIC_COMMAND_END_OF_INTERRUPT_1 
PIC_COMMAND_END_OF_INTERRUPT_2 
PIC_COMMAND_END_OF_INTERRUPT_3 
PIC_COMMAND_END_OF_INTERRUPT_4 
PIC_COMMAND_END_OF_INTERRUPT_5 
PIC_COMMAND_END_OF_INTERRUPT_6 
PIC_COMMAND_END_OF_INTERRUPT_7 
PIC_COMMAND_SELECT_IRQ_PRIORITY_0 
PIC_COMMAND_SELECT_IRQ_PRIORITY_1 
PIC_COMMAND_SELECT_IRQ_PRIORITY_2 
PIC_COMMAND_SELECT_IRQ_PRIORITY_3 
PIC_COMMAND_SELECT_IRQ_PRIORITY_4 
PIC_COMMAND_SELECT_IRQ_PRIORITY_5 
PIC_COMMAND_SELECT_IRQ_PRIORITY_6 
PIC_COMMAND_SELECT_IRQ_PRIORITY_7 
PIC_COMMAND_INITIALIZATION_MODE 

enum PIC_io_base
 

Enumeration values:
PIC_IO_BASE_0 
PIC_IO_BASE_1 

enum PIC_register
 

Enumeration values:
PIC_REGISTER_DATA 
PIC_REGISTER_COMMAND 
PIC_REGISTER_INITIALIZE 
PIC_REGISTER_INTERRUPT_ENABLE 


Torsion Operating System, Copyright (C) 2000-2002 Dan Helfman