MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_hw_interrupt_disable

Function rt_hw_interrupt_disable

libcpu/sim/win32/cpu_port.c:210–218  ·  view source on GitHub ↗

********************************************************************************************************* * rt_hw_interrupt_disable() * Description : disable cpu interrupts * Argument(s) : void * Return(s) : rt_base_t * Caller(s) : Applicatios or os_kernel * Note(s) : none ***************************************************************************

Source from the content-addressed store, hash-verified

208*********************************************************************************************************
209*/
210rt_base_t rt_hw_interrupt_disable(void)
211{
212 if(hInterruptEventMutex != NULL)
213 {
214 WaitForSingleObject(hInterruptEventMutex,INFINITE);
215 }
216
217 return 0;
218} /*** rt_hw_interrupt_disable ***/
219
220
221/*

Callers 2

wmainFunction · 0.70
rtthread_startupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected