In one-shot mode, the Timer /Counter reset to the initial value and then stops when the
Timer/Counter reaches the value of limit register. Figure 27 shows one-shot mode timing
diagram.
PWMCLK
Prescale
1
2
Counter
Timer/Counter
10
Overflow
Interrupt
Counting mode
The Timer/Counter has two counting mode: Up-count and Down-count mode. In up-count
mode, the Timer/Counter counts up from 0 to the limit register value, then recycles. If
repetition mode is periodic, the Timer/Counter restarts, if repetition mode is one-shot mode,
the Timer/Counter stops. Figure 28 shows up-count mode timing diagram.
PWMCLK
Prescale
1
2
Counter
Timer/Counter
10
In Down-count mode, the Timer/Counter counts from 0xFFFF_FFFF, then recycles. If
repetition mode is periodic, the Timer/Counter restarts, if repetition mode is one-shot mode,
the Timer/Counter stops. Figure 29 shows down-count mode timing diagram.
PWMCLK
Prescale
1
2
Counter
Timer/Counter
15
Timer and Counter mode
W7500 Datasheet Version1.0.0
Figure 26 Periodic mode
0
1
2
0
1
11
12
Figure 27 one-shot mode
0
1
2
0
1
11
12
Figure 28 Up-count mode
0
1
2
0
1
14
13
Figure 29 Down-count mode
2
2
0
1
2
0
13
2
0
1
2
0
12
0
0
1
2
0
1
2
14
15
1
2
0
1
2
11
10
293 / 512