background image

INSTALLATIONS

 

                         MI945 User’s Manual 

17 

 

ATX1: ATX Power Supply Connector 

 

  
 

11       1 

 

20       10

 

Signal Name 

Pin # 

Pin # 

Signal Name 

3.3V 

11 

3.3V 

-12V 

12 

3.3V 

Ground 

13 

Ground 

PS-ON 

14 

+5V 

Ground 

15 

Ground 

Ground 

16 

+5V 

Ground 

17 

Ground 

-5V 

18 

Power good 

+5V 

19 

5VSB 

+5V 

20 

10 

+12V 

 

 

J2 (F_PANEL): System Function Connector 

J2 provides connectors for system indicators that provide light indication 
of the computer activities and switches to change the computer status. J2 
is a 20-pin header that provides interfaces for the following functions. 

 

Hard Disk Drive LED 

 

 

 

Reset Switch 

Not Defined 

 

 

ATX Power On Switch 

Not Defined 

 

 

 

 

Power LED 

Speaker 

 

 

 

 

 

Speaker: Pins 1 - 4 

This connector provides an interface to a speaker for audio 
tone generation. An 8-ohm speaker is recommended. 

 

 

Pin # 

Signal Name 

Speaker out 

No connect 

Ground 

+5V 

 

Содержание MI945

Страница 1: ...MI945 Intel CoreTM 2 Duo GM45 Mini ITX Motherboard USER S MANUAL Version 1 0A ...

Страница 2: ...siness Machines Corporation Intel and Intel Core 2 Duo and Intel Celeron processors are registered trademarks of Intel Corporation Microsoft Windows is a registered trademark of Microsoft Corporation Winbond is a registered trademark of Winbond Electronics Corporation All other product names or trademarks are properties of their respective owners ...

Страница 3: ...he CPU 6 Installing the Memory 7 Setting the Jumpers 8 Connectors on MI945 12 BIOS Setup 25 Drivers Installation 47 Intel Chipset Software Installation Utility 48 VGA Drivers Installation 50 AC97 Codec Audio Driver Installation 52 LAN Drivers Installation 53 Appendix 55 A I O Port Address Map 55 B Interrupt Request Lines IRQ 56 C Watchdog Timer Configuration 57 ...

Страница 4: ...cted there will be no image on screen when you insert the CRT VGA cable To show the image on screen the hotkey must be pressed CTRL ALT F1 Remarks The IDE connector on board does not support OS installation in hard drive A system hard drive connected to this IDE cannot be booted up to OS ...

Страница 5: ...namic Video Memory Technology DVMT DVMT handles diverse applications by providing the maximum 384MB availability of system memory for general computer usage while supplying additional graphics memory when a 3D intensive application requests it The Intel GMA X3500 graphics architecture also takes advantage of the high performance Intel processor Intel GMA X3500 graphics supports Dual Independent Di...

Страница 6: ...ser s Manual Checklist Your MI945 package should include the items listed below The MI945 Mini ITX motherboard This User s Manual 1 CD containing chipset drivers and flash memory utility Cable kit IDE Serial port Serial ATA ...

Страница 7: ... IDE JMicron JM368 PCI e to PATA x1 for 1 PATA channel for IDE CF Audio ICH9M built in audio controller AC97 Codec ALC888 w 7 1 channels SPDIF OUT LPC I O W83627DHG COM1 COM2 RS232 RS422 RS485 hardware monitor 3 thermal 4 voltage monitor inputs 2 fan headers Fintek 81216G for COM3 and COM4 Digital IO 4 in 4 out Keyboard Mouse Supports PS 2 keyboard mouse connector Expansion Slots PCI slot x1 PIC E...

Страница 8: ...INTRODUCTION 4 MI945 User s Manual Board Dimensions ...

Страница 9: ...ations This section provides information on how to use the jumpers and connectors on the MI945 in order to set up a workable system The topics covered are Installing the CPU 6 Installing the Memory 7 Setting the Jumpers 8 Connectors on MI945 12 ...

