![Wiznet W7500 Reference Manual Download Page 196](http://html.mh-extra.com/html/wiznet/w7500/w7500_reference-manual_990600196.webp)
W7500x Reference Manual Version1.1.0
196 / 399
Figure 35 PWM waveform with dead zone counter
Capture event
Each PWM channel can capture its Timer/Counter value when an external input signal changes.
Any channel could use any method of rising or falling edges. If capture interrupt is enabled,
capture interrupt occurs when the external input signal is toggled. The Timer/Counter value
is saved in Channel-n Capture Register(CHn_CR) and the capture register is not overwritten
until capture interrupt is cleared. Figure 36 shows the capture event timing diagram. There is
no interrupt clear, so second capture does not save during second rising edge detection.
Figure 36 Capture event with no interrupt clear
PWMCLK
Start/Stop
Register
Dead zone
Counter
Timer/Counter
0
PWM
output
3
Dead zone
counter register
0
1
2
3
1
2
3
4
5
6
11
0
1
2
3
Inverted PWM
output
4
Match
register
External
Input
Timer/Counter
12
14
Rising edge
detect
11
13
10
Capture Interrupt
10
Capture
register
0
4
Interrupt
Register[2:0]
0
Capture Interrupt
clear