interrupt void KeyStone_UART_Error_ISR()
{
/* Disable the CIC out for interrupt processing */
CIC_Regs->HINT_ENABLE_CLR_INDEX_REG = uiCIC_out_num;
printf("大家好啊rn");
// Interrupt from UART0
if(CIC_Regs->RAW_STATUS_REG[CSL_INTC0_UARTINT>>5] & (1<<(CSL_INTC0_UARTINT%32)))
{
KeyStone_UART_Error_Handler(0);
CIC_Regs->STATUS_CLR_INDEX_REG = CSL_INTC0_UARTINT;
}
#ifdef CSL_UART_B
#ifdef DEVICE_C6657
// Interrupt from UART1
if(CIC_Regs->RAW_STATUS_REG[CSL_INTC0_UARTINT_B>>5] & (1<<(CSL_INTC0_UARTINT_B%32)))
{
KeyStone_UART_Error_Handler(CSL_UART_B);
CIC_Regs->STATUS_CLR_INDEX_REG = CSL_INTC0_UARTINT_B;
}
#else
// Interrupt from UART1
if(CIC_Regs->RAW_STATUS_REG[CSL_INTC0_UARTINT1>>5] & (1<<(CSL_INTC0_UARTINT1%32)))
{
KeyStone_UART_Error_Handler(CSL_UART_B);
CIC_Regs->STATUS_CLR_INDEX_REG = CSL_INTC0_UARTINT1;
}
#endif
#endif
/* Enable the CIC out when finish interrupt processing */
CIC_Regs->HINT_ENABLE_SET_INDEX_REG = uiCIC_out_num;
}