litex/software/include/base/timer.h
Sebastien Bourdeauducq 22f7d1716e Remove some boilerplate
2012-05-24 19:22:27 +02:00

11 lines
279 B
C

#ifndef __TIMER_H
#define __TIMER_H
unsigned int get_system_frequency(void);
void timer_enable(int en);
unsigned int timer_get(void);
void timer_set_counter(unsigned int value);
void timer_set_reload(unsigned int value);
void busy_wait(unsigned int ms);
#endif /* __TIMER_H */