sketchbook
|
#include <avr/io.h>
#include <avr/wdt.h>
#include <avr/interrupt.h>
#include <string.h>
#include "onewire.h"
#include "features.h"
#include "debug.h"
Macros | |
#define | TIMSK TIMSK0 |
#define | TIFR TIFR0 |
#define | EICRA MCUCR |
#define | EN_TIMER() do {TIFR|=(1<<TOV0); TIMSK|=(1<<TOIE0);}while(0) |
#define | DIS_TIMER() do {TIMSK &= ~(1<<TOIE0);} while(0) |
Functions | |
void | init_state (void) |
void | mainloop (void) |
#define EICRA MCUCR |
#define TIFR TIFR0 |
#define TIMSK TIMSK0 |
void init_state | ( | void | ) |
void mainloop | ( | void | ) |