Platform/ECM3532/DSP/hw/csp/ecm3532/nxp/src/int_controller.c
/*
Enable or disable CoolFlux nested interrupt mode.
    - Address where the Interrupt Controller is mapped: p_intctrl.
    - Nested or unnested interrupt mode: nested_mode.
*/
Enable or disable CoolFlux nested interrupt mode.
Address where the Interrupt Controller is mapped: p_intctrl.
Nested or unnested interrupt mode: nested_mode.
Enable or disable CoolFlux nested interrupt mode . Address where the Interrupt Controller is mapped : p_intctrl . Nested or unnested interrupt mode : nested_mode .
intctrl_err_T intctrl_setNestedMode(p_hw_intctrl_reg_T p_intctrl, nested_mode_T nested_mode)
{ 
    if (p_intctrl->enable)
    {
        return INTCTRL_ENABLED_INT_ERR;
    }
    p_intctrl->interrupt_mode = nested_mode;
    return INTCTRL_SUCCESS;
}
intctrl_err_T intctrl_setNestedMode ( p_hw_intctrl_reg_T p_intctrl , nested_mode_T nested_mode ) { if ( p_intctrl -> enable ) { return INTCTRL_ENABLED_INT_ERR ; } p_intctrl -> interrupt_mode = nested_mode ; return INTCTRL_SUCCESS ; }
Enable or disable CoolFlux nested interrupt mode.
Enable or disable CoolFlux nested interrupt mode .