wonx/timer.c
Hiroaki Sakai 3c624a304e Initial version
Version 0.0.1 alpha - from wonx-a01.tar.gz
2000-09-26 12:00:00 +09:00

34 lines
621 B
C

#include <stdlib.h>
#include <sys/timer.h>
#include "wonx.h"
#include "WonxDisplay.h"
void rtc_set_datetime(int field, unsigned int value)
{
}
unsigned int rtc_get_datetime(int field)
{
unsigned int t;
t = (unsigned int)time(NULL); /* ここはてきとうなので,あとで修正すること */
return (t);
}
void rtc_set_datetime_struct(void * buf)
{}
void rtc_get_datetime_struct(void * buf)
{}
void rtc_enable_alarm(int hour, int min)
{}
void rtc_disable_alarm(void)
{}
void timer_enable(int type, unsigned int auto_preset, unsigned int preset)
{}
void timer_disable(int type)
{}
unsigned int timer_get_count(int type)
{}