1,15 → 1,22 |
#define TIMER_TEILER CK8 |
//#define TIMER_RELOAD_VALUE 125 |
#ifndef _TIMER0_H |
#define _TIMER0_H |
|
#include <inttypes.h> |
|
extern volatile unsigned int CountMilliseconds; |
extern volatile unsigned char Timer0Overflow; |
extern unsigned int I2C_Timeout; |
extern unsigned int SIO_Timeout; |
extern volatile uint16_t CountMilliseconds; |
extern volatile uint16_t I2C_Timeout; |
|
|
void Timer1_Init(void); |
void Delay_ms(unsigned int); |
unsigned int SetDelay (unsigned int t); |
char CheckDelay (unsigned int t); |
void TIMER0_Init(void); |
uint16_t SetDelay (uint16_t t); |
int8_t CheckDelay(uint16_t t); |
void Delay_ms(uint16_t wait); |
|
|
#endif //_TIMER0_H |
|
|
|
|
|
|