Figure 30 Counter Mode With Rising Edge; Figure 31 Counter Mode With Falling Edge - Wiznet W7500 Reference Manual

Internet offload processor
Hide thumbs Also See for W7500:
Table of Contents

Advertisement

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 30 is counter mode example with rising edge mode,
Figure 31 is with falling edge mode and
Figure 32 is with both rising and falling edge mode.
External
Input
Start/Stop
Register
Rising edge
detect
Timer/Counter
0
External
Input
Start/Stop
Register
Falling edge
detect
Timer/Counter
W7500 Datasheet Version1.0.0

Figure 30 Counter mode with rising edge

0

Figure 31 Counter mode with falling edge

1
1
2
2
294 / 512

Advertisement

Table of Contents
loading

Table of Contents