![Kontron CP3002 Скачать руководство пользователя страница 93](http://html1.mh-extra.com/html/kontron/cp3002/cp3002_user-manual_1996259093.webp)
CP3002
Configuration
ID 1042-9252, Rev. 2.0
Page 4 - 13
P R E L I M I N A R Y
4.3.12
Watchdog Timer Control Register (WTIM)
The CP3002 has one Watchdog timer provided with a programmable timeout ranging from 125
msec to 4096 sec. Failure to strobe the Watchdog timer within a set time period results in a
system reset or an interrupt. The interrupt mode can be configured via the Board Interrupt
Configuration Register (0x286).
There are four possible modes of operation involving the Watchdog timer:
•
Timer only mode
•
Reset mode
•
Interrupt mode
•
Dual stage mode
At power on the Watchdog is not enabled. If not required, it is not necessary to enable it. If re-
quired, the bits of the Watchdog Timer Control Register must be set according to the application
requirements. To operate the Watchdog, the mode and time period required must first be set
and then the Watchdog enabled. Once enabled, the Watchdog can only be disabled or the
mode changed by powering down and then up again. To prevent a Watchdog timeout, the
Watchdog must be retriggered before timing out. This is done by writing a ’1’ to the WTR bit. In
the event a Watchdog timeout does occur, the WTE bit is set to ’1’. What transpires after this
depends on the mode selected.
The four operational Watchdog timer modes can be configured by the WMD[1:0] bits, and are
described as follows:
Timer only mode - In this mode the Watchdog is enabled using the required timeout period. Nor-
mally, the Watchdog is retriggered by writing a ’1’ to the WTR bit. In the event a timeout occurs,
the WTE bit is set to ’1’. This bit can then be polled by the application and handled accordingly.
To continue using the Watchdog, write a ’1’ to the WTE bit, and then retrigger the Watchdog
using WTR. The WTE bit retains its setting as long as no power down-up is done. Therefore,
this bit may be used to verify the status of the Watchdog.
Reset mode - This mode is used to force a hard reset in the event of a Watchdog timeout. In
addition, the WTE bit is not reset by the hard reset, which makes it available if necessary to
determine the status of the Watchdog prior to the reset.
Interrupt mode - This mode causes the generation of an interrupt in the event of a Watchdog
timeout. The interrupt handling is a function of the application. If required, the WTE bit can be
used to determine if a Watchdog timeout has occurred.
Dual stage mode - This is a complex mode where in the event of a timeout two things occur: 1)
an interrupt is generated, and 2) the Watchdog is retriggered automatically. In the event a sec-
ond timeout occurs immediately following the first timeout, a hard reset will be generated. If the
Watchdog is retriggered normally, operation continues. The interrupt generated at the first time-
out is available to the application to handle the first timeout if required. As with all of the other
modes, the WTE bit is available for application use.
Содержание CP3002
Страница 12: ...Preface CP3002 Page xii ID 1042 9252 Rev 2 0 P R E L I M I N A R Y This page has been intentionally left blank...
Страница 20: ...Preface CP3002 Page xx ID 1042 9252 Rev 2 0 P R E L I M I N A R Y This page has been intentionally left blank...
Страница 21: ...CP3002 Introduction ID 1042 9252 Rev 2 0 Page 1 1 Introduction Chapter 1 1 P R E L I M I N A R Y...
Страница 69: ...CP3002 Installation ID 1042 9252 Rev 2 0 Page 3 1 Installation Chapter 1 3 P R E L I M I N A R Y...
Страница 81: ...CP3002 Configuration ID 1042 9252 Rev 2 0 Page 4 1 Configuration Chapter 1 4 P R E L I M I N A R Y...
Страница 100: ...Configuration CP3002 Page 4 20 ID 1042 9252 Rev 2 0 P R E L I M I N A R Y This page has been intentionally left blank...
Страница 101: ...CP3002 Power Considerations ID 1042 9252 Rev 2 0 Page 5 1 Power Considerations Chapter 1 5 P R E L I M I N A R Y...
Страница 109: ...CP3002 Thermal Considerations ID 1042 9252 Rev 2 0 Page 6 1 Thermal Considerations Chapter 1 6 P R E L I M I N A R Y...
Страница 119: ...CP3002 CP3002 HDD ID 1042 9252 Rev 2 0 Page A 1 CP3002 HDD Chapter 1 A P R E L I M I N A R Y...
Страница 120: ...CP3002 HDD CP3002 Page A 2 ID 1042 9252 Rev 2 0 P R E L I M I N A R Y This page has been intentionally left blank...
Страница 132: ...CP3002 HDD CP3002 Page A 14 ID 1042 9252 Rev 2 0 P R E L I M I N A R Y This page has been intentionally left blank...
Страница 133: ...CP3002 CP RIO3 04 Rear I O ID 1042 9252 Rev 2 0 Page B 1 CP RIO3 04 Appendix 1 B P R E L I M I N A R Y...
Страница 149: ...CP3002 SATA Flash Module ID 1042 9252 Rev 2 0 Page C 1 SATA Flash Module Appendix 1 C P R E L I M I N A R Y...
Страница 150: ...SATA Flash Module CP3002 Page C 2 ID 1042 9252 Rev 2 0 P R E L I M I N A R Y This page has been intentionally left blank...