background image

 

 

MB899X 

Intel 

®

 Core

TM

 2 Duo 

Core

TM

 Duo/ Solo 945GM 

Mini-ITX Motherboard 

 

USER’S MANUAL 

Version 1.0

 

 

 
 

Содержание MB899X

Страница 1: ...MB899X Intel CoreTM 2 Duo CoreTM Duo Solo 945GM Mini ITX Motherboard USER S MANUAL Version 1 0 ...

Страница 2: ...ess Machines Corporation Intel and Intel Core 2 Duo and Intel Core Duo Solo 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: ...lling the Memory 7 Setting the Jumpers 8 Connectors on MB899X 11 BIOS Setup 23 Drivers Installation 45 Intel Chipset Software Installation Utility 46 VGA Drivers Installation 48 AC97 Codec Audio Driver Installation 50 LAN Drivers Installation 51 Appendix 53 A I O Port Address Map 53 B Interrupt Request Lines IRQ 54 C Watchdog Timer Configuration 55 D Digital I O Sample Code 62 ...

Страница 4: ...iv MB899X User s Manual THE MB899X MINI ITX MOTHERBOARD ...

Страница 5: ... board the board supports up to 4GB of DDR2 system memory Intel Graphics supports a unique intelligent memory management scheme called Dynamic Video Memory Technology DVMT DVMT handles diverse applications by providing the maximum 224MB availability of system memory for general computer usage while supplying additional graphics memory when a 3D intensive application requests it The Intel GMA 950 g...

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

Страница 7: ...ine in Mic SPDIF OUT NS LM4950 8 ohm 2W stereo audio power amplifier LPC I O W83627EHF COM1 COM2 RS232 Slim FDC 1 44MB IrDA x1 hardware monitor 3 thermal 4 voltage monitor inputs 2 fan headers Fintek F81216 COM3 COM4 RS232 Digital IO 4 in 4 out Keyboard Mouse Supports PS 2 Keyboard Mouse Connector Expansion Slots PIC E x16 slot x1 and Mini PCI socket x1 Mini PCIe X1 Edge Connector PS 2 Connector x...

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

Страница 9: ...ations This section provides information on how to use the jumpers and connectors on the MB899X 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 MB899X 11 ...

Страница 10: ...in the left picture 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 C...

Страница 11: ...es 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 align with those 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 DDR...

Страница 12: ... Contact your supplier if you have doubts about the best configuration for your needs The following lists the connectors on MB899X and their respective functions Jumper Locations on MB899X 9 JP2 CPU FSB Selection reserved 10 JP5 LCD Panel Power Selection 10 JP7 Clear CMOS Setting 10 JP8 CompactFlash Slave Master Selection 10 JP9 Internal External VGA Selection 10 ...

Страница 13: ... s Manual 9 Jumper Locations on MB899X Jumpers on MB899X Page JP2 CPU FSB Selection 10 JP5 LCD Panel Power Selection 10 JP7 Clear CMOS Setting 10 JP8 CompactFlash Slave Master Selection 10 JP9 Internal External VGA Selection 10 ...

Страница 14: ...P2 CPU FSB 533MHz 667MHz JP5 LCD Panel Power Selection JP5 LCD Panel Power 3 3V 5V JP7 Clear CMOS Setting JP7 Setting Normal Clear CMOS JP8 CompactFlash Slave Master Selection JP8 CF Setting Master Slave JP9 Internal External VGA Selection JP9 VGA Source Internal External ...

Страница 15: ... Serial ATA Connectors 14 FAN1 System Fan Power Connector 14 FAN2 CPU Fan Power Connector 14 IDE1 IDE Connector 15 FDD1 Floppy Drive Connector 15 J14 ATX Power Supply Connector 16 J1 IrDA Connector 16 J2 Digital I O 16 J3 System Function Connector 17 J4 TV OUT S Video Composite Connector 18 J5 TV OUT Y Pr Pb Connector 18 J6 USB5 6 Port Pin Header 19 J7 J21 J22 COM2 3 4 Serial Port 19 J8 Wake On LA...

Страница 16: ...INSTALLATIONS 12 MB899X User s Manual Connector Locations on MB899X ...

Страница 17: ...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 ...

Страница 18: ...ottom is composed of Line in Line out and Microphone jacks CN9 CN10 Serial ATA Connectors FAN1 System Fan Power Connector FAN1 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 FAN2 CPU Fan Power Connector FAN2 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 ...

