Project

General

Profile

Statistics
| Revision:

root / proj / libs / timer / include / timer.h @ 337

History | View | Annotate | Download (375 Bytes)

1 334 up20180642
#ifndef TIMER_H_INCLUDED
2
#define TIMER_H_INCLUDED
3
4 146 up20180655
/**
5 334 up20180642
 * @defgroup    timer   timer
6
 * @brief   Timer module.
7
 *
8
 * @{
9 146 up20180655
 */
10
11 334 up20180642
/** @brief Timer 0 IRQ line */
12
#define TIMER0_IRQ     0
13 146 up20180655
14
int (subscribe_timer_interrupt)(uint8_t interrupt_bit, int *interrupt_id);
15
16 323 up20180642
void (timer_int_handler)(void);
17
18 321 up20180642
uint32_t (timer_get_no_interrupts)(void);
19 146 up20180655
20 334 up20180642
/**
21
 * @}
22
 */
23
24 146 up20180655
#endif //TIMER_H_INCLUDED