How To Set The Dual Timers; Figure 43 The Dual Timer Setting Flow - Wiznet W7500 Reference Manual

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

Advertisement

19.3.7

How to set the dual timers

Free-running mode
TimerControl[0] =0
W7500 Datasheet Version1.0.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
TimerControl[0] =0
Wrapping mode :
Free-running or
Periodic mode
Periodic mode
TimerControl[0] =1

Figure 43 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
381 / 512

Advertisement

Table of Contents
loading

Table of Contents