Pwm Mode; Figure 34 Timer/Counter Timing Diagram With Overflow Interrupt - Wiznet W7500 Reference Manual

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

Advertisement

PWMCLK
Start/Stop
Register
Prescale
1
Counter
Timer/Counter
10
Prescale Counter
Overflow
Overflow
Interrupt
Interrupt
Register[2:0]

Figure 34 Timer/Counter timing diagram with overflow interrupt

18.3.3

PWM mode

Pulse Width Modulation mode generates a waveform with a period determined by the value
of limit register and a duty cycle determined by the value of the match register.
The PWM output becomes always 1 when the Timer/Counter starts to count. Then the PWM
output becomes 0 when the Timer/Counter reaches the value of match register. If the
Timer/Counter is in periodic mode, the PWM output becomes 1 again when the
Timer/Counter reaches the value of limit register. In one-shot mode, the PWM output does
not change to 1 but stays 0 and the Timer/Counter stops.
The PWM mode can be selected independently on each channel(0~7) by PWM output enable
and external input enable register. The external input pin and PWM output pin are the same,
so external input is disabled in PWM mode.
Figure 35 is an example of the PWM output waveform when the Timer/Counter is reached to
the value of match register.
Figure 36 is example of the PWM output waveform when to the Timer/Counter is reached to
the value of limit register.
W7500 Datasheet Version1.0.0
2
0
1
2
0
11
1
1
2
0
1
2
12
0
0
1
2
0
1
1
2
3
296 / 512
2

Advertisement

Table of Contents
loading

Table of Contents