20#define GLOBAL_INT_START() vsf_enable_interrupt()
26#define GLOBAL_INT_STOP() vsf_disable_interrupt()
35#define GLOBAL_INT_DISABLE() \
37 vsf_arch_prio_t __vsf_orig_int_state = vsf_disable_interrupt(); \
44#define GLOBAL_INT_RESTORE() \
45 vsf_set_interrupt(__vsf_orig_int_state); \
56 GLOBAL_INT_DISABLE(); \
58 GLOBAL_INT_RESTORE(); \
64 if ((pmask & 0x1) == 0) {
72 if ((pmask & 0x1) == 0) {
__STATIC_FORCEINLINE void global_irq_unlock(uint32_t pmask)
Definition ll.h:70
void critical_section_end(void)
Definition ll.c:26
void critical_section_start(void)
Definition ll.c:18
__STATIC_FORCEINLINE uint32_t global_irq_lock(void)
Definition ll.h:61
unsigned uint32_t
Definition stdint.h:9