Страница 10: ...icture below loosen the screw first before inserting the processor Place the processor into the socket by making sure the notch on the corner of the CPU corresponds with the notch on the inside of the socket Once the processor has slide into the socket fasten the screw Refer to the figures below NOTE Ensure that the CPU heat sink and the CPU top surface are in total contact to avoid CPU overheatin...

Страница 11: ... locate the memory slot on the board and perform the following steps 1 Hold the DDR2 module so that the key of the DDR2 module aligned with that on the memory slot 2 Gently push the DDR2 module in an upright position until the clips of the slot close to hold the DDR2 module in place when the DDR2 module touches the bottom of the slot 3 To remove the DDR2 module press the clips with both hands DDR2...

Страница 12: ... on MI945 and their respective functions Jumper Locations on MI945 9 JP1 Keyboard Mouse Power Selection 10 JP2 LCD Panel Power Selection 10 JP5 JP6 JP7 RS232 422 485 COM2 Selection 10 JP9 CompactFlash Slave Master Selection 11 JP10 PCI PCIE Riser Card Selection 11 JBAT1 Clear CMOS Setting 11 IMPORTANT NOTE When the system boots without the CRT being connected there will be no image on screen when ...

Страница 13: ...on MI945 Jumpers on MI945 Page JP1 Keyboard Mouse Power Selection 10 JP2 LCD Panel Power Selection 10 JP5 JP6 JP7 RS232 422 485 COM2 Selection 10 JP9 CompactFlash Slave Master Selection 11 JP10 PCI PCIE Riser Card Selection 11 JBAT1 Clear CMOS Setting 11 ...

Страница 14: ...3 3V 5V JP5 JP6 JP7 RS232 422 485 COM2 Selection COM1 is fixed for RS 232 use only COM2 is selectable for RS232 RS 422 and RS 485 The following table describes the jumper settings for COM2 selection COM2 Function RS 232 RS 422 RS 485 Jumper Setting pin closed JP5 1 2 JP6 3 5 4 6 JP7 3 5 4 6 JP5 3 4 JP6 1 3 2 4 JP7 1 3 2 4 JP5 5 6 JP6 1 3 2 4 JP7 1 3 2 4 ...

Страница 15: ... TX DATA 3 TX RX NC 4 DTR RX NC 5 Ground Ground Ground 6 DSR RTS NC 7 RTS RTS NC 8 CTS CTS NC 9 RI CTS NC 10 NC NC NC JP9 CompactFlash Slave Master Selection JP9 CF Setting Master Slave JP10 PCI PCIE Riser Card Selection JP10 Riser Card IP390 Riser Card Install IP151 IP240 Riser Card Install JBAT1 Clear CMOS Setting JBAT1 Setting Normal Clear CMOS ...

Страница 16: ...SB1 USB5 USB6 Connector 19 COM2 COM2 Serial Port 19 LVDS1 LVDS2 LVDS Connectors 1st channel 2nd channel 19 J1 LCD Backlight Connector 20 JMINI Mini PCIE Connector 20 SATA1 SATA2 SATA3 SATA4 SATA Connectors 20 J3 Digital I O 20 J5 CD In Pin Header 20 J4 SPI Flash Connector factory use only 20 J7 Front Audio Connector 20 J8 PCI E x1 Slot 20 F_USB2 USB7 USB8 Connector 21 J9 Compact Flash Connector 21...

Страница 17: ...INSTALLATIONS MI945 User s Manual 13 Connector Locations on MI945 ...

Страница 18: ...ata 1 1 Mouse data N C 2 2 N C GND 3 3 GND 5V 4 4 5V Keyboard clock 5 5 Mouse clock N C 6 6 N C CN2 CN3 COM1 and VGA Connector Signal Name Pin Pin Signal Name DCD 1 6 DSR RXD 2 7 RTS TXD 3 8 CTS DTR 4 9 RI GND 5 10 Not Used Signal Name Pin Pin Signal Name Red 1 2 Green Blue 3 4 N C GND 5 6 GND GND 7 8 GND N C 9 10 GND N C 11 12 N C HSYNC 13 14 VSYNC NC 15 ...

