add usart functions

add usart functions