/* This function is used to change a timer wait time.  */
void tls_timer_change(u8 timer_id, u32 newtime)
/* This function is used to change a timer wait time.  */
void tls_timer_change(u8 timer_id, u32 newtime)
{
    if (!(wm_timer_bitmap & BIT(timer_id)))
        return;
    tls_timer_stop(timer_id);
    if (newtime)
        tls_reg_write32(HR_TIMER0_PRD + 0x04 * timer_id, newtime);
    tls_timer_start(timer_id);
    return;
}