How To Set The Dual Timers - Wiznet W7500 Reference Manual

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

Advertisement

How to set the dual timers

TimerControl[0] =0
Wrapping mode :
Free-running mode
TimerControl[0] =0
W7500x Reference Manual Version1.1.0
Set the clock enable
Set the Load register
Timer size :
16-bit or 32-bit
Prescale :
1, 16, or 256
Interrupt :
enable or disable
Repetition mode :
Wrapping or one-shot
Wrapping mode
Free-running or
Periodic mode
Periodic mode
TimerControl[0] =1
Figure 40 The Dual timer setting flow
16-bit : TimerControl[1] = 0
32-bit : TimerControl[1] = 1
1 : TimerControl[3:2] = 0
16 : TimerControl[3:2] = 1
256 : TimerControl[3:2] = 2
Disable : TimerControl[5] = 0
Ensable : TimerControl[5] = 1
One-shot mode
TimerControl[0] = 1
One-shot count mode
278 / 399

Advertisement

Table of Contents
loading

This manual is also suitable for:

W7500p

Table of Contents