Lex 3I510CW Manual page 39

667/800 mhz fsb / vga / lan / audio / mini pci / pcie mini card
Table of Contents

Advertisement

3-11-1 IO Device:F75111 under DOS
The Sample code source you can download from
Source file: F75111_Dos_Src.rar
Binary file: F75111_Dos_Bin.rar
USERNAME & PASSWORD: temp
How to use this Demo Application
1.Boot Ms-Dos Operating System
2.execute "75WDT.EXE" binary file
3.Input 1 to Enable WDT timer or input 0 to Disable it.
4.input numbers of second for chip countdown and Reset Computer
Introduction
Enable Watch Dog Timer
WriteI2CByte(I2CADDR, CONFIG, 0x03);//Set Watch Dog Timer function
WriteI2CByte(I2CADDR, WDT_TIMER, timer);//Set Watch Dog Timer range from 0-255.
WriteI2CByte(I2CADDR, WDT_TIMER_CTL, 0x73);//Enable Watch Dog Timer in second and pulse mode
Disable Watch Dog Timer
WriteI2CByte(I2CADDR, WDT_TIMER_CTL, 0x00);
Time Pause for mini seconds
void pause(int time)
{
asm mov ah,0h;
asm int 1ah; //read time from Time Counter and store it in DX register
asm add dx,time;
asm mov bx,dx;
label:
asm int 1ah;
asm cmp bx,dx;
asm jne label;
}
https://tprd.info/lexwiki/index.php/IO_Device:F75111_under_DOS
//Ah = 00 Read System Time Counter
37

Advertisement

Table of Contents
loading

This manual is also suitable for:

3i510aw3i525cw3i525aw

Table of Contents