********************************************************************************************************* * 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 ***************************************************************************
| 208 | ********************************************************************************************************* |
| 209 | */ |
| 210 | rt_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 | /* |
no outgoing calls
no test coverage detected