![EVOC 104-1649CLD2NA Series Скачать руководство пользователя страница 91](http://html1.mh-extra.com/html/evoc/104-1649cld2na-series/104-1649cld2na-series_user-manual_2446451091.webp)
Appendix
104-1649CLD2NA Series
- 39 -
Appendix
Watchdog Programming Guide
This motherboard provides a programmable watchdog timer (WDT) up to 255 levels
and time by minute or second. Watchdog timer overtime event can be programmed to
reset system or generate maskable interrupts.
The available IRQ numbers for this board are:
3, 4, 5, 7, 9, 10, 11
and
15.
Before using, please modify the corresponding IRQ number in PCIPnP of BIOS Setup
interface into “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
0x4E
#define DATA_PORT 0x4F
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;
Содержание 104-1649CLD2NA Series
Страница 1: ...104 1649CLD2NA SERIES 嵌入式 104 单板电脑 Embedded 104 Single Board Computer Version C03 ...
Страница 8: ...第二章 安装说明 4 104 1649CLD2NA 系列 第二章 安装说明 产品外形尺寸图 96 9 79 4 115 6 90 2 R 3 2 单位 mm ...
Страница 42: ...第四章 驱动程序安装说明 38 104 1649CLD2NA 系列 第四章 驱动程序安装说明 本产品的驱动程序可依据配套光盘内容安装 在此不做介绍 ...
Страница 49: ......