Use functions provided by timer module in uart module