Subversion Repositories MK3Mag

Rev

Rev 18 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18 Rev 19
Line -... Line 1...
-
 
1
#ifndef _TIMER0_H
1
#define TIMER_TEILER          CK8
2
#define _TIMER0_H
-
 
3
 
-
 
4
#include <inttypes.h>
-
 
5
 
-
 
6
extern volatile uint16_t CountMilliseconds;
-
 
7
extern volatile uint16_t I2C_Timeout;
-
 
8
 
-
 
9
 
2
//#define TIMER_RELOAD_VALUE    125
10
void TIMER0_Init(void);
-
 
11
uint16_t SetDelay (uint16_t t);
-
 
12
int8_t CheckDelay(uint16_t t);
-
 
13
void Delay_ms(uint16_t wait);
-
 
14
 
-
 
15
 
-
 
16
#endif //_TIMER0_H
-
 
17
 
Line 3... Line -...
3
 
-
 
4
 
-
 
5
extern volatile unsigned int CountMilliseconds;
-
 
6
extern volatile unsigned char Timer0Overflow;
-
 
Line 7... Line -...
7
extern unsigned int I2C_Timeout;
-
 
8
extern unsigned int SIO_Timeout;
-
 
9
 
-
 
10
 
-