Project

General

Profile

Statistics
| Revision:

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

History | View | Annotate | Download (375 Bytes)

1
#ifndef TIMER_H_INCLUDED
2
#define TIMER_H_INCLUDED
3

    
4
/**
5
 * @defgroup    timer   timer
6
 * @brief   Timer module.
7
 *
8
 * @{
9
 */
10

    
11
/** @brief Timer 0 IRQ line */
12
#define TIMER0_IRQ     0
13

    
14
int (subscribe_timer_interrupt)(uint8_t interrupt_bit, int *interrupt_id);
15

    
16
void (timer_int_handler)(void);
17

    
18
uint32_t (timer_get_no_interrupts)(void);
19

    
20
/**
21
 * @}
22
 */
23

    
24
#endif //TIMER_H_INCLUDED