move UARTDriver struct to emprintf