Страница 19: ...rotect 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 FDD1 Floppy Drive Connector FDD1is a slim 26 pin connector and will support up to 2 88MB FDD Signal Name Pin Pin Signal Name VCC 1 2 INDEX VCC 3 4 DRV_SE...

Страница 20: ... Ground 13 3 Ground PS ON 14 4 5V Ground 15 5 Ground Ground 16 6 5V Ground 17 7 Ground 5V 18 8 Power good 5V 19 9 5VSB 11 1 20 10 5V 20 10 12V J1 IrDA Connector Pin Signal Name 1 5V 2 No connect 3 Ir RX 4 Ground 5 Ir TX J2 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 ...

Страница 21: ...wer 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 1 Speaker out 2 No connect 3 Ground 4 5V Power LED Pins 11 15 Pin Signal Name 11 Power LED 12 No connect 13 Ground 14 No connect 15 Ground ATX Power ON Switch Pins 7 and 17 This 2 pin connector is an ATX Power Supply On Off Switch on the syste...

Страница 22: ... LED on control panel This LED will flash when the HDD is being accessed Pin Signal Name 10 HDD Active 20 5V J4 TV OUT S Video Composite Connector J5 TV OUT Y Pr Pb Connector The pin assignments of the TV out connector are as follows Signal Name Pin Pin Signal Name NC 1 2 NC SL Y 3 4 Ground SC Pr 5 6 Ground CVBS Pb 7 8 Ground CVBS Composite signal Pb Component Chrominance Pb analog signal SL S Vid...

Страница 23: ... Name DCD Data carrier detect 1 6 DSR Data set ready RXD Receive 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 J8 Wake On LAN Connector J8 is a 3 pin header for the Wake On LAN function Wake On LAN will function properly only with an ATX power supply with 5VSB that has 200mA Pin Signal Name 1 5VSB 2 Groun...

Страница 24: ...X0 2 1 TX0 Ground 4 3 Ground TX1 6 5 TX1 5V 3 3V 8 7 Ground NA 10 9 NA TX2 12 11 TX2 Ground 14 13 Ground TXC 16 15 TXC 5V 3 3V 18 17 ENABKL 12V 20 19 12V J11 LCD Backlight Connector Pin Signal Name 1 12V 2 Backlight Enable 3 Ground J13 Mini PCI Connector U36 Mini PCI E x1 Connector bottom side J15 Speaker Connector The J15 connector supports 2W 8ohm stereo audio power amplifier Pin Signal Name 1 A...

Страница 25: ...o R 1 2 Rear Audio L Front Audio R 3 4 Front Audio L Mic In 5 6 VREF Out Ground 7 8 REMARKS To use the front audio connector the jumpers on pin 1 3 and pin 2 4 must be removed PCIEX16 PCI E x16 Slot J19 CD In Pin Header Pin Signal Name 1 CD Audio R 2 Ground 3 Ground 4 CD Audio L J20 Compact Flash Connector ...

Страница 26: ...INSTALLATIONS 22 MB899X User s Manual This page is intentionally left blank ...

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

Страница 28: ...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...

Страница 29: ...plays 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 strongl...

Страница 30: ...Wed Apr 28 2004 Item Help Time hh mm ss 00 00 00 Menu Level IDE Channel 0 Master None IDE Channel 0 Slave None IDE Channel 1 Master None Change the day month Year and century IDE Channel 1 Slave None Drive A 1 44M 3 5 in Drive B None Video EGA VGA Halt On All Errors Base Memory 640K Extended Memory 129024K Total Memory 130048K At the bottom of the menu are the control keys for use on this menu If ...

Страница 31: ...uto 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 are as follows CHS HD 528MB LBA HD 528MB and supports Logical Block Addressing Large for MS DOS only Auto Remarks...

Страница 32: ...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...

Страница 33: ... OS Select For DRAM 64MB Non OS2 Report No FDD For WIN 95 Yes Small Logo EPA Show Enabled Menu Level CPU Feature Press Enter to configure the settings relevant to CPU Feature Hard Disk Boot Priority With the field there is the option to choose aside from the hard disks connected Bootable add in Cards which refers to other external devices Virus Warning If this option is enabled an alarm message wi...

