![Winmate IA70 Скачать руководство пользователя страница 108](http://html.mh-extra.com/html/winmate/ia70/ia70_user-manual_987067108.webp)
IA70 Motherboard User Manual V1.1
98
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);
Содержание IA70
Страница 14: ...IA70 Motherboard User Manual V1 1 4 1 5 Board dimensions ...
Страница 32: ...IA70 Motherboard User Manual V1 1 22 2 5 18 Parallel Port Box Header LPT1 ...
Страница 44: ...IA70 Motherboard User Manual V1 1 34 Step 7 Click on Yes I want to restart this computer now to proceed ...
Страница 49: ...IA70 Motherboard User Manual V1 1 39 Setp 3 Click on Finish to finish the installation ...
Страница 70: ...IA70 Motherboard User Manual V1 1 60 ACPI Configuration General ACPI Configuration ...
Страница 80: ...IA70 Motherboard User Manual V1 1 70 Resume On RTC Alarm Disable Enable RTC wake event ...
Страница 95: ...IA70 Motherboard User Manual V1 1 85 Boot Device Priority Select the priority of Boot devices ...