aboutsummaryrefslogtreecommitdiff
path: root/ATmega48/Source/d_timer.r
blob: 9798be9134dc480a32cb28bda6d0630f9fe40924 (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
28
29
30
31
32
33
34
//
// Programmer      
//
// Date init       14.12.2004
//
// Reviser         $Author:: Dktochpe                                        $
//
// Revision date   $Date:: 2-09-05 14:37                                     $
//
// Filename        $Workfile:: d_timer.r                                     $
//
// Version         $Revision:: 4                                             $
//
// Archive         $Archive:: /LMS2006/Sys01/Ioctrl/Firmware/Source/d_timer. $
//
// Platform        C
//

#ifdef    ATMEGAX8

#define   TIMERInit                     {\
                                          TCCR2A  =  0x00;\
                                          TCCR2B  =  0x06;\
                                          TCNT2   =  0x00;\
                                        }

#define   TIMERRead                     TCNT2


#define   TIMERExit                     {\
                                        }


#endif