summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/hardware/avr/includes/AVRPeripheralTimer.h
blob: 78b04aaea7c6bbe292a1e08ecd88042b54d2af00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//This file defines functions prototypes related to Timer.
//
// Authors
//     Siddhesh Wani
//

#ifndef __AVRPERIPHERALTIMER_H__
#define __AVRPERIPHERALTIMER_H__

#include <avr/io.h>
#include "types.h"

#ifdef  __cplusplus
extern "C" {
#endif

//Function prototypes
uint8 u8AVRTimerSetups(uint8 timer, uint8 prescalar);

uint8 u8AVRGetTimerValue(uint8 timer);


#ifdef  __cplusplus
} /* extern "C" */
#endif

#endif /* !__AVRPERIPHERALTIMER_H__ */