Страница 19: ...ut Connector CN5 Audio Connector SYS_FAN1 System Fan Power Connector This is a 3 pin header for system fans The fan must be a 12V 500mA Pin Signal Name 1 Ground 2 12V 3 Rotation detection CPU_FAN1 CPU Fan Power Connector This is a 3 pin header for the CPU fan The fan must be a 12V fan Pin Signal Name 1 Ground 2 12V 3 Rotation detection ...

Страница 20: ...6 Host data 14 Host data 0 17 18 Host data 15 Ground 19 20 Protect pin DRQ0 21 22 Ground Host IOW 23 24 Ground Host IOR 25 26 Ground IOCHRDY 27 28 Host ALE DACK0 29 30 Ground IRQ14 31 32 No connect Address 1 33 34 No connect Address 0 35 36 Address 2 Chip select 0 37 38 Chip select 1 Activity 39 40 Ground COM3_COM4 COM3 COM4 Serial Port Signal Name Pin Pin Signal Name DSR 2 1 DCD RTS 4 3 RXD CTS 6...

Страница 21: ...nector J2 provides connectors for system indicators that provide light indication of the computer activities and switches to change the computer status J2 is a 20 pin header that provides interfaces for the following functions Hard Disk Drive LED Reset Switch Not Defined ATX Power On Switch Not Defined Power LED Speaker Speaker Pins 1 4 This connector provides an interface to a speaker for audio t...

Страница 22: ... switch will force the system to power on When pressed again it will force the system to power off Reset Switch Pins 9 and 19 The reset switch allows the user to reset the system without turning the main power switch off and then on again Orientation is not required when making a connection to this header Hard Disk Drive LED Connector Pins 10 and 20 This connector connects to the hard drive activi...

Страница 23: ...ceive data 2 7 RTS Request to send TXD Transmit data 3 8 CTS Clear to send DTR Data terminal ready 4 9 RI Ring indicator GND ground 5 10 Not Used LVDS1 LVDS2 LVDS Connectors 1st channel 2nd channel The LVDS connectors on board consist of the first channel LVDS1 and second channel LVDS2 Signal Name Pin Pin Signal Name TX0 2 1 TX0 Ground 4 3 Ground TX1 6 5 TX1 5V 3 3V 8 7 Ground TX3 10 9 TX3 TX2 12 ...

Страница 24: ...s J3 Digital I O Signal Name Pin Pin Signal Name GND 1 2 VCC OUT3 3 4 OUT1 OUT2 5 6 OUT0 IN3 7 8 IN1 IN2 9 10 IN0 J5 CD In Pin Header Pin Signal Name 1 CD Audio R 2 Ground 3 Ground 4 CD Audio L J4 SPI Flash Connector factory use only J7 Front Audio Connector Signal Name Pin Pin Signal Name MIC2_L 1 2 Ground MIC2_R 3 4 Presence Line2_L 5 6 MIC2_ID Sense 7 8 NC Line2_R 9 10 Line2_ID J8 PCI E x1 Slot...

Страница 25: ... A3 B3 5V 3 3V A4 B4 3 3V RESET A5 B5 GND GND A6 B6 GND SDVOC_CLK A7 B7 SDVOC_CLK SDVOC_Blue A8 B8 SDVOC_Blue GND A9 B9 GND SDVOC_Green A10 B10 SDVOC_Green SDVOC_Red A11 B11 SDVOC_Red GND A12 B12 GND SDVO TVClkIn A13 B13 SDVO TVClkIn SDVOB Int A14 B14 SDVOB Int GND A15 B15 GND SDVO CtrlData A16 B16 SDVO CtrlClk SDVOB Clk A17 B17 SDVOB Clk GND A18 B18 GND SDVOB Blue A19 B19 SDVOB Blue SDVOB Green A...

