uart.detach = detach the uart from the lua interpreter
uart.attach = reattach the uart to the lua interpreter
uart.configure(baudrate,parity,...) = configure uart
uart.onreceive = callback for data received
uart.write = transmit data
uart.read = read data
uart.onwritefinish = callback for data transmitted
uart.TXenable
uart.RXenable