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

rtc_i.h

Go to the documentation of this file.
00001 // AUTOMATICALLY GENERATED -- DO NOT EDIT!         -*- c++ -*-
00002 
00003 #ifndef rtc_i_h
00004 #define rtc_i_h
00005 
00006 #include "io.h"
00007 #include "globalconfig.h"
00008 
00009 //
00010 // IMPLEMENTATION of inline functions follows
00011 //
00012 
00013 
00014 
00015 
00016 inline unsigned char
00017 Rtc::reg_read(unsigned char reg)
00018 {
00019   Io::out8_p(reg, 0x70);
00020   return Io::in8_p(0x71);
00021 }
00022 
00023 
00024 
00025 inline void
00026 Rtc::reg_write(unsigned char reg, unsigned char val)
00027 {
00028   Io::out8_p(reg,0x70);
00029   Io::out8_p(val,0x71);
00030 }
00031 
00032 #endif // rtc_i_h

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