Aaeon PCM-6890 User Manual page 122

Hide thumbs Also See for PCM-6890:
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("wWinBond 83977 WatchDog Timer Setup Utility
Version 1.0 \n");
printf("CCopyright (c) 2000 AAEON Technology Inc.\n");
printf("TThis version only for W83977 that using GP%d to
Reset System.\n",watch_dog_output_GP);
110
PCM-6890 User's Manual

Advertisement

Table of Contents
loading

Table of Contents