Fix a bug caused by the clock source of timer in 1T STC MCU
Clean up function names