Update bsp/uart.h

Simplify the uart interface.