uart interface definition