brazos-trapezoidal
uc.h
1
8#ifndef UC_H_
9 #define UC_H_
10
11#ifndef SIMU
12 #include "nebo40_64.h"
13 #include "cmsis_gcc.h"
14#endif
15// Macro that enables interrupts by using the CLI assembly instruction
16#define ENABLE_INTERRUPTS() __enable_irq()
17
18// Macro that disables interrupts by using the SEI assembly instruction
19#define DISABLE_INTERRUPTS() __disable_irq()
20
21#endif // UC_H_
22
23