/* This function will be invoked by BSP, when enter interrupt service routine.  */
rt_weak void rt_interrupt_enter(void)
/* This function will be invoked by BSP, when enter interrupt service routine.  */
rt_weak void rt_interrupt_enter(void)
{
    rt_atomic_add(&(rt_interrupt_nest), 1);
    RT_OBJECT_HOOK_CALL(rt_interrupt_enter_hook,());
    LOG_D("irq has come..., irq current nest:%d",
          (rt_int32_t)rt_atomic_load(&(rt_interrupt_nest)));
}