Страница 26: ...ge 3 3V 5V ID390 J1 LCD Backlight Setting Pin Signal Name 1 12V 2 Backlight Enable 3 Ground ID390 J3 and J2 1 st 2 nd LVDS Channel Connectors Signal Name Pin Pin Signal Name TX0 2 1 TX0 Ground 4 3 Ground TX1 6 5 TX1 5V 3 3V 8 7 Ground TX3 10 9 TX3 TX2 12 11 TX2 Ground 14 13 Ground TXC 16 15 TXC 5V 3 3V 18 17 ENABKL 12V 20 19 12V ...

Страница 27: ...ATIONS MI945 User s Manual 23 ID390C J4 VGA Connector Signal Name Pin Pin Signal Name 5V 2 1 RED Ground 4 3 GREEN N C 6 5 BLUE SDA 8 7 N C HSYNC 10 9 Ground VSYNC 12 11 Ground SCL 14 13 Ground N C 16 15 Ground ...

Страница 28: ...Connectors Signal Name Pin Pin Signal Name TDC1 2 1 TDC1 Ground 4 3 Ground TLC 6 5 TLC 5V 8 7 Ground NC 10 9 HPDET TDC2 12 11 TDC2 Ground 14 13 Ground TDC0 16 15 TDC0 NC 18 17 NC DDC_SC 20 19 DDC_SD Remarks When using dual DVI the first DVI video output is through J1 After setting the drivers in Windows then the second DVI output via J2 will function ID391D and ID391 are different since the latter...

Страница 29: ...are as follows BIOS Introduction 26 BIOS Setup 26 Standard CMOS Setup 28 Advanced BIOS Features 31 Advanced Chipset Features 34 Integrated Peripherals 36 Power Management Setup 39 PNP PCI Configurations 42 PC Health Status 43 Frequency Voltage Control 44 Load Fail Safe Defaults 45 Load Optimized Defaults 45 Set Supervisor User Password 45 Save Exit Setup 45 Exit Without Saving 45 ...

Страница 30: ...S is immediately activated Pressing the Del key immediately allows you to enter the Setup utility If you are a little bit late pressing the Del key POST Power On Self Test will continue with its test routines thus preventing you from invoking the Setup If you still wish to enter Setup restart the system by pressing the Reset button or simultaneously pressing the Ctrl Alt and Delete keys You can al...

Страница 31: ...lays the control keys for this menu At the bottom of the Main Menu just below the control keys section there is another section which displays information on the currently highlighted item in the list Note If the system cannot boot after making and saving system changes with Setup the Award BIOS supports an override to the CMOS settings that resets your system to its default Warning It is strongly...

Страница 32: ...s 00 00 00 Menu Level IDE Channel 0 Master None Change the day month Year and century IDE Channel 1 Slave None IDE Channel 2 Master None IDE Channel 2 Slave None IDE Channel 3 Master None IDE Channel 3 Slave None IDE Channel 4 Master None IDE Channel 4 Slave None Video EGA VGA Halt On All But Keyboard Base Memory 640K Extended Memory 129024K Total Memory 130048K At the bottom of the menu are the c...

Страница 33: ...g up to two IDE hard disks or other IDE devices Press Enter to configure the hard disk The selections include Auto Manual and None Select Manual to define the drive information manually You will be asked to enter the following items CYLS Number of cylinders HEAD Number of read write heads PRECOMP Write precompensation LANDING ZONE Landing zone SECTOR Number of sectors The Access Mode selections ar...

Страница 34: ...or not the system will halt if an error is detected during power up No errors The system boot will not be halted for any error that may be detected All errors Whenever the BIOS detects a non fatal error the system will stop and you will be prompted All But Keyboard The system boot will not be halted for a keyboard error it will stop for all other errors All But Diskette The system boot will not be...

