W7500x Reference Manual Version1.1.0
191 / 399
The Timer/Counter can run in timer mode or counter mode. In timer mode, the Timer/Counter
is counted by PWMCLK after Prescale counter is overflowed. If prescale is set by 0, the
Timer/Counter counts every PWMCLK period. In counter mode, the Timer/Counter is counted
by external input signal. There are three counting method: rising edge, falling edge, and both
edge. The counter mode has up-count or down-count mode and also has periodic or one-shot
mode. The external input pin and PWM output pin are the same, so PWM output is disabled in
counter mode.
Figure 27 is counter mode example with rising edge mode,
Figure 28 is with falling edge mode and
Figure 29 is with both rising and falling edge mode.
Figure 27 Counter mode with rising edge
Figure 28 Counter mode with falling edge
External
Input
Timer/Counter
1
2
0
Start/Stop
Register
Rising edge
detect
External
Input
Timer/Counter
1
2
0
Start/Stop
Register
Falling edge
detect
Содержание W7500
Страница 28: ...W7500x Reference Manual Version1 1 0 28 399 Memory map Figure 2 W7500x memory map ...
Страница 324: ...W7500x Reference Manual Version1 1 0 324 399 Figure 46 UART character frame ...
Страница 391: ...W7500x Reference Manual Version1 1 0 391 399 1 SSP1 must not drive the SSPTXD output in slave mode ...