does not work

This commit is contained in:
Maix0 2026-04-18 00:13:52 +02:00
parent 8d79cc7812
commit 508ba6e857
12 changed files with 826 additions and 0 deletions

14
ex02/include/interupt.h Normal file
View file

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