We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17b29fc commit 9560c67Copy full SHA for 9560c67
hardware/esp8266com/esp8266/tools/sdk/include/ets_sys.h
@@ -73,12 +73,14 @@ typedef void (*int_handler_t)(void*);
73
#define ETS_INTR_DISABLE(inum) \
74
ets_isr_mask((1<<inum))
75
76
+inline uint32_t ETS_INTR_ENABLED(void)
77
{
78
uint32_t enabled;
79
__asm__ __volatile__("esync; rsr %0,intenable":"=a" (enabled));
80
return enabled;
81
}
82
83
+inline uint32_t ETS_INTR_PENDING(void)
84
85
uint32_t pending;
86
__asm__ __volatile__("esync; rsr %0,interrupt":"=a" (pending));
0 commit comments