EasyManua.ls Logo

Aaeon PCM-6893 - Page 65

Aaeon PCM-6893
68 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Compact Board PCM- 6893
Appendix A Programming the Watchdog Timer A-4
//Set Register F2
//Set Watch-Dog Timer 1~ 256
WriteAData(0xF2, time_val);
// set counter counts in second (or minute)
// Register F4 Bit 6 = 0/1 (minutes/seconds)
// For w83977EF only
WriteAData(0xF4, 0x40);
ExitConfigMode();
}
void init_w83977tf_aw_watchdog()
{
short int value;
//Enter W83977 Configure Mode
EnterConfigMode();
//Select Device 7
SelectDevice(7);
//Set Device Active
WriteAData(0x30, 0x01);
//caution:skip this step will be a mistake!!
if (watch_dog_output_GP==12)
{
//Set Register E2 to define GP12
WriteAData(0xE2, 0x0A);
}
else if(watch_dog_output_GP==13)

Table of Contents

Other manuals for Aaeon PCM-6893

Related product manuals