URL
https://opencores.org/ocsvn/s6soc/s6soc/trunk
[/] [s6soc/] [trunk/] [sw/] [dev/] [rtcsim.h] - Diff between revs 15 and 21
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 15 |
Rev 21 |
Line 40... |
Line 40... |
#ifndef RTCSIM_H
|
#ifndef RTCSIM_H
|
#define RTCSIM_H
|
#define RTCSIM_H
|
|
|
extern unsigned rtcclock, rtcalarm, rtcdate;
|
extern unsigned rtcclock, rtcalarm, rtcdate;
|
#ifdef ZIPOS
|
#ifdef ZIPOS
|
SEMAPHORE SEMDATE, SEMCLOCK;
|
// SEMAPHORE SEMDATE, SEMCLOCK;
|
|
#define SEMGET(A)
|
|
#define SEMPUT(A)
|
|
#define semget(A)
|
|
#define semput(A)
|
#endif
|
#endif
|
|
|
extern unsigned rtcnext(unsigned now);
|
extern unsigned rtcnext(unsigned now);
|
extern unsigned rtcdatenext(unsigned today);
|
extern unsigned rtcdatenext(unsigned today);
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.