Files
wheel_rfm69_counter/avr_code.backup/interrupts.h
T
2026-08-31 22:43:51 -04:00

36 lines
542 B
C

/*
* File: interrupts.h
* Author: thebears
*
* Created on December 18, 2024, 12:48 PM
*/
#include <avr/io.h>
#include <avr/interrupt.h>
#include <avr/sleep.h>
#include <avr/wdt.h>
#include "states.h"
#ifndef INTERRUPTS_H
#define INTERRUPTS_H
#ifdef __cplusplus
extern "C" {
#endif
void init_pins();
void set_up_reed_interrupt();
// void set_debounce_timer_interrupt();
void set_up_minute_interrupt();
void wdt_isr_disable();
void wdt_isr_enable();
#ifdef __cplusplus
}
#endif
#endif /* INTERRUPTS_H */