Download FB-2640 Socket 370 CPU Card Half-Size Pentium II/!!! User's Manual
Transcript
FabIATech Corporation
Watchdog Timer Disabled
To disable the watchdog timer, simply write a 00H to the watchdog register.
#include “stdio.H”
#include “WDLIB.H”
main( )
{
InitWD(equWdUnitS);
printf (“Disable Watch Dog”);
//Disable watch dog
DisWD(WD_TIME);
}
Programming RS-485
The majority communicative operation of the RS-485 is in the same of the RS-232.
When the RS-485 precedes the transmission, which needs control the TXC signal, and
the installing, steps are as follows:
Step 1:
Enable TXC
Step 2:
Send out data
Step 3:
Waiting for data empty
Step 4:
Disable TXC
Note: Please refer to the section of the “Serial Ports” in the Chapter “System
Controllers” for the detail description of the COM port’s register.
61