![Kontron P3S440BX Скачать руководство пользователя страница 62](http://html1.mh-extra.com/html/kontron/p3s440bx/p3s440bx_technical-reference-manual_1996316062.webp)
PCI-946-1 and P3S440BX Technical Reference manual
3-18
A variable refresh is possible as shown below:
The programmable watchdog can be viewed as a decrementing counter that is
initialized by a write to register n96h (n = 1, 2 or 3). The processor must initialize
the counter to prevent it from reaching count 0 (timeout).
The following C language procedure can be used to trigger the programmable
watchdog.
#define TekReg 0x190
// define base address (0x190, 0x290 or 0x390)
void TrigWatchdog(timeout)
// select timeout at runtime: 0x80 = 0.016s,
// 0x90 = 0.065s, 0xA0 = 0.261s, ...
{
outp(6,(inp(6) & 0x0F) | (timeout & 0xF0));
}
n96h
Watchdog internal counter value
8.6 ms
8.6 ms
StockCheck.com
Downloaded from StockCheck.com