X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=carlfw%2Finclude%2Ftimer.h;h=139bc390c99c1ee9d77be06e104ea5da3e4f04ec;hb=1f52b1617d72cfa6909ebbfbdf7c264d487b28d8;hp=1c1c6cd4fa6f0f30c9f539c0a110c8f78baed5ee;hpb=e8d747355467293087e6818a19073627b0528fce;p=carl9170fw.git diff --git a/carlfw/include/timer.h b/carlfw/include/timer.h index 1c1c6cd..139bc39 100644 --- a/carlfw/include/timer.h +++ b/carlfw/include/timer.h @@ -84,5 +84,8 @@ static inline __inline void udelay(const uint32_t usec) } } -void clock_set(enum cpu_clock_t _clock, bool on); +void clock_set(const enum cpu_clock_t _clock, const bool on, const unsigned int div); +void handle_timer(void); +void timer_init(const unsigned int timer, const unsigned int interval); + #endif /* __CARL9170FW_TIMER_H */