IB940 LGA775 Core™ 2 Duo Intel® Q965 Chipset Full Size CPU Card USER’S MANUAL Version 1.
Acknowledgments Award is a registered trademark of Award Software International, Inc. PS/2 is a trademark of International Business Machines Corporation. Intel and Core 2 Duo 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.
Table of Contents Introduction ....................................................... 1 Product Description ............................................................. 1 Checklist .............................................................................. 2 Specifications ...................................................................... 3 Board Dimensions ............................................................... 4 Installations .......................................................
ATTENTION: It is strongly recommended that only heatsinks that have corresponding (metal) backplates be used on the CPU card. This is to avoid the CPU card being bent/distorted, causing the CPU card to become damaged. A reference picture of a backplate and heatsink that has backplate are shown below.
INTRODUCTION Introduction Product Description The IB940 CPU card is based on the Intel Q965 chipset and supports the Intel® Core™2 Duo processor with 1066/800/533 MHz System Bus. It supports the PCI Express x16 graphics interface for the latest high-performance graphics cards. The PCI Express x1 I/O ports offer up to 3.5X the bandwidth over traditional PCI architecture, delivering faster access to peripheral I/O devices.
INTRODUCTION Checklist Your IB940 Core 2 Duo CPU Card package should include the items listed below: • The IB940 Card • This User’s manual • 1 x IDE cable • 1 x Floppy cable • 1 x SATA cable • 1 x TMDS cable • 2 Serial Port Ribbon Cable and 1 Parallel Port Attached to a Mounting Bracket • 1 Y-Cable supporting a PS/2 Keyboard and a PS/2 Mouse • Audio cable with bracket (Audio-18K) • USB cable with bracket (USB2K-4) • 1 CD containing the following: • Chipset Drivers • Flash Memory Utility • Optional SATA Pow
INTRODUCTION Specifications Form Factor Processor FSB Chipset BIOS Memory Video DVI LVDS LAN Audio LPC I/O USB SATA II IDE PCI-to-ISA bridge Expansion Edge Connector On Board Headers / Connectors RTC Watchdog Timer Digital IO System Voltage Board Size Full Size CPU Card (PICMG1.
INTRODUCTION Board Dimensions 121.92 116.84 O 4 .06 5.08 0 0 5.07 0 5.08 JP8 J24 313.18 333.17 338.25 338.25 IB940 User’s Manual 121.92 100.34 90.07 53.95 65.07 36.93 17.78 5.
INSTALLATIONS Installations This section provides information on how to use the jumpers and connectors on the IB940 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 IB940 ...................................
INSTALLATIONS Installing the CPU The IB940 CPU Card supports an LGA 775 processor socket for Intel® Core 2 Duo processors. The LGA 775 processor socket comes with a lever to secure the processor. Refer to the pictures below, from left to right, on how to place the processor into the CPU socket. Please note that the cover of the LGA775 socket must always be installed during transport to avoid damage to the socket.
INSTALLATIONS Installing the Memory The IB940 CPU Card supports four DDR2 memory sockets for a maximum total memory of 4GB in DDR memory type. It supports DDR2 533/667/800. Basically, the system memory interface has the following features: Supports two 64-bit wide DDR data channels Available bandwidth up to 6.4GB/s (DDR2 800) for single-channel mode. Supports 256Mb, 512Mb, 1Gb DDR2 technologies.
INSTALLATIONS Setting the Jumpers Jumpers are used on IB940 to select various settings and features according to your needs and applications. Contact your supplier if you have doubts about the best configuration for your needs. The following lists the connectors on IB940 and their respective functions. Jumper Locations on IB940 ................................................................... 9 JBAT1: Clear CMOS Contents ............................................................
INSTALLATIONS Jumper Locations on IB940 CPU_FAN1 ATX1 BZ1 J2 J25 CPU1 DDRII2 J24 J20 J21 DDRII1 JP8 J22 JP7 J19 J1 FAN1 J9 J18 JBAT1 BAT1 SATA3 J14 J17 J15 SATA4 SATA1 SATA2 IDE1 J6 FDC1 J8 JP6 J4 J7 J5 VGA1 J13 JP4 JP5 J11 J3 J10 J12 JP1 JP2 JP3 Jumpers on IB940 ............................................................................. Page JBAT1: Clear CMOS Contents ........................................................................
INSTALLATIONS JBAT1: Clear CMOS Contents Use JBAT1, a 3-pin header, to clear the CMOS contents. Note that the ATX-power connector should be disconnected from the CPU Card before clearing CMOS. JBAT1 Setting Function Pin 1-2 Short/Closed Normal Pin 2-3 Short/Closed Clear CMOS JP1, JP2, JP3: RS232/422/485 (COM2) Selection COM1 is fixed for RS-232 use only. COM2 is selectable for RS232, RS-422 and RS-485. ID394: COM3 and COM4 are fixed for RS-232 use only.
INSTALLATIONS JP7: Processor Setting JP7 Setting Processor Used Pin 1-2 Short/Closed Celeron D Pin 1-2 Open Core 2 Duo, Pentium D, Pentium 4 HT JP8: LVDS Panel Power Select JP8 Setting Panel Voltage Pin 1-2 Short/Closed 3.3V (default) Pin 2-3 Short/Closed 5V J25: Power Supply Type Select Use J25, a 3-pin header, to select between AT and ATX power supply.
INSTALLATIONS [ Connectors on IB940 The connectors on IB940 allows you to connect external devices such as keyboard, floppy disk drives, hard disk drives, printers, etc. The following table lists the connectors on IB940 and their respective functions. Jumper Locations on IB940 ................................................................. 13 CPU_FAN1: CPU Fan Power Connector ........................................... 14 PWR_FAN1: SYSTEM Fan Power Connectors..................................
INSTALLATIONS Jumper Locations on IB940 BZ1 J2 J25 DDRII2 DDRII1 J20 J21 J24 J22 JP7 J19 J1 FAN1 J9 J18 JBAT1 BAT1 J14 J15 J17 IDE1 J6 FDC1 J8 JP6 J4 J7 J11 J5 J13 VGA1 JP4 JP5 J3 J10 J12 13 IB940 User’s Manual CPU_FAN1 ATX1 CPU1 JP8 SATA2 SATA4 SATA1 SATA3 JP1 JP2 JP3
INSTALLATIONS The connectors on IB940 allows you to connect external devices such as keyboard, floppy disk drives, hard disk drives, printers, etc. The following table lists the connectors on IB940 and their respective functions. CPU_FAN1: CPU Fan Power Connector Pin # 4 3 2 1 Signal Name Control Sense +12V Ground PWR_FAN1: SYSTEM Fan Power Connectors Pin # 1 2 3 Signal Name Sense +12V Rotation detection VGA1: VGA CRT Connector VGA1 is a DB-15 VGA connector located beside the COM1 port.
INSTALLATIONS FDC1: Floppy Drive Connector Signal Name Pin # Pin # Signal Name Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 RM/LC No connect No connect Index Motor enable 0 Drive select 1 Drive select 0 Motor enable 1 Direction Step Write data Write gate Track 00 Write protect Read data Side 1 select Diskette change IDE1: Primary IDE
INSTALLATIONS S_ATA1, S_ATA2, S_ATA3, S_ATA4: SATA HDD Connectors Pin # Signal Name 1 Ground 2 TX+ 3 TX4 Ground 5 RX6 RX+ 7 Ground ATX1: 12V/+12V Power Connector Pin # 1 2 3 4 Signal Name Ground Ground +12V +12V J1: TMDS Panel Connector TMDS stands Transition Minimized Differential Signaling.
INSTALLATIONS J2: System Function Connector J2 provides connectors for system indicators that provide light indication of the computer activities and switches to change the computer status. J1 is a 20-pin header that provides interfaces for the following functions. Hard Disk Drive LED Reset Switch Not Defined ATX Power On Switch SMI / Hardware Switch 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.
INSTALLATIONS SMI/Hardware Switch: Pins 6 and 16 This connector supports the "Green Switch" on the control panel, which, when pressed, will force the system into the power-saving mode immediately. Pin # 6 Signal Name 16 Ground SMI ATX Power ON Switch: Pins 7 and 17 This 2-pin connector is an “ATX Power Supply On/Off Switch” on the system that connects to the power switch on the case. When pressed, the power switch will force the system to power on.
INSTALLATIONS J3: Parallel Port Connector The following table describes the pin out assignments of this connector.
INSTALLATIONS J6: Digital I/O Connector (4 in, 4 out) This 10-pin digital I/O connector supports TTL levels and is used to control external devices requiring ON/OFF circuitry. Signal Name Ground Out3 Out2 IN3 IN2 Pin # 1 3 5 7 9 Pin # 2 4 6 8 10 Signal Name +5V Out1 Out0 IN1 IN0 J7: Audio Connector for 5.
INSTALLATIONS J10: CD-In Audio Connector Pin # 1 2 3 4 Signal Name CD Audio R Ground Ground CD Audio L J11, J12: External PS/2 Keyboard and Mouse Connector Pin # 1 2 3 4 5 J11 KB clock KB data N.C. Ground Vcc J12 Mouse data N.C. Ground Vcc Mouse clock J13: PS/2 Keyboard and Mouse Connector J13 uses a Y-cable with dual D-connectors for a PS/2 keyboard and a PS/2 mouse.
INSTALLATIONS J16: Intel 82562V 10/100 or Intel 82566DC GbE RJ-45 J16 is the 10/100 or Gigabit LAN RJ45 connector based on the Intel PCI Express 10/100 or GbE controller. Note: 10/100 LAN for IB940; Gigabit LAN for IB940F J18: Wake On LAN Connector J18 is a 3-pin header for the Wake On LAN function on the CPU Card. The following table shows the pin out assignments of this connector. Wake On LAN will function properly only with an ATX power supply with 5VSB that has 1A.
INSTALLATIONS J22: Panel Inverter Power Connector Pin # Signal Name 1 +12V 2 ENABKL 3 Ground Remarks: Maximum current is 1A. J23: Intel PCI Express GbE RJ45 Connector J23 is the Gigabit LAN RJ45 connector based on the Intel PCI Express GbE controller.
INSTALLATIONS This page is intentionally left blank.
BIOS SETUP BIOS Setup This chapter describes the different settings available in the Award BIOS that comes with the board. The topics covered in this chapter are as follows: BIOS Introduction ........................................................................ 26 BIOS Setup ................................................................................... 26 Standard CMOS Setup ................................................................. 28 Advanced BIOS Features .................................
BIOS SETUP BIOS Introduction The Award BIOS (Basic Input/Output System) installed in your computer system’s ROM supports Intel processors. The BIOS provides critical low-level support for a standard device such as disk drives, serial ports and parallel ports. It also adds virus and password protection as well as special support for detailed fine-tuning of the chipset controlling the entire system.
BIOS SETUP Phoenix - AwardBIOS CMOS Setup Utility Standard CMOS Features Advanced BIOS Features Advanced Chipset Features Integrated Peripherals Power Management Setup PnP/PCI Configurations PC Health Status Frequency/Voltage Control Load Fail-Safe Defaults Load Optimized Defaults Set Supervisor Password Set User Password Save & Exit Setup Exit Without Saving ESC : Quit F10 : Save & Exit Setup Ç È Æ Å : Select Item Time, Date, Hard Disk Type… The section below the setup items of the Main Menu displays
BIOS SETUP Standard CMOS Setup “Standard CMOS Setup” choice allows you to record some basic hardware configurations in your computer system and set the system clock and error handling. If the motherboard is already installed in a working system, you will not need to select this option. You will need to run the Standard CMOS option, however, if you change your system hardware configurations, the onboard battery fails, or the configuration stored in the CMOS memory was lost or damaged.
BIOS SETUP To set the date, highlight the “Date” field and use the PageUp/ PageDown or +/- keys to set the current time. Time The time format is: Hour : 00 to 23 Minute : 00 to 59 Second : 00 to 59 To set the time, highlight the “Time” field and use the / or +/- keys to set the current time. IDE Channel Master/Slave The onboard Serial ATA connectors provide Primary and Secondary channels for connecting up to four Serial ATA hard disks .
BIOS SETUP Video This field selects the type of video display card installed in your system. You can choose the following video display cards: EGA/VGA For EGA, VGA, SEGA, SVGA or PGA monitor adapters. (default) CGA 40 Power up in 40 column mode. CGA 80 Power up in 80 column mode. MONO For Hercules or MDA adapters. Halt On This field determines whether 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.
BIOS SETUP Advanced BIOS Features This section allows you to configure and improve your system and allows you to set up some system features according to your preference.
BIOS SETUP Hyper-Threading Technology Hyper-Threading Technology enables two logical processors on a single physical processor by replicating, partitioning, and sharing the resources within the Intel NetBurst microarchitecture pipeline. Quick Power On Self Test When enabled, this field speeds up the Power On Self Test (POST) after the system is turned on. If it is set to Enabled, BIOS will skip some items.
BIOS SETUP Typematic Delay (Msec) When the typematic rate is enabled, this item allows you to set the time interval for displaying the first and second characters. By default, this item is set to 250msec. Security Option This field allows you to limit access to the System and Setup. The default value is Setup. When you select System, the system prompts for the User Password every time you boot up.
BIOS SETUP Advanced Chipset Features This Setup menu controls the configuration of the chipset.
BIOS SETUP Integrated Peripherals This section sets configurations for your hard disk and other integrated peripherals. The first screen shows three main items for user to select. Once an item selected, a submenu appears. Details follow.
BIOS SETUP 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 This field, by default, is enabled OnChip Secondary PCI IDE This field, by default, is enabled IDE Primary/Secondary Master/Slave PIO These fields allow your system hard disk controller to work faster.
BIOS SETUP Onboard Serial/Parallel Port These fields allow you to select the onboard serial and parallel ports and their addresses. The default values for these ports are: Serial Port 1 3F8/IRQ4 Serial Port 2 2F8/IRQ3 Parallel Port 378H/IRQ7 UART Mode Select This field determines the UART 2 mode in your computer. The default value is Normal. Other options include IrDA and ASKIR. Parallel Port Mode This field allows you to determine parallel port mode function.
BIOS SETUP Power Management Setup Phoenix - AwardBIOS CMOS Setup Utility Power Management Setup ACPI Function Enabled ACPI Suspend Power Management Video Off Method Video Off In Suspend Suspend Type Modem Use IRQ Suspend Mode HDD Power Down Soft-Off by PWR-BTTN CPU THRM-Throttling Wake Up by PCI card Power On by Ring Resume by Alarm Date (of Month) Alarm Time (hh:mm:ss) Alarm S3(STR) User Define V/H SYNC+Blank Yes Stop Grant 3 Disabled Disabled Instant-Off 75.
BIOS SETUP Video Off Method This field defines the Video Off features. There are three options. V/H SYNC + Blank Default setting, blank the screen and turn off vertical and horizontal scanning. DPMS Allows BIOS to control the video display. Blank Screen Writes blanks to the video buffer. Video Off In Suspend When enabled, the video is off in suspend mode. Suspend Type The default setting for the Suspend Type field is Stop Grant. Modem Use IRQ This field sets the IRQ used by the Modem.
BIOS SETUP Resume by Alarm This field enables or disables the resumption of the system operation. When enabled, the user is allowed to set the Date and Time. Reload Global 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.
BIOS SETUP PNP/PCI Configurations This option configures the PCI bus system. All PCI bus systems on the system use INT#, thus all installed PCI cards must be set to this value.
BIOS SETUP PC Health Status Phoenix - AwardBIOS CMOS Setup Utility PC Health Status Shutdown Temperature CPU Warning Temperature System Temp CPU Temp System Fan Speed CPU Fan Speed Vcore 12 V 1.8 V 5 V 3.3 V VBAT (V) 5VSB(V) Disabled Disabled 32°C/89°F 39°C/102°F 4000 RPM 4000 RPM 1.24 V 12.03 V 1.92 V 4.99 V 3.15 V 3.13 V 5.29 V ITEM HELP Menu Level > CPU Warning Temperature This field allows the user to set the temperature so that when the temperature is reached, the system sounds a warning.
BIOS SETUP Frequency/Voltage Control Phoenix - AwardBIOS CMOS Setup Utility Frequency/Voltage Control CPU Clock Ratio Unlock Disabled CPU Clock Ratio Auto Detect PCI Clk Spread Spectrum CPU Host / SRC / PCI Clock 8x Disabled Disabled Default ITEM HELP Menu Level > CPU Clock Ratio Unlock This field has a default setting of Disabled. When enabled, it allows the CPU clock ratio setting in the next field to be changed to a ‘lower’ ratio.
BIOS SETUP Load Fail-Safe Defaults This option allows you to load the troubleshooting default values permanently stored in the BIOS ROM. These default settings are non-optimal and disable all high-performance features. Load Optimized Defaults This option allows you to load the default values to your system configuration. These default settings are optimal and enable all high performance features. Set Supervisor/User Password These two options set the system password.
DRIVERS INSTALLATION Drivers Installation This section describes the installation procedures for software and drivers under the Windows 2000 and Windows XP. The software and drivers are included with the board. If you find the items missing, please contact the vendor where you made the purchase. The contents of this section include the following: Intel Q965 Chipset Software Installation Utility ............... 46 Intel Q965 Chipset Graphics Driver..................................
DRIVERS INSTALLATION Intel Q965 Chipset Software Installation Utility The Intel® Q965 Chipset Drivers should be installed first before the software drivers to enable Plug & Play INF support for Intel chipset components. Follow the instructions below to complete the installation under Windows 2000/XP. (Before installed Intel Chipset Software Installation Utility,Please update your system to Windows 2000 SP4 or Windows XP SP1A) 1. Insert the CD that comes with the board and the screen below would appear.
DRIVERS INSTALLATION 2. When the Welcome screen appears, click Next to continue. 3. Click Yes to accept the software license agreement and proceed with the installation process. 4. On the Readme Information screen, click Next to continue the installation. 5. The Setup process is now complete. Click Finish to restart the computer and for changes to take effect.
DRIVERS INSTALLATION Intel Q965 Chipset Graphics Driver Follow the instructions below to complete the installation under Windows 2000/XP. 1. Insert the CD that comes with the board and the screen below would appear. Click Intel (R) Q965 Chipset Drivers, then Intel (R) Q965 Chipset Family Graphics Driver. 2. When the Welcome screen appears, click Next to continue.
DRIVERS INSTALLATION 3. Click Yes to accept the software license agreement and proceed with the installation process. 4. On Readme File Information screen, click Next to continue. 5. On Setup Progress 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.
DRIVERS INSTALLATION Realtek Codec Audio Driver Installation 1. Insert the CD that comes with the board and the screen below would appear. Click Intel (R) Q965 Chipset Drivers, then Realtek High Definition Codec Audio Driver. 2. When the Welcome screen appears, click Next to continue. 3. The Setup process is now complete. Restart the computer when prompted for changes to take effect.
DRIVERS INSTALLATION Intel LAN Drivers Installation Follow the steps below to start installing the Intel PCI Express Gigabit LAN drivers. 1. Insert the CD that comes with the board. On the initial screen, Click Intel (R) Q965 Chipset Drivers, then Intel(R) PRO LAN Network Drivers. 2. On the next screen, click Install Drivers to start the drivers installation.
DRIVERS INSTALLATION 3. When the Welcome screen appears, click Next to continue. 4. In the License Agreement screen, click I accept the terms in license agreement and Next to accept the software license agreement and proceed with the installation process. 5. When the Setup Type screen appears, click Complete and Next to continue. 6. When the Ready to Install the Program screen appears, click Install to continue. 7. The Setup process is now complete (InstallShield Wizard Completed).
APPENDIX Appendix A. I/O Port Address Map Each peripheral device in the system is assigned a set of I/O port addresses that also becomes the identity of the device. The following table lists the I/O port addresses used.
APPENDIX B. Interrupt Request Lines (IRQ) Peripheral devices use interrupt request lines to notify CPU for the service required. The following table shows the IRQ used by the devices on board.
APPENDIX C. Watchdog Timer Configuration The WDT is used to generate a variety of output signals after a user programmable count. The WDT is suitable for use in the prevention of system lock-up, such as when software becomes trapped in a deadlock. Under these sorts of circumstances, the timer will count to zero and the selected outputs will be driven. Under normal circumstance, the user will restart the WDT at regular intervals before the timer counts to zero.
APPENDIX printf("System will reset after %d seconds\n", bTime); EnableWDT(bTime); return 0; } //======================================================================= 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) {
APPENDIX //======================================================================= // // 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 "W627EHF.H" #include
APPENDIX Lock_W627EHF(); } //======================================================================= void Set_W627EHF_Reg( unsigned char REG, unsigned char DATA) { Unlock_W627EHF(); outportb(W627EHF_INDEX_PORT, REG); outportb(W627EHF_DATA_PORT, DATA); Lock_W627EHF(); } //======================================================================= unsigned char Get_W627EHF_Reg(unsigned char REG) { unsigned char Result; Unlock_W627EHF(); outportb(W627EHF_INDEX_PORT, REG); Result = inportb(W627EHF_DATA_PORT); Lock_
APPENDIX D. Digital I/O Sample Code Filename: W627hf.h //===================================================================== // // 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.
APPENDIX Filename: W627hf.cpp //===================================================================== // // 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.
APPENDIX W627HF_BASE = 0x00; result = 0; Init_Finish: return (result); } //======================================================================= void Unlock_W627HF (void) { outportb(W627HF_INDEX_PORT, W627HF_UNLOCK); outportb(W627HF_INDEX_PORT, W627HF_UNLOCK); } //======================================================================= void Lock_W627HF (void) { outportb(W627HF_INDEX_PORT, W627HF_LOCK); } //======================================================================= void Set_W627HF_LD( unsigned
APPENDIX File of the Main.cpp //===================================================================== // 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 #include #include #include #include "W627HF.
APPENDIX unsigned char result; Set_W627HF_LD(0x07); Set_W627HF_Reg(0xF0, Mask); result = Get_W627HF_Reg(0xF1) & Mask; return (result); //switch to logic device 7 //set the DIO direction } //--------------------------------------------------------------------------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); } //-----------------------------------------------
APPENDIX This page is intentionally left blank.