![background image](http://html1.mh-extra.com/html/quanmax/keex-1850-series/keex-1850-series_user-manual_3450521060.webp)
Appendix B
60
KEEX-1850 Series User’s Manual
Appendix B
WatchDog Timer Sample Code
//**********************************************************************
//**********************************************************************
//**
**
//** (C) Copyright 2013-2015, Quanmax, Inc. **
//**
**
//** All Rights Reserved. **
//**
**
//**
5F, No.455, Ti-Ding Blvd., Sec. 2, **
//**
Neihu District, Taipei, Taiwan 114
**
//**
**
//** Phone: +886-2-2799-2789
**
//**
**
//**********************************************************************
//**********************************************************************
//==========================================================
==========//
//KEEX-1850 DOS Watchdog sample program
//
//Please compile with Turbo C 3.0 to utilized the program
//
//==========================================================
==========//
#include<stdio.h>
#define SIO_CONFIG_INDEX 0x2e
#define SIO_CONFIG_DATA
SIO_CONFI1
void UnlockSIO()
{
outp(SIO_CONFIG_INDEX,0x87);
outp(SIO_CONFIG_INDEX,0x87);
}
void LockSIO()