feat(ex01): done

This commit is contained in:
Maix0 2026-04-19 18:05:42 +02:00
parent dd41c1f072
commit f49352a412
15 changed files with 921 additions and 0 deletions

15
ex01/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 */