This commit is contained in:
2026-08-31 22:43:51 -04:00
commit c87308caca
521 changed files with 141326 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
/*
* 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 */