feat(ex00)

This commit is contained in:
Maix0 2026-04-21 16:40:57 +02:00
parent b6b8e3bceb
commit f021ef0fa6
19 changed files with 1404 additions and 0 deletions

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