cynix

x86 UNIX-like OS
git clone git://git.2f30.org/cynix
Log | Files | Refs | README | LICENSE

rtc.h (212B)


      1 #ifndef __RTC_H__
      2 #define __RTC_H__
      3 
      4 #include <stdint.h>
      5 
      6 extern volatile uint32_t systimer;
      7 
      8 extern void init_rtc(uint32_t freq);
      9 extern void sleep(uint32_t seconds);
     10 extern void msleep(uint32_t msec);
     11 
     12 #endif
     13