2012-10-08 03:38:03 +02:00
|
|
|
#ifndef _OMAP_TIMER_H
|
|
|
|
#define _OMAP_TIMER_H
|
|
|
|
|
2013-01-29 20:58:00 +01:00
|
|
|
#include "omap_timer_registers.h"
|
2012-10-08 03:38:03 +02:00
|
|
|
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
|
|
|
|
void omap3_timer_init(unsigned freq);
|
|
|
|
void omap3_timer_stop(void);
|
2013-01-29 20:58:00 +01:00
|
|
|
void omap3_frclock_init(void);
|
|
|
|
void omap3_frclock_stop(void);
|
2012-10-08 03:38:03 +02:00
|
|
|
int omap3_register_timer_handler(const irq_handler_t handler);
|
|
|
|
void omap3_timer_int_handler(void);
|
|
|
|
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
|
|
|
|
#endif /* _OMAP_TIMER_H */
|