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

Function rt_interrupt_leave

src/irq.c:117–124  ·  view source on GitHub ↗

* @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 */

Source from the content-addressed store, hash-verified

115 * @see rt_interrupt_enter
116 */
117rt_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}
125RTM_EXPORT(rt_interrupt_leave);
126
127

Callers 15

spi_wifi_isrFunction · 0.50
_pm_change_sleep_modeFunction · 0.50
t113_ehci_isrFunction · 0.50
t113_ohci_isrFunction · 0.50
rt_pic_do_trapsFunction · 0.50
uart_rx_isrFunction · 0.50
timer_irq_handlerFunction · 0.50
SysTick_HandlerFunction · 0.50
GPIO0_IRQHandlerFunction · 0.50
GPIO1_IRQHandlerFunction · 0.50
GPIO2_IRQHandlerFunction · 0.50
GPIO3_IRQHandlerFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected