![EVOC CPC-1817CLD5NA User Manual Download Page 102](http://html1.mh-extra.com/html/evoc/cpc-1817cld5na/cpc-1817cld5na_user-manual_2446470102.webp)
Appendix
CPC-1817CLD5NA
- 45 -
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);
pm_base = pmbase<<8+tmp_reg; /*Get the variable pm_base for later
use*/
}
(2)
Configure the WDT operating mode to enable or disable WDT
/*
Description: the function, SetWDT, is used to configure the parameter required
when configuring WDT to enable or disable WDT.
Input: Wmode: 0 - Configure WDT to reset mode
IRQ_NO - Configure WDT to interrupt mode. Please
replace the constant IRQ_NO with the interrupt number
need to be used. The available range of the interrupt number
has been listed in the beginning of this chapter
Wtime: 0 - Configure WDT to time by minute
1 - Configure WDT to time by second
Timeout: 0 - disable WDT
TIME_OUT_VALUE - Enable WDT. Please replace the
constant TIME_OUT_VALUE with the unit number of
timeout value (0x01 ~ 0xFF)
Note: the instructions for the interrupt mode are only suitable for the OS with
both ACPI and APIC enabled.
*/
SetWDT(unsigned
int Wmode, unsignedint Wtime, unsigned int Timeout)
Summary of Contents for CPC-1817CLD5NA
Page 1: ...CPC 1817CLD5NA 6U Compact PCI 6U Compact PCI Board Compliant with Navy Standard Version C01...
Page 2: ...EVOC 2011 http www evoc com support evoc com support evoc cn 4008809666...
Page 3: ...1 2 3 10 4 5 6 7 8 9 30...
Page 4: ...1 1 2 2 2 3 3 3 4 4 4 4 Watchdog 4 4 I O 4 6 6 7 8 9 CPCI 11 USB 12 SATA 12 13...
Page 47: ...42 CPC 1817CLD5NA...
Page 51: ...46 CPC 1817CLD5NA CMOS 1 BIOS CMOS 2 U USB2 0 USB1 1 3 U USB USB FULLSPEED HISPEED 4...
Page 53: ......