ex01 mod04 not stable
This commit is contained in:
8
module04/ex00 copy/interrupt.h
Normal file
8
module04/ex00 copy/interrupt.h
Normal 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
|
||||
Reference in New Issue
Block a user