
Appendix
104-1816CL2NA
- 41 -
//GPIO8
outportb(INDEX_PORT, 0xf1);
temp = inportb(DATA_PORT);
temp = temp & ~ bit0;
outportb(DATA_PORT, temp );
3.
Programming finished
outportb
(
0x2e
,
0xaa
)
;
5.2 Watchdog Programming Guide
This motherboard provides a programmable Watchdog timer (WDT for short),
with up to 255 levels, counted by minute or second. By programming, WDT timeout
event can be used for system reset.
The following provides the programming paradigms in C language. WDT should
be programmed by the following steps:
Enter into WDT programming mode
Configure WDT working mode: enable or disable WDT
1.
Enter in to WDT programming mode
/*-------------------------------------------------*/
// Name:sio_wdt_enabled()
// Description: Used to active wdt function
// Input: none
// Output: none
/*-------------------------------------------------*/
void sio_wdt_enabled()
{
int temp
;
outportb(INDEX_PORT, 0x07);
outportb(DATA_PORT, 0x08);
outportb(INDEX_PORT, 0x30);
temp = inportb(DATA_PORT) | bit0;
Содержание 104-1816CL2NA
Страница 11: ...安装说明 104 1816CL2NA 5 2 2 接口位置示意图 LAN1 ...
Страница 42: ...驱动程序安装说明 36 104 1816CL2NA 4 驱动程序安装说明 本产品的驱动程序可依据配套光盘内容安装 在此不做介绍 ...
Страница 51: ......
Страница 61: ...Installation Instructions 104 1816CL2NA 5 2 2 Port Location LAN1 ...