Project

General

Profile

Revision 334

added more docs

View differences:

timer.h
1
#ifndef TIMER_H_INCLUDED
2
#define TIMER_H_INCLUDED
3

  
1 4
/**
2
 * This file concerns everything related to the timer
5
 * @defgroup    timer   timer
6
 * @brief   Timer module.
7
 *
8
 * @{
3 9
 */
4 10

  
5
#ifndef TIMER_H_INCLUDED
6
#define TIMER_H_INCLUDED
11
/** @brief Timer 0 IRQ line */
12
#define TIMER0_IRQ     0
7 13

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

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

  
12 16
void (timer_int_handler)(void);
13 17

  
14 18
uint32_t (timer_get_no_interrupts)(void);
15 19

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

  
16 24
#endif //TIMER_H_INCLUDED

Also available in: Unified diff