EasyManua.ls Logo

Quanmax KEMX-1750 series - Watchdog Timer Sample Code

Quanmax KEMX-1750 series
62 pages
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...
Appendix B
61 KEMX
-
1
7
50 serie
s
Use r’ s M a nual
Appendix B
WatchDog Timer Sample Code
//**********************************************************************
//**********************************************************************
//**
**
//** (C) Copyright 2013-2014, Quanmax, Inc. **
//**
**
//** All Rights Reserved. **
//**
**
//** 5F, No.455, Ti-Ding Blvd., Sec. 2, **
//** Neihu Dis trict, Taipei, Taiwan 114 **
//** **
//** Phone: +886-2-2799-2789
**
//**
**
//**********************************************************************
//**********************************************************************
//==========================================================
==========//
//KEMX-1750 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_CONFIG_INDEX+1
void UnlockSIO()
{
outp(SIO_CONFIG_INDEX,0 x87);
outp(SIO_CONFIG_INDEX,0 x87);
}
void LockSIO()

Table of Contents

Related product manuals