Platform/ECM3532/DSP/hw/csp/ecm3532/nxp/src/int_controller.c
/* Get a copy of the Interrupt Controller configuration registers */
Get a copy of the Interrupt Controller configuration registers
Get a copy of the Interrupt Controller configuration registers
intctrl_err_T intctrl_getHWRegistersSnapshot(p_hw_intctrl_reg_T p_intctrl, hw_intctrl_reg_T *p_hw_intctrl_reg_snapshot)
{
#if (0)
    p_hw_intctrl_reg_snapshot->status_int_line[0] = p_intctrl->status_int_line[0];
    p_hw_intctrl_reg_snapshot->status_int_line[1] = p_intctrl->status_int_line[1];
    p_hw_intctrl_reg_snapshot->status_int_line[2] = p_intctrl->status_int_line[2];
    p_hw_intctrl_reg_snapshot->enable = p_intctrl->enable;
    p_hw_intctrl_reg_snapshot->polarity = p_intctrl->polarity;
    p_hw_intctrl_reg_snapshot->select[0] = p_intctrl->select[0];
    p_hw_intctrl_reg_snapshot->select[1] = p_intctrl->select[1];
    p_hw_intctrl_reg_snapshot->interrupt_mode = p_intctrl->interrupt_mode;
    p_hw_intctrl_reg_snapshot->status = p_intctrl->status;
    p_hw_intctrl_reg_snapshot->trigger = p_intctrl->trigger;
#endif
    *p_hw_intctrl_reg_snapshot = *p_intctrl;
    return INTCTRL_SUCCESS;
}
intctrl_err_T intctrl_getHWRegistersSnapshot ( p_hw_intctrl_reg_T p_intctrl , hw_intctrl_reg_T * p_hw_intctrl_reg_snapshot ) { #if ( 0 ) p_hw_intctrl_reg_snapshot -> status_int_line [ 0 ] = p_intctrl -> status_int_line [ 0 ] ; p_hw_intctrl_reg_snapshot -> status_int_line [ 1 ] = p_intctrl -> status_int_line [ 1 ] ; p_hw_intctrl_reg_snapshot -> status_int_line [ 2 ] = p_intctrl -> status_int_line [ 2 ] ; p_hw_intctrl_reg_snapshot -> enable = p_intctrl -> enable ; p_hw_intctrl_reg_snapshot -> polarity = p_intctrl -> polarity ; p_hw_intctrl_reg_snapshot -> select [ 0 ] = p_intctrl -> select [ 0 ] ; p_hw_intctrl_reg_snapshot -> select [ 1 ] = p_intctrl -> select [ 1 ] ; p_hw_intctrl_reg_snapshot -> interrupt_mode = p_intctrl -> interrupt_mode ; p_hw_intctrl_reg_snapshot -> status = p_intctrl -> status ; p_hw_intctrl_reg_snapshot -> trigger = p_intctrl -> trigger ; #endif * p_hw_intctrl_reg_snapshot = * p_intctrl ; return INTCTRL_SUCCESS ; }
Get a copy of the Interrupt Controller configuration registers
Get a copy of the Interrupt Controller configuration registers