Страница 35: ...ed Boot Up NumLock Status On Gate A20 Option Fast Typematic Rate Setting Disabled Typematic Rate Chars Sec 6 Typematic Delay Msec 250 Security Option Setup APIC Mode Enabled MPS Version Control for OS 1 4 OS Select For DRAM 64MB Non OS2 Small Logo EPA Show Disabled Summary Screen Show Disabled CPU Feature Press Enter to configure the settings relevant to CPU Feature Hard Disk Boot Priority With th...

Страница 36: ...n OS from other devices other than the ones selected in the First Second Third Boot Device Boot Up NumLock Status This allows you to activate the NumLock function after you power up the system Gate A20 Option This field allows you to select how Gate A20 is worked Gate A20 is a device used to address memory above 1 MB Typematic Rate Setting When disabled continually holding down a key on your keybo...

Страница 37: ...lled up APIC Mode APIC stands for Advanced Programmable Interrupt Controller The default setting is Enabled MPS Version Control for OS This option is specifies the MPS Multiprocessor Specification version for your operating system MPS version 1 4 added extended configuration tables to improve support for multiple PCI bus configurations and improve future expandability The default setting is 1 4 OS...

Страница 38: ...SPWG 18bit SDVO Panel Number 1024x768 Active LVDS Device No LVDS Panel Scaling Auto Panel Number 1024x768 18 bit SC System BIOS Cacheable The setting of Enabled allows caching of the system BIOS ROM at F000h FFFFFh resulting in better system performance However if any program writes to this memory area a system error may result Memory Hole At 15M 16M In order to improve performance certain space i...

Страница 39: ... ID391D ID392D SDVO LVDS Protocol 1CH SPWG 18bit SDVO Panel Number 1024x768 Active LVDS Device No LVDS Panel Scaling Auto Panel Number 1024x768 18 bit SC Note SDVO Device Setting SDVO LVDS Protocol SDVO Panel Number for external device from connector CON1 Panel Scaling The default setting is Auto The options available include On and Off Panel Number These fields allow you to select the LCD Panel t...

Страница 40: ... IDE Primary Slave UDMA Auto On Chip Secondary PCI IDE Enabled IDE Secondary Master PIO Auto IDE Secondary Slave PIO Auto IDE Secondary Master UDMA Auto IDE Secondary Slave UDMA Auto SATA Mode IDE LEGACY Mode Support Enable IDE HDD Block Mode This field allows your hard disk controller to use the fast block mode to transfer data to and from your hard disk drive IDE DMA transfer access By default t...

Страница 41: ... mode Phoenix AwardBIOS CMOS Setup Utility SuperIO Device POWER ON Function BUTTON ONLY ITEM HELP KB Power ON Password Enter Hot Key power ON Ctrl F1 Onboard Serial Port 1 3F8 IRQ4 Menu Level Onboard Serial Port 2 2F8 IRQ3 UART Mode Select Normal PWRON After PWR Fail Off 2nd Super IO Device Onboard Serial Port 3 230 ITEM HELP Serial Port 3 Use IRQ IRQ5 Menu Level Onboard Serial Port 4 238 Serial P...

Страница 42: ...IOS CMOS Setup Utility USB Device Setting USB 1 0 Controller Enabled ITEM HELP USB 2 0 Controller Enabled USB Keyboard Function Enable USB Mouse Function Disable Menu Level USB Storage Function Enabled USB Mass Storage Device Boot Setting USB 1 0 Controller The options for this field are Enabled and Disabled By default this field is set to Enabled USB 2 0 Controller The options for this field are ...

Страница 43: ...ss Alarm 0 0 0 Reload Global Timer Events Primary IDE 0 Disabled Primary IDE 1 Disabled Secondary IDE 0 Disabled Secondary IDE 1 Disabled FDD COM LPT Port Disabled PCI PIRQ A D HPET Support HPET Mode Disabled Disabled 32 bit mode ACPI Function Enable this function to support ACPI Advance Configuration and Power Interface ACPI Suspend The default setting of the ACPI Suspend mode is S3 POS RUN VGABI...