Страница 34: ...signments so that Drive A becomes Drive B and Drive B becomes Drive A By default this field is set to Disabled Boot Up Floppy Seek This feature controls whether the BIOS checks for a floppy drive while booting up If it cannot detect one either due to improper configuration or its absence it will flash an error message Boot Up NumLock Status This allows you to activate the NumLock function after yo...

Страница 35: ... 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 Select for DRAM 64MB This option allows the system to access greater than 64MB of DRAM memory when used with OS 2 that depends on certain BIOS calls to access memory The default setting is Non OS...

Страница 36: ...e 8MB DVMT Mode DVMT Menu Level DVMT FIXED memory Size 128MB Onboard PCI E LAN Enable LAN PXE Option ROM All Disable DRAM Timing Selectable This option refers to the method by which the DRAM timing is selected The default is By SPD CAS Latency Time You can configure CAS latency time in HCLKs as 2 or 2 5 or 3 The system board designer should set the values in this field depending on the DRAM instal...

Страница 37: ... error may result Video BIOS Cacheable The Setting Enabled allows caching of the video BIOS ROM at C0000h F7FFFh resulting in better video 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 in memory can be reserved for ISA cards This memory must be mapped into the memory space below 16 MB The...

Страница 38: ...p Utility OnChip IDE Device IDE HDD Block Mode Enabled ITEM HELP On chip Primary PCI IDE Enabled IDE Primary Master PIO Auto IDE Primary Slave PIO Auto IDE Primary Master UDMA Auto 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 On Chip Serial ATA Setting On Chip Se...

Страница 39: ...s enabled OnChip Primary Secondary PCI IDE The integrated peripheral controller contains an IDE interface with support for two IDE channels Select Enabled to activate each channel separately IDE Primary Secondary Master Slave PIO These fields allow your system hard disk controller to work faster Rather than have the BIOS issue a series of commands that transfer to or from the disk drive PIO Progra...

Страница 40: ...y default this field is set to Disabled AC97 Audio Select This field by default is set to Auto Power ON Function This field is related to how the system is powered on such as with the use of conventional power button keyboard or hot keys The default is BUTTON ONLY KB Power ON Password This field allows users to set the password when keyboard power on is the mode of the Power ON function Hot Key Po...

Страница 41: ...ues for these ports are Serial Port 1 3F8 IRQ4 Serial Port 2 2F8 IRQ3 UART Mode Select This field determines the UART 2 mode in your computer The default value is Normal Other options include IrDA and ASKIR PWRON After PWR Fail This field sets the system power status whether on or off when power returns to the system from a power failure situation ...

Страница 42: ...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 Disabled ACPI Function Enable this function to support ACPI Advance Configuration and Power Interface ACPI Suspend The default setting of the ACPI Suspend mode is S1 POS RUN VGABIOS if S3 Resume The default setting of this field is Auto...

Страница 43: ...en 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 pres...

Страница 44: ...l 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 ...

Страница 45: ...vel Select Yes if you are using a Plug and Play capable operating system Select No if you need the BIOS to configure non boot devices 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 compat...

Страница 46: ... 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 status Shutdown Temperature This f...

Страница 47: ...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 ...

Страница 48: ...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...

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

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

Страница 51: ...h the installation process 5 On Readme 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 When the computer has restarted the system will be able to find some devices Restart your computer when prompted ...

Страница 52: ...VGA drivers follow the steps below to proceed with the installation 1 Insert the CD that comes with the motherboard Click Intel Chipsets and then Intel R I945GMChipset Drivers 2 Click Intel R I945GMChipset Family Graphics Driver 3 When the Welcome screen appears click Next to continue ...

Страница 53: ...n 5 Restart the computer as promted and for changes to take effect IMPORTANT NOTE When you have restarted the computer your computer screen will be blank At this point press CTRL ALT F1 simultaneously if you are using CRT monitor If you are using LVDS LCD panel press CTRL ALT F3 If you are using DVI monitor press CTRL ALT F4 ...

Страница 54: ...low the steps below to install the Realtek AC97 Codec Audio Drivers 1 Insert the CD that comes with the motherboard Click Intel Chipsets and then Intel R I945GMChipset Drivers 2 Click Realtek AC 97 Codec Audio Driver 3 Click Finish to restart the computer and for changes to take effect ...

