Dear all,
I write a uart0 driver. enable the all interrupt of UART0.
" uart0_reg->IER |= 0x01 | (1<<1) | (1<<2); "
but running the driver, only goto the interrupt twice.
==========================
My question:
1. I enable the TX empty interrupt(non-FIFO mode), and don't give data to the TX register, will the process alway goto the interrupt?
2. I enable the TX empty interrupt(non-FIFO mode), and give data to the TX register , will the process alway goto the interrupt? Is anything I need to do to let the process goto interrupt when the TX is empty?