bsp/rv32m1_vega_hybrid/risc-v/sdk/multicore_2.3.1/rpmsg_lite/lib/rpmsg_lite/porting/platform/rv32m1/rpmsg_platform.c
/**
 * platform_interrupt_enable
 *
 * Enable peripheral-related interrupt with passed priority and type.
 *
 * @param vq_id Vector ID that need to be converted to IRQ number
 * @param trigger_type IRQ active level
 * @param trigger_type IRQ priority
 *
 * @return vq_id. Return value is never checked..
 *
 */
platform_interrupt_enable
Enable peripheral-related interrupt with passed priority and type.

@param vq_id Vector ID that need to be converted to IRQ number
@param trigger_type IRQ active level
@param trigger_type IRQ priority


platform_interrupt_enable Enable peripheral - related interrupt with passed priority and type . @param vq_id Vector ID that need to be converted to IRQ number @param trigger_type IRQ active level @param trigger_type IRQ priority
int platform_interrupt_enable(unsigned int vq_id)
{
    assert(0 < disable_counter);
    __disable_irq();
    disable_counter--;
    if (!disable_counter)
#if defined(FSL_FEATURE_MU_SIDE_A)
        EnableIRQ(MUA_IRQn);
#elif defined(FSL_FEATURE_MU_SIDE_B)
        EnableIRQ(MUB_IRQn);
#endif
    __enable_irq();
    return (vq_id);
}
int platform_interrupt_enable ( unsigned int vq_id ) { assert ( 0 < disable_counter ) ; __disable_irq ( ) ; disable_counter -- ; if ( ! disable_counter ) #if defined ( FSL_FEATURE_MU_SIDE_A ) EnableIRQ ( MUA_IRQn ) ; #elif defined ( FSL_FEATURE_MU_SIDE_B ) EnableIRQ ( MUB_IRQn ) ; #endif __enable_irq ( ) ; return ( vq_id ) ; }
platform_interrupt_enable
 Enable peripheral-related interrupt with passed priority and type.
platform_interrupt_enable Enable peripheral - related interrupt with passed priority and type .