Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

pit.h

Go to the documentation of this file.
00001 // AUTOMATICALLY GENERATED -- DO NOT EDIT!         -*- c++ -*-
00002 
00003 #ifndef pit_h
00004 #define pit_h
00005 
00006 #include "initcalls.h"
00007 
00008 //
00009 // INTERFACE definition follows 
00010 //
00011 
00012 
00013 class Pit
00014 {
00015   enum
00016   {
00017     Clock_tick_rate = 1193180,
00018   };
00019 
00020 public:  
00021   static inline void done();
00022   
00023   static FIASCO_INIT void setup_channel2_to_20hz();
00024 };
00025 
00026 //
00027 // IMPLEMENTATION includes follow (for use by inline functions)
00028 //
00029 
00030 
00031 #include "io.h"
00032 
00033 //
00034 // IMPLEMENTATION of inline functions (and needed classes)
00035 //
00036 
00037 
00038 
00039 
00040 inline void
00041 Pit::done()
00042 {
00043   // set counter channel 0 to one-shot mode
00044   Io::out8_p(0x30, 0x43);
00045 }
00046 
00047 #endif // pit_h

Generated on Mon Sep 26 14:20:11 2005 for Fiasco by  doxygen 1.4.2