Motorola MVME2400 Series Programmer's Reference Manual page 101

Vme processor module
Hide thumbs Also See for MVME2400 Series:
Table of Contents

Advertisement

Each timer is composed of a prescaler and a counter. The prescaler
determines the resolution of the timer and is programmable to any binary
value between 1 us and 32,768 us. The counter counts in the units provided
by the prescaler. For example, the watchdog timer would reach a count of
zero within 24 us if the prescaler was programmed to 2 us and the counter
was programmed to 12.
The watchdog timers are controlled by registers mapped within the PPC
control register space. Each timer has a WDTxCNTL register and a
WDTxSTAT register. The WDTxCNTL register can be used to start or
stop the timer, write a new reload value into the timer, or cause the timer
to initialize itself to a previously written reload value. The WDTxSTAT
register is used to read the instantaneous count value of the watchdog
timer.
Programming of the Watchdog Timers is performed through the
WDTxCNTL register and is a two step process.
Step 1 is to 'arm' the WDTxCNTL register by writing
PATTERN_1 into the KEY field. Only the KEY byte lane may be
selected during this process. The WDTxCNTL register will not arm
itself if any of the other byte lanes are selected or the KEY field is
written with any other value than PATTERN_1. The operation of
the timer itself remains unaffected by this write.
Step 2 is to write the new programming information to the
WDTxCNTL register. The KEY field byte lane must be selected
and must be written with PATTERN_2 for the write to take affect.
The effects on the WDTxCNTL register depend on the byte lanes
that are written to during step 2 and are shown in the following table.
http://www.motorola.com/computer/literature
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Functional Description
2-43
2

Advertisement

Table of Contents
loading

Table of Contents