URL
https://opencores.org/ocsvn/amber/amber/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 61 |
Rev 80 |
Line 40... |
Line 40... |
|
|
|
|
typedef struct {
|
typedef struct {
|
volatile unsigned int seconds;
|
volatile unsigned int seconds;
|
volatile unsigned int milliseconds;
|
volatile unsigned int milliseconds;
|
|
void * expired;
|
} time_t;
|
} time_t;
|
|
|
|
|
void init_current_time ();
|
time_t* new_timer ();
|
time_t* init_timer ();
|
void init_timer ();
|
void timer_interrupt ();
|
void timer_interrupt ();
|
void set_timer (time_t*, int);
|
void set_timer (time_t*, int);
|
int timer_expired (time_t*);
|
int timer_expired (time_t*);
|
|
|
/* Global variables */
|
/* Global variables */
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.