* @brief This function will be invoked by BSP, when leave interrupt service routine * * @note Please don't invoke this routine in application * * @see rt_interrupt_enter */
| 115 | * @see rt_interrupt_enter |
| 116 | */ |
| 117 | rt_weak void rt_interrupt_leave(void) |
| 118 | { |
| 119 | LOG_D("irq is going to leave, irq current nest:%d", |
| 120 | (rt_int32_t)rt_atomic_load(&(rt_interrupt_nest))); |
| 121 | RT_OBJECT_HOOK_CALL(rt_interrupt_leave_hook,()); |
| 122 | rt_atomic_sub(&(rt_interrupt_nest), 1); |
| 123 | |
| 124 | } |
| 125 | RTM_EXPORT(rt_interrupt_leave); |
| 126 | |
| 127 |
no outgoing calls
no test coverage detected