Esempio n. 1
0
File: uart.c Progetto: thehobn/ec
/**
 * Interrupt handlers for UART0
 */
void uart_ec_tx_interrupt(void)
{
	/* Clear transmit interrupt status */
	GR_UART_ISTATECLR(0) = GC_UART_ISTATECLR_TX_MASK;

	/* Fill output FIFO */
	uart_process_output();
}
Esempio n. 2
0
static void uart_interrupt(void)
{
	uart_process_input();
	uart_process_output();
}