Страница 44: ...n enabled and after the set time of system inactivity all devices except the CPU will be shut off HDD Power Down When enabled and after the set time of system inactivity the hard disk drive will be powered down while all other devices remain active Soft Off by PWRBTN This field defines the power off mode when using an ATX power supply The Instant Off mode allows powering off immediately upon press...

Страница 45: ... Timer Events The HDD FDD COM LPT Ports and PCI PIRQ are I O events that can prevent the system from entering a power saving mode or can awaken the system from such a mode When an I O device wants to gain the attention of the operating system it signals this by causing an IRQ to occur When the operating system is ready to respond to the request it interrupts itself and performs the service ...

Страница 46: ...ms Maximum Payload Size 4096 Init Display First The default setting is PCI Card Reset Configuration Data This field allows you to determine whether to reset the configuration data or not The default value is Disabled Resources Controlled by This PnP BIOS can configure all of the boot and compatible devices with the use of a PnP operating system such as Windows 95 PCI VGA Palette Snoop Some non sta...

Страница 47: ...This field allows the user to set the temperature so that when the temperature is reached the system sounds a warning This function can help prevent damage to the system that is caused by overheating Temperatures Voltages These fields are the parameters of the hardware monitoring function feature of the motherboard The values are read only values as monitored by the system and show the PC health s...

Страница 48: ...etup Utility Frequency Voltage Control Auto Detect PCI Clk Disabled ITEM HELP Spread Spectrum Modulated Disabled Menu Level Auto Detect PCI Clk This field enables or disables the auto detection of the PCI clock Spread Spectrum Modulated This field sets the value of the spread spectrum The default setting is Disabled This field is for CE testing use only ...

Страница 49: ...ssword message prompts on the screen Type the password up to eight characters in length and press Enter The system confirms your password by asking you to type it again After setting a password the screen automatically returns to the main screen To disable a password just press the Enter key when you are prompted to enter the password A message will confirm the password to be disabled Once the pas...

Страница 50: ...BIOS SETUP 46 MI945 User s Manual This page is intentionally left blank ...

Страница 51: ...tems missing please contact the vendor where you made the purchase The contents of this section include the following Intel Chipset Software Installation Utility 48 VGA Drivers Installation 50 AC97 Codec Audio Driver Installation 52 LAN Drivers Installation 53 IMPORTANT NOTE After installing your Windows operating system Windows 2000 XP you must install first the Intel Chipset Software Installatio...

Страница 52: ...vers to enable Plug Play INF support for Intel chipset components Follow the instructions below to complete the installation 1 Insert the CD that comes with the board Click Intel and then Intel R GM45 Chipset Drivers 2 Click Intel R Chipset Software Installation Utility 3 When the Welcome screen to the Intel Chipset Device Software appears click Next to continue ...

Страница 53: ...ccept the software license agreement and proceed with the installation process 5 On the Readme File Information screen click Next to continue the installation 6 The Setup process is now complete Click Finish to restart the computer and for changes to take effect ...

Страница 54: ...A drivers follow the steps below to proceed with the installation 1 Insert the CD that comes with the board Click Intel and then Intel R GM45 Chipset Drivers 2 Click Intel R GM45 Chipset Family Graphics Driver 3 When the Welcome screen to the Setup Program appears click Next to continue ...

Страница 55: ...nt and continue the installation 5 On the Readme File Information screen click Next to continue the installation of the Intel Graphics Media Accelerator Driver 6 On Setup Progress screen click Next to continue 7 Setup complete Click Finish to restart the computer and for changes to take effect ...

Страница 56: ... the Realtek AC97 Codec Audio Drivers 1 Insert the CD that comes with the board Click Intel and then Intel R GM45 Chipset Drivers 2 Click Realtek High Definition Code Audio Driver 3 On the Welcome to the InstallShield Wizard screen click Next 3 InstallShield Wizard is complete Click Finish to restart the computer ...

