xref: /minix3/minix/kernel/arch/earm/bsp/include/bsp_timer.h (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1*433d6423SLionel Sambuc #ifndef _BSP_TIMER_H_
2*433d6423SLionel Sambuc #define _BSP_TIMER_H_
3*433d6423SLionel Sambuc 
4*433d6423SLionel Sambuc #ifndef __ASSEMBLY__
5*433d6423SLionel Sambuc 
6*433d6423SLionel Sambuc void bsp_timer_init(unsigned freq);
7*433d6423SLionel Sambuc void bsp_timer_stop(void);
8*433d6423SLionel Sambuc int  bsp_register_timer_handler(const irq_handler_t handler);
9*433d6423SLionel Sambuc void bsp_timer_int_handler(void);
10*433d6423SLionel Sambuc 
11*433d6423SLionel Sambuc #endif /* __ASSEMBLY__ */
12*433d6423SLionel Sambuc 
13*433d6423SLionel Sambuc #endif /* _BSP_TIMER_H_ */
14