Capture Event - Wiznet W7500 Reference Manual

W7500 series
Hide thumbs Also See for W7500:
Table of Contents

Advertisement

PWMCLK
Start/Stop
Register
Dead zone
0
1
Counter
Timer/Counter
0
PWM
output
Inverted PWM
output
Dead zone
counter register
Match
register

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.
External
Input
Rising edge
detect
Timer/Counter
10
Capture Interrupt
Capture
0
register
Capture Interrupt
clear
Interrupt
0
Register[2:0]
W7500x Reference Manual Version1.1.0
2
3
1
2
Figure 35 PWM waveform with dead zone counter
11
Figure 36 Capture event with no interrupt clear
0
1
3
4
5
3
4
12
13
10
4
2
3
6
11
14
196 / 399

Advertisement

Table of Contents
loading

This manual is also suitable for:

W7500p

Table of Contents