* @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 */
| 98 | * @see rt_interrupt_leave |
| 99 | */ |
| 100 | rt_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 | } |
| 107 | RTM_EXPORT(rt_interrupt_enter); |
| 108 | |
| 109 |
no outgoing calls
no test coverage detected