Is there any function could disable and enable timer?

is there any function could disable timer?
for example Timer 2 runs with counts=100, now i disable the timer 2 ,i want to timer 2 pause,then i handle some code. after that code,i enable the timer 2, i want timer 2 could keep running start from counts 100.
‘’’
disable the timer 2(timer 2 maybe counts =100,now it pause)
myfun()
enable the timer 2(keep running)
‘’’

Timers have a deinit() and init() method. When you reinit you can pass new settings:

roger that ,thank u