init mod03 ex02

This commit is contained in:
hugo LAMY
2025-03-10 10:30:33 +01:00
parent 3a1dc78544
commit 24e74cf105
7 changed files with 127 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#ifndef INTERRUPT_H
#define INTERRUPT_H
// 7.3.1 : SREG AVR Status Register
#define ENABLE_GLOBAL_INTERRUPT (1<<SREG_I)
#define DISABLE_GLOBAL_INTERRUPT (0<<SREG_I)
#endif // INTERRUPT_H