Blame |
Last modification |
View Log
| RSS feed
#ifndef timer_h
#define timer_h
volatile uint8_t timer;
volatile uint8_t counter, counter2;
volatile uint8_t key;
volatile uint8_t rs232_timer;
void timer_init (void);
#endif
#if defined (__AVR_ATmega32__)
#endif
#if defined (__AVR_ATmega644__)
#define TCCR0 TCCR0A
#define OCR0 OCR0A
#define TIMSK TIMSK0
#define OCIE0 OCIE0A
#define INT_VEC_TX SIG_USART_TRANS
#define SIG_OUTPUT_COMPARE0 SIG_OUTPUT_COMPARE0A
#endif