Add function to check USART Tx interrupt status

This commit adds a function to Usart that allows the user
to check the status of the Usart transmitter interrupt flag.