WPC15
Motherboard User Manual
73
Note2: Watchdog Sample Code
//File of the Watchdog.cpp
//============================================================
//This Sample code is for Watchdog timer configuration
//============================================================
//============================================================
#include <dos.h>
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
//============================================================
#define W83627_INDEX_PORT 0x2E
#define W83627_DATA_PORT 0x2F
#define W83627_UNLOCK 0x87
#define W83627_LOCK 0xAA
//#define Watchdog_timeout 10
//============================================================
void Unlock_W83627(void);
void Lock_W83627(void);
void Set_W83627_Reg(unsigned char,unsigned char);
unsigned char Get_W83627_Reg(unsigned char);
//============================================================
int main ()
{
int Watchdog_timeout = 10;
printf("Input Watchdog Timer time-out value [0-255] : ");
scanf("%d",&Watchdog_timeout);
if(Watchdog_timeout <= 0 || Watchdog_timeout > 255)
{
printf("Time-out value out of range!!\n\n");
printf("Input Watchdog Timer time-out value [0-255] : ");
scanf("%d",&Watchdog_timeout);
Содержание WPC15
Страница 13: ...WPC15 Motherboard User Manual 5 1 5 Board dimensions...
Страница 18: ...WPC15 Motherboard User Manual 10 BOTTOM MiniPCIe for SSD SO DIMM...
Страница 30: ...WPC15 Motherboard User Manual 22 Step 3 Click on Next to install Driver Step 4 Click on Yes to agree License...
Страница 31: ...WPC15 Motherboard User Manual 23 Step 5 Click on Next to install Driver Step 6 Click on Next to install Driver...
Страница 32: ...WPC15 Motherboard User Manual 24 Step 7 Click on Yes I want to restart this computer now to go on...
Страница 37: ...WPC15 Motherboard User Manual 29 Setp 3 Click on Yes to agree License Setp 4 Click on Next to install driver...
Страница 42: ...WPC15 Motherboard User Manual 34 Step 5 Choose the path to install driver Setp 6 Click on Close and go on...
Страница 62: ...WPC15 Motherboard User Manual 54 Intel Fast Flash Standy iFFS Support Enable or disable...