Страница 55: ...e installation of the Intel PRO LAN drivers 1 Insert the CD that comes with the motherboard Click Intel Chipsets and then Intel R I945GMChipset Drivers then Intel R PRO LAN Network Drivers 2 Click Install Base Software to continue 3 When prompted please to restart the computer for new settings to take effect ...

Страница 56: ...ard Click LAN Card and then Marvell LAN Controller Driver 2 Click Next when the InstallShield Wizard welcome screen appears 3 Click Next to agree with the license agreement 4 Click Next when the Readme Information screen appears to proceed with the drives installation process 5 When the Installation is complete click Finish for the changes to take effect ...

Страница 57: ... 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 3...

Страница 58: ...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 ...

Страница 59: ...AMPLE 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 W627EHF H int main int argc char argv void copyright void void EnableWDT int void DisableWDT void int main int argc char argv unsigned c...

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

Страница 61: ... result unsigned char ucDid W627EHF_BASE 0x2E result W627EHF_BASE ucDid Get_W627EHF_Reg 0x20 if ucDid 0x88 goto Init_Finish W627EHF_BASE 0x4E result W627EHF_BASE ucDid Get_W627EHF_Reg 0x20 if ucDid 0x88 goto Init_Finish W627EHF_BASE 0x00 result W627EHF_BASE Init_Finish return result void Unlock_W627EHF void outportb W627EHF_INDEX_PORT W627EHF_UNLOCK outportb W627EHF_INDEX_PORT W627EHF_UNLOCK void ...

Страница 62: ...D 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 __W627EHF_H define __W627EHF_H 1 define W627EHF_INDEX_PORT W627EHF_BASE define W627EHF_DATA_PORT W627EHF_BASE 1 define W627EHF_REG_LD 0x07 define W627EHF_UNLOCK 0x87 define W627EHF_LOCK 0xAA un...

Страница 63: ...ANTIES OF MERCHANTABILITY AND OR FITNESS FOR A PARTICULAR PURPOSE ifndef __W627HF_H define __W627HF_H 1 define W627HF_INDEX_PORT W627HF_BASE define W627HF_DATA_PORT W627HF_BASE 1 define W627HF_REG_LD 0x07 define W627HF_UNLOCK 0x87 define W627HF_LOCK 0xAA unsigned int Init_W627HF void void Set_W627HF_LD unsigned char void Set_W627HF_Reg unsigned char unsigned char unsigned char Get_W627HF_Reg unsig...

Страница 64: ...7HF void unsigned int Init_W627HF void unsigned int result 0 NA 1 627HF 2 627THF 4 627EHF W627HF_BASE 0x2E W627HF_BASE 0x4E result Get_W627HF_Reg 0x20 if result 0x52 result 1 goto Init_Finish else if result 0x82 result 2 goto Init_Finish else if result 0x88 result 4 goto Init_Finish W627HF_BASE 0x4E W627HF_BASE 0x2E result Get_W627HF_Reg 0x20 if result 0x52 result 1 goto Init_Finish else if result...

Страница 65: ...gned char LD Unlock_W627HF outportb W627HF_INDEX_PORT W627HF_REG_LD outportb W627HF_DATA_PORT LD Lock_W627HF void Set_W627HF_Reg unsigned char REG unsigned char DATA Unlock_W627HF outportb W627HF_INDEX_PORT REG outportb W627HF_DATA_PORT DATA Lock_W627HF unsigned char Get_W627HF_Reg unsigned char REG unsigned char Result Unlock_W627HF outportb W627HF_INDEX_PORT REG Result inportb W627HF_DATA_PORT L...

Страница 66: ...ucDO 0 data for digital output unsigned char ucDI data for digital input unsigned char ucBuf char SIO SIO Init_W627HF if SIO 0 printf Can not detect Winbond 83627HF 83627THF 83627EHF program abort n return 1 switch SIO case 1 printf Winbond 83627HF is detected n break case 2 printf Winbond 83627THF is detected n break case 4 printf Winbond 83627EHF is detected n break bit 0 3 input signal bit 4 7 ...

Страница 67: ... 63 return result void SetDo unsigned char NewData unsigned char Mask Set_W627HF_LD 0x07 switch to logic device 7 Set_W627HF_Reg 0xF0 Mask set the DIO direction Set_W627HF_Reg 0xF1 NewData Mask void ClrKbBuf void while kbhit getch ...

Страница 68: ...APPENDIX 64 MB899X User s Manual This page is intentionally left blank ...

Отзывы: