This commit is contained in:
hugo LAMY
2025-03-10 10:19:42 +01:00
parent 7459a2155c
commit 73bb93d96f
3 changed files with 38 additions and 20 deletions

View File

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