Project

General

Profile

Statistics
| Revision:

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

History | View | Annotate | Download (413 Bytes)

1
/**
2
 * This file concerns everything related to the timer
3
 */
4

    
5
#ifndef TIMER_H_INCLUDED
6
#define TIMER_H_INCLUDED
7

    
8
#define TIMER0_IRQ     0                                                                /**< @brief Timer 0 IRQ line */
9

    
10
int (subscribe_timer_interrupt)(uint8_t interrupt_bit, int *interrupt_id);
11

    
12
void (timer_int_handler)(void);
13

    
14
uint32_t (timer_get_no_interrupts)(void);
15

    
16
#endif //TIMER_H_INCLUDED