fixed all exercices

This commit is contained in:
Maix0 2026-04-24 18:28:21 +02:00
parent 5763bbb065
commit 2f91952d78
49 changed files with 3151 additions and 24 deletions

15
ex03/include/interupt.h Normal file
View file

@ -0,0 +1,15 @@
#ifndef INTERUPT_H
#define INTERUPT_H
#include <avr/io.h>
#include "mystd.h"
static inline void my_sei(void) {
SREG |= BV(SREG_I);
}
static inline void my_cli(void) {
SREG &= ~BV(SREG_I);
}
#endif /* INTERUPT_H */