TMR5_EN.
Timer 5 Enable.
0: Stop/Pause, 1: Start.
If the timer is started, it will reload the interval value to
internal register, and the current counter will count from
interval value to 0.
If the current counter does not reach the zero, the timer
enable bit is set to “0”, the current value counter will pause.
At least wait for 2 Tcylces, the start bit can be set to 1.
In timer pause state, the interval value register can be
modified. If the timer is started again, and the Software hope
the current value register to down-count from the new interval
value, the reload bit and the enable bit should be set to 1 at
the same time.
Note:
1) If the clock source is External CLKIN, the interval value register is not used, the current value
register is an up counter that counts from 0;
2) The time between the timer disabled and enabled should be larger than 2*Tcycles(Tcycles= Timer
clock source/pre-scale).