Страница 57: ... controllers 1 Insert the CD that comes with the motherboard Click LAN Card and then Intel R PRO 82574L LAN Drivers 2 When the Welcome screen to the InstallShield Wizard for Intel Network Connections appears click Next On the next screen click Yes to to agree with the license agreement 3 Click the checkbox for Drivers in the Setup Options screen to select it and click Next to continue ...

Страница 58: ...anual 4 The wizard is ready to begin installation Click Install to begin the installation 5 When InstallShield Wizard is complete click Finish Remarks This Intel PRO 82574L LAN drivers support both Intel 82574L and 82567LM LAN controllers ...

Страница 59: ...05Fh Timer 060h 06Fh Keyboard Controller 070h 07Fh Real Time Clock NMI 080h 09Fh DMA Page Register 0A0h 0BFh Interrupt Controller 2 0C0h 0DFh DMA Controller 2 0F0h Clear Math Coprocessor Busy Signal 0F1h Reset Math Coprocessor 1F0h 1F7h IDE Interface 278 27F Parallel Port 2 LPT2 2F8h 2FFh Serial Port 2 COM2 2B0 2DF Graphics adapter Controller 378h 3FFh Parallel Port 1 LPT1 360 36F Network Ports 3B...

Страница 60: ...ng table shows the IRQ used by the devices on board Level Function IRQ0 System Timer Output IRQ1 Keyboard IRQ2 Interrupt Cascade IRQ3 Serial Port 2 IRQ4 Serial Port 1 IRQ5 Reserved IRQ6 Floppy Disk Controller IRQ7 Parallel Port 1 IRQ8 Real Time Clock IRQ9 Reserved IRQ10 Reserved IRQ11 Reserved IRQ12 PS 2 Mouse IRQ13 80287 IRQ14 Primary IDE IRQ15 Secondary IDE ...

Страница 61: ...MPLE CODE THIS CODE AND INFORMATION IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND OR FITNESS FOR A PARTICULAR PURPOSE include stdio h include stdlib h include W627DHG H int main int argc char argv void copyright void void EnableWDT int void DisableWDT void int main int argc char argv unsigned ch...

Страница 62: ...igned char bBuf bBuf Get_W627DHG_Reg 0x2D bBuf 0x01 Set_W627DHG_Reg 0x2D bBuf Enable WDTO Set_W627DHG_LD 0x08 switch to logic device 8 Set_W627DHG_Reg 0x30 0x01 enable timer bBuf Get_W627DHG_Reg 0xF5 bBuf 0x08 Set_W627DHG_Reg 0xF5 bBuf count mode is second Set_W627DHG_Reg 0xF6 interval set timer void DisableWDT void Set_W627DHG_LD 0x08 switch to logic device 8 Set_W627DHG_Reg 0xF6 0x00 clear watch...

Страница 63: ...result unsigned char ucDid W627DHG_BASE 0x2E result W627DHG_BASE ucDid Get_W627DHG_Reg 0x20 if ucDid 0x88 goto Init_Finish W627DHG_BASE 0x4E result W627DHG_BASE ucDid Get_W627DHG_Reg 0x20 if ucDid 0x88 goto Init_Finish W627DHG_BASE 0x00 result W627DHG_BASE Init_Finish return result void Unlock_W627DHG void outportb W627DHG_INDEX_PORT W627DHG_UNLOCK outportb W627DHG_INDEX_PORT W627DHG_UNLOCK void L...

Страница 64: ...ND INFORMATION IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND OR FITNESS FOR A PARTICULAR PURPOSE ifndef __W627DHG_H define __W627DHG_H 1 defineW627DHG_INDEX_PORT W627DHG_BASE defineW627DHG_DATA_PORT W627DHG_BASE 1 defineW627DHG_REG_LD 0x07 define W627DHG_UNLOCK 0x87 defineW627DHG_LOCK 0xAA unsig...

Отзывы: