Appendix
CPC3811CLD4N
-
23
-
Appendix
Watchdog Programming Guide
The board provides a programmable watchdog timer (WDT) up to 255 levels and time
by minute or second. WDT timeout event can be programmed to reset system or
generate maskable interrupts.
The available IRQ numbers for this board are: 5, 7, 10 and 11.
Before using, please modify the corresponding IRQ number in PCIPnP of BIOS
Setup interface to “Reserved”.
The following describes WDT program in C language. The steps to program WDT are
listed as follows:
Ø
Enter WDT programming mode
Ø
Set WDT operating mode/enable WDT/disable WDT
(1)
Enter
WDT
programming mode
#define
INDEX_PORT 0x2E
#define
DATA_PORT
0x2F
unsigned int tmp_reg;
unsigned int pm_base;
outportb(INDEX_PORT, 0x55);
outportb(INDEX_PORT, 0x07);
outportb(DATA_PORT, 0x0A);
outportb(INDEX_PORT, 0x30);
outportb(DATA_PORT, 0x01);
outportb(INDEX_PORT, 0x60);
tmp_reg = inportb(DATA_PORT);
pm_base = tmp_reg;
outportb(INDEX_PORT, 0x61);
tmp_reg = inportb(DATA_PORT);
Summary of Contents for CPC-3811CLD4N
Page 1: ...CPC 3811CLD4N 3U CompactPCI Motherboard with Wide Temperature and Low Consumption Version C00...
Page 31: ......
Page 32: ...EVOC 2008 1 2 3 10 4 5 6 7 8 9 30...
Page 33: ...1 1 1 2 2 2 2 2 2 3 3 3 I O 3 4 4 6 CPC 3811CLD4N 1 8 8 JTAG 8 8 Compact PCI 9 11 USB 12 12...
Page 38: ...4 CPC 3811CLD4N 19 93 86 00 161 50 54 07 74 00 88 90 85 00 10 00 100 00 80 00 CPC 3811CLD4N 1...
Page 40: ...6 CPC 3811CLD4N D5 SW1 USB1 LAN1 VGA1 CONN1 JCC1 J2 JTAG1 J1 JP1 CPC 3811CLD4N 1...