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

Function rt_interrupt_enter

src/irq.c:100–106  ·  view source on GitHub ↗

* @brief This function will be invoked by BSP, when enter interrupt service routine * * @note Please don't invoke this routine in application * * @see rt_interrupt_leave */

Source from the content-addressed store, hash-verified

98 * @see rt_interrupt_leave
99 */
100rt_weak void rt_interrupt_enter(void)
101{
102 rt_atomic_add(&(rt_interrupt_nest), 1);
103 RT_OBJECT_HOOK_CALL(rt_interrupt_enter_hook,());
104 LOG_D("irq has come..., irq current nest:%d",
105 (rt_int32_t)rt_atomic_load(&(rt_interrupt_nest)));
106}
107RTM_EXPORT(rt_interrupt_enter);
108
109

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