Aaeon PCM-6892 Manual page 96

Hide thumbs Also See for PCM-6892:
Table of Contents

Advertisement

//caution:skip this step will be a mistake!!
if (watch_dog_output_GP==12)
{
//Set Register 2A (PIN 57) Bit 7 = 0/1 (KBLOCK/GP12)
//set to GP12 for WD Rst
WriteAData(0x2A,ReadAData(0x2A)|0x80);
}
else if(watch_dog_output_GP==13)
{
//Set Register 2B (PIN 58) Bit 0 = 0/1 (KBLOCK/GP13)
//set to GP13 for WD Rst
WriteAData(0x2B,ReadAData(0x2B)|0x01);
}
else if(watch_dog_output_GP==16)
{
//Set Register 2C (PIN 119) Bit 5-4 = 01 (GP16)
//set to GP16 for WD Rst
WriteAData(0x2C,ReadAData(0x2C)|0x10);
}
//Exit W83977 Configure mode
ExitConfigMode();
}
void main(int argc, char* argv[])
{
int time_value=0;
char *ptr;
printf("WinBond 83977 WatchDog Timer Setup Utility Version 1.0 \n");
printf("Copyright (c) 2000 AAEON Technology Inc.\n");
printf("This version only for W83977 that using GP%d to Reset
System.\n",watch_dog_output_GP);
if (argc == 1)
{
printf("\n Syntax: WATCHDOG
printf(" time range : 1 ~ 256 \n\n");
return ;
86 PCM-6892 User's Manual
[time] \n");

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents