/////////////////////////////////////////////////////////////////////////////// // Code /////////////////////////////////////////////////////////////////////////////// void PM_DBG_UART_IRQ_HANDLER(void) { #if (defined BOARD_USE_LPSCI) LPSCI_DRV_IRQHandler(BOARD_DEBUG_UART_INSTANCE); #elif (defined BOARD_USE_LPUART) LPUART_DRV_IRQHandler(BOARD_DEBUG_UART_INSTANCE); #else UART_DRV_IRQHandler(BOARD_DEBUG_UART_INSTANCE); #endif // BOARD_USE_LPSCI }
void UART0_IRQHandler(void) { LPSCI_DRV_IRQHandler(LPSCI_0_IDX); }
/*FUNCTION********************************************************************** * * Function Name : UART_DRV_IRQHandler * Description : Interrupt handler for UART. * This handler uses the buffers stored in the uart_state_t structs to transfer * data. This is not a public API as it is called whenever an interrupt occurs. * *END**************************************************************************/ void USB_UART_DRV_IRQHandler(uint32_t instance) { LPSCI_DRV_IRQHandler(instance); }