Added UART TX buffer function.