U0IER[1] enables the THRE interrupt for UARTn. The status of this can be read from UnLSR[5].
UnIER[2] enables the UARTn RX line status interrupts. The status of this interrupt can be read from UnLSR[4:1].
U0IER enable 可以只用來查status用, 不是一定要用中断的方式发送数据, 可以继续用轮询的方式发送数据.