Intel Duo/Solo 945GM, 2804080 user manual SetW627EHFLD0x08

Page 66

APPENDIX

void copyright(void)

{

printf("\n======== Winbond 83627EHF Watch Timer Tester (AUTO DETECT) ========\n"\

"Usage : W627E_WD reset_time\n"\

"Ex : W627E_WD 3 => reset system after 3 second\n"\

"W627E_WD 0 => disable watch dog timer\n");

}

//=========================================================================== void EnableWDT(int interval)

{

unsigned char bBuf;

bBuf = Get_W627EHF_Reg( 0x2D); bBuf &= (!0x01);

Set_W627EHF_Reg( 0x2D, bBuf);

Set_W627EHF_LD( 0x08);

Set_W627EHF_Reg( 0x30, 0x01);

bBuf = Get_W627EHF_Reg( 0xF5); bBuf &= (!0x08); Set_W627EHF_Reg( 0xF5, bBuf);

Set_W627EHF_Reg( 0xF6, interval);

//Enable WDTO

//switch to logic device 8 //enable timer

//count mode is second

//set timer

}

//=========================================================================== void DisableWDT(void)

{

Set_W627EHF_LD(0x08);

//switch to logic device 8

Set_W627EHF_Reg(0xF6, 0x00);

//clear watchdog timer

Set_W627EHF_Reg(0x30, 0x00);

//watchdog disabled

}

//===========================================================================

62

2804080 User’s Manual

Image 66
Contents USER’S Manual VersionAcknowledgments Table of Contents 2804080 Mini ITX Motherboard Introduction Product DescriptionChecklist Specifications LPC I/OBoard Dimensions Installations Installing the CPU Installing the Memory Installing and Removing Memory ModulesSetting the Jumpers Jumper Locations on JP6 1394 Eprom Write Selection JP5 LCD Panel Power SelectionJP7 Clear Cmos Setting JP8 CompactFlash Slave/Master SelectionConnectors on Connector Locations on CN1 PS/2 Keyboard and PS/2 Mouse Connectors CN2, CN3 COM1 and VGA ConnectorFAN2 CPU Fan Power Connector IDE1 IDE Connector FDD1 Floppy Drive ConnectorJ14 ATX Power Supply Connector J1 IrDA ConnectorJ2 Digital I/O J3 System Function Connector Speaker Pins 1Reset Switch Pins 9 J8 Wake On LAN Connector J6 USB5/6 Port Pin HeaderJ7 COM2 Serial Port J11 LCD Backlight Connector J20 Compact Flash Connector PCI1 PCI Slot supports 2 Master J16 1394 ConnectorJ17 Front Audio Connector J18 PCI-Ex1 Slot J19 CD-In Pin HeaderCON1 Sdvo Port Connector Headers and Connectors on 2804080 Daughter Cards Signal Name Pin # TX0 TX0+RED ID391 ‒ J2 DVI Connector This page is intentionally left blank Bios Setup Bios Introduction Bios SetupPhoenix AwardBIOS Cmos Setup Utility Standard Cmos Setup DateTime IDE Channel Master/SlaveDrive a / Drive B Video Halt OnHard Disk Boot Priority Advanced Bios FeaturesCPU Feature Virus WarningBoot Other Device Quick Power On Self TestFirst/Second/Third Boot Device Boot Up Floppy SeekSecurity Option Typematic Delay MsecApic Mode MPS Version Control for OSDram Timing Selectable Advanced Chipset FeaturesDram RAS# to CAS# Delay CAS Latency TimeVideo Bios Cacheable Precharge Delay tRASSystem Bios Cacheable On-Chip VGA SettingOnboard PCI-E LAN Panel ScalingPanel Number LAN PXE Option ROMIntegrated Peripherals OnChip IDE DeviceOnChip Primary/Secondary PCI IDE IDE HDD Block ModeOn-chip Primary PCI IDE Enabled IDE Primary/Secondary Master/Slave PIOKB Power on Password On-Chip Serial ATA SettingPower on Function Hot Key Power onUart Mode Select Onboard Serial PortPwron After PWR-Fail Power Management Power Management SetupRUN Vgabios if S3 Resume Acpi FunctionPower On by Ring Suspend ModeHDD Power Down Video Off MethodResume by Alarm Reload Global Timer EventsPNP/PCI Configurations PC Health Status Frequency/Voltage Control Auto Detect PCI ClkSpread Spectrum Modulated Set Supervisor Password Load Fail-Safe DefaultsLoad Optimized Defaults Save & Exit SetupThis page is intentionally left blank Drivers Installation Intel Chipset Software Installation Utility Click IntelR Chipset Software Installation UtilityDrivers Installation VGA Drivers Installation Click IntelR I945GMChipset Family Graphics DriverImportant Note AC97 Codec Audio Driver Installation Click Realtek AC97 Codec Audio DriverLAN Drivers Installation Click Install Base Software to continueDriver Installation Appendix O Port Address MapInterrupt Request Lines IRQ FunctionWatchdog Timer Configuration Sample CodeSetW627EHFLD0x08 OutportbW627EHFINDEXPORT, W627EHFLOCK W627EHFINDEXPORT W627EHFBASE Global American Inc