MB970 Intel ® Ivy Bridge / PCH ATX Motherboard USER’S MANUAL Version 1.
Acknowledgments AMI is a registered trademark of American Megatrends Inc. PS/2 is a trademark of International Business Machines Corporation. Intel and Intel® Ivy Bridge (Sandy Bridge) DC/QC Processor are registered trademarks of Intel Corporation. Microsoft Windows is a registered trademark of Microsoft Corporation. Fintek is a registered trademark of Fintek Electronics Corporation. All other product names or trademarks are properties of their respective owners.
Table of Contents Introduction ...................................................... 1 Product Description ............................................................ 1 Checklist............................................................................. 2 MB970 Specifications ........................................................ 3 Board Dimensions .............................................................. 5 Installations ......................................................
This page is intentionally left blank.
INTRODUCTION Introduction Product Description @ The MB970 ATX motherboard is based on the latest Intel Q77 chipset. The platform supports 3rd generation Intel@ Core processor family with LGA1155 packing and features an integrated dual-channel DDR3 memory controller as well as a graphics core. The latest Intel@ processors provide advanced performance in both computing and graphics quality. This meets the requirement of customers in the gaming, POS, digital signage and server market segment.
INTRODUCTION Checklist Your MB970 package should include the items listed below.
INTRODUCTION MB970 Specifications Product Name Form Factor CPU Type CPU Speed Cache CPU Socket Chipset BIOS Memory VGA LAN USB Serial ATA Storage Device Audio LPC I/O Digital IO IAMT(8.0) TPM 1.2 PCI to ISA Expansion Slots Edge Connectors Onboard Header/ Connector Watchdog Timer System Voltage Others MB97VF/MB970F ATX - Intel® Ivy Bridge 22nm QC/DC DT processor - LGA package 37.5 mm x 37.5mm(TDP: QC= 95W/65W/45W ; DC=65W/45W) **Ivy-DT CPU socket compatible with Sandy Bridge Up to 3.
INTRODUCTION Board Size 4 305mm x 244mm MB970 User’s Manual
INTRODUCTION [ Board Dimensions MB970 User’s Manual 5
INSTALLATIONS Installations This section provides information on how to use the jumpers and connectors on the MB970 in order to set up a workable system. The topics covered are: Installing the CPU................................................................................ 7 Installing the Memory .......................................................................... 8 Setting the Jumpers.............................................................................. 9 Connectors on MB970..............
INSTALLATIONS Installing the CPU The MB970 board supports an LGA1155 Socket (shown below) for Intel Sandy Bridge processors. To install the CPU, unlock first the socket by pressing the lever sideways, then lift it up to a 90-degree. Then, position the CPU above the socket such that the CPU corner aligns with the gold triangle matching the socket corner with a small triangle. Carefully insert the CPU into the socket and push down the lever to secure the CPU. Then, install the heat sink and fan.
INSTALLATIONS Installing the Memory The MB970 board supports four DDR3 memory socket for a maximum total memory of 32GB in DDR3 DIMM memory type. Installing and Removing Memory Modules To install the DDR3 modules, locate the memory slot on the board and perform the following steps: 1. Hold the DDR3 module so that the key of the DDR3 module aligned with that on the memory slot. 2.
INSTALLATIONS Setting the Jumpers Jumpers are used on MB970 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 MB970 and their respective functions. Jumper Locations on MB970 ............................................................. 10 JBAT1: Clear CMOS Contents ..........................................................
INSTALLATIONS Jumper Locations on MB970 Jumpers on MB970......................................................................... Page JBAT1: Clear CMOS Contents .......................................................... 11 JP1, JP2, JP3: RS232/RS422/RS485 (COM1) Selection .................... 11 JP4: COM1 RS232 RI/+5V/+12V Power Setting ............................... 11 JP5: COM2 RS232 RI/+5V/+12V Power Setting...............................
INSTALLATIONS JBAT1: Clear CMOS Contents JBAT1 Setting Function Pin 1-2 Short/Closed Normal Pin 2-3 Short/Closed Clear CMOS JP1, JP2, JP3: RS232/RS422/RS485 (COM1) Selection COM1 Function Jumper Setting (pin closed) RS-232 RS-422 RS-485 JP1: 3-5&4-6 JP2: 1-3&2-4 JP1: 1-3&2-4 JP3: 1-2 JP3: 3-4 JP3: 5-6 JP2: 3-5 & 4-6 JP2: 1-3 & 2-4 JP2: 1-3 & 2-4 JP4: COM1 RS232 RI/+5V/+12V Power Setting JP4 Setting Pin 1-2 Short/Closed Pin 3-4 Short/Closed Pin 5-6 Short/Closed Function +12V RI +5V J
INSTALLATIONS JP8: Flash Descriptor Security Override (Factory use only) JP8 Open Close Flash Descriptor Security Override Disabled (Default) Enabled JP14: SATA (CN12) / CFAST (CN16) Selection JBAT1 12 Setting Function Pin 1-2 Short/Closed CFAST Pin 2-3 Short/Closed SATA MB970 User’s Manual
INSTALLATIONS Connectors on MB970 Connector Locations on MB970 ........................................................ 14 CN2: COM1 and COM2 Serial Ports ................................................. 15 CN3: DVI-D and DVI-I Connector .................................................... 15 CN20: USB3.0 Connector ................................................................. 16 J19, J20: COM3, COM4 RS232 Serial Ports ......................................
INSTALLATIONS Connector Locations on MB970 14 MB970 User’s Manual
INSTALLATIONS CN2: COM1 and COM2 Serial Ports Pin # Signal Name RS-232 R2-422 RS-485 [ 1 2 3 4 5 6 7 8 9 10 DCD RX TX DTR Ground DSR RTS CTS RI NC TXTX+ RX+ RXGround NC NC NC NC NC CN3: DVI-D and DVI-I Connector Signal Name Pin # DATA 2DATA 2+ Shield 2/4 DATA 4DATA 4+ DDC CLOCK DDC DATA N.
INSTALLATIONS [ Signal Name Pin # Pin # Signal Name DATA 2DATA 2+ Shield 2/4 DATA 4DATA 4+ DDC CLOCK DDC DATA N.C DATA 1DATA 1+ SHIELD 1/3 DATA 3DATA 3+ DDC POWER A GROUND 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 C1 C2 C3 C4 C5 C6 HOT POWER DATA 0DATA 0+ SHIELD 0/5 DATA 5DATA 5+ SHIELD CLK CLOCK CLOCK + N.C. N.C. N.C. N.C. N.C. N.C. CN20: USB3.
INSTALLATIONS CN5: Display Port Connector CN9, CN10, CN11, CN12, CN13, CN14: SATA Connectors CN8: Compact Flash Connector J1: Audio Pin Header for Chassis Front Panel Signal Name Pin Pin Signal Name MIC IN_L 1 2 Ground MIC IN_R 3 4 DET LINE_R 5 6 Ground Sense 7 8 KEY LINE_L 9 10 Ground J2: SPDIF I/O Pin # 1 2 3 4 Signal Name SPDIF IN Ground SPDIF OUT Ground J3: ATX 12V Power Connector This connector supplies the CPU operating voltage.
INSTALLATIONS J7, J12, J14: USB Connectors Signal Name VCC D0D0+ GND KEY Pin 1 3 5 7 9 Pin 2 4 6 8 10 Signal Name VCC D1D1+ GND NC J15: Front Panel Function Connector Signal Name Pin # Pin # Signal Name SPK + NC SPK – (GND) SPK – (GND) NC NC PWR_SW NC RST HDD LED - 1 3 5 7 9 11 13 15 17 19 2 4 6 8 10 12 14 16 18 20 PWR LED + PWR LED- (GND) PWR LED- (GND) NC NC NC PWR_SW NC GND HDD LED + J16: Digital I/O Signal Name GND OUT3 OUT2 IN3 IN2 Pin 1 3 5 7 9 Pin 2 4 6 8 10 Signal Name VCC OUT1 OUT0
INSTALLATIONS J18: ATX Power Supply Connector Signal Name 3.3V -12V Ground PS-ON Ground Ground Ground -5V +5V +5V Pin # 11 12 13 14 15 16 17 18 19 20 Pin # 1 2 3 4 5 6 7 8 9 10 Signal Name 3.3V 3.
BIOS SETUP BIOS Setup This chapter describes the different settings available in the AMI BIOS that comes with the board. The topics covered in this chapter are as follows: BIOS Introduction ............................................................................. 20 BIOS Setup ....................................................................................... 20 Advanced Settings ............................................................................. 22 Chipset Settings ......................
BIOS SETUP BIOS Introduction The 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 password protection as well as special support for detailed fine-tuning of the chipset controlling the entire system. BIOS Setup The BIOS provides a Setup utility program for specifying the system configurations and settings.
BIOS SETUP Main Settings Aptio Setup Utility – Copyright © 2011 American Megatrends, Inc. Main Advanced Chipset Boot Security BIOS Information Save & Exit Choose the system default language System Language [English] System Date [Tue 01/20/2009] Access Level Administrator → ← Select System Language Choose the system default language. System Date Set the Date. Use Tab to switch between Data elements. System Time Set the Time. Use Tab to switch between Data elements.
BIOS SETUP Advanced Settings 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 PCI Latency Timer Value to be programmed into PCI Latency Timer Register. VGA Palette Snoop Enables or disables VGA Palette Registers Snooping. PERR# Generation Enables or disables PCI device to generate PERR#. SERR# Generation Enables or disables PCI device to generate SERR#. PCI Express Settings Change PCI Express devices settings.
BIOS SETUP Maximum Payload Set Maximum Payload of PCI Express Device or allow System BIOS to select the value. Maximum Read Request Set Maximum Read Request Size of PCI Express Device or allow System BIOS to select the value. ASPM Support Set the ASPM Level: Force L0s – Force all links to L0s State: AUTO – BIOS auto configure : DISABLE – Disables ASPM. Extended Synch If ENABLED allows generation of Extended Synchronization patterns.
BIOS SETUP ACPI Settings Aptio Setup Utility Main Advanced Chipset Boot Security Save & Exit ACPI Settings → ← Select Enable Hibernation Enabled ACPI Sleep State S3 (Suspend to R…) Lock Legacy Resources Disabled S3 Video Repost Disabled Screen ↑↓ Select Item Enter: Select +- Change Field F1: General Help F2: Previous Values F3: Optimized Default F4: Save ESC: Exit Enable Hibernation Enables or Disables System ability to Hibernate (OS/S4 Sleep State).
BIOS SETUP Wake up event settings Aptio Setup Utility Main Advanced Chipset Wake system with Fixed Time Boot Security Save & Exit Disabled Wake up hour 0 Wake up minute 0 Wake up second 0 Wake on Ring Disabled Wake on PCI PME Disabled Wake on PCIE Wake Event Disabled → ← Select Screen ↑↓ Select Item Enter: Select +- Change Field F1: General Help F2: Previous Values F3: Optimized Default F4: Save ESC: Exit Wake system with Fixed Time Enables or Disables System wake on alarm event.
BIOS SETUP CPU Configuration This section shows the CPU configuration parameters. Aptio Setup Utility Main Advanced Chipset Boot Security Save & Exit CPU Configuration Intel® Core ™ i7-3770 CPU @ 3.
BIOS SETUP Intel Virtualization Technology When enabled, a VMM can utilize the additional hardware capabilities provided by Vanderpool Technology. Hardware Prefetcher To turn on/off the Mid level Cache (L2) streamer Prefetcher. Adjacent Cache Line Prefetch To turn on/off prefetching of adjacent cache lines. SATA Configuration SATA Devices Configuration.
BIOS SETUP Shutdown Temperature Configuration Aptio Setup Utility Main Advanced Chipset APCI Shutdown Temperature Boot Security Save & Exit → ← Select Disabled Screen ↑↓ Select Item Enter: Select +- Change Field F1: General Help F2: Previous Values F3: Optimized Default F4: Save ESC: Exit ACPI Shutdown Temperature The default setting is Disabled.
BIOS SETUP AMT Configuration Aptio Setup Utility Main Advanced Chipset Boot Security Save & Exit Intel AMT Enabled BIOS Hotkey Pressed Disabled MEBx Selection Screen Disabled Hide Un-Configure ME Confirmation Disabled Un-Configure ME Disabled Amt Wait Timer 0 Activate Remote Assistance Process Disabled USB Configure Enabled → ← Select PET Progress Enabled AMT CIRA Timeout 0 Watchdog Disabled ↑↓ Select Item Enter: Select +- Change Field F1: General Help F2: Previous Values F3: O
BIOS SETUP Acoustic Management Configuration Aptio Setup Utility Main Advanced Chipset Boot Security Save & Exit Acoustic Management Configuration Acoustic Management → ← Select Disabled Screen ↑↓ Select Item Enter: Select +- Change Field F1: General Help F2: Previous Values F3: Optimized Default F4: Save ESC: Exit USB Configuration Aptio Setup Utility Main Advanced Chipset Boot Security Save & Exit USB Configuration USB Devices: 2 Hubs Legacy USB Support Enabled USB3.
BIOS SETUP EHCI Hand-off Enabled/Disabled. This is a workaround for OSes without EHCI hand-off support. The EHCI ownership change should be claimed by EHCI driver. Port 64/60 Emulation Enables I/O port 60h/64h emulation support. This should be enabled for the complete USB keyboard legacy support for non-USB aware OSes. USB Transfer time-out The time-out value for Control, Bulk, and Interrupt transfers. Device reset tine-out USB mass Storage device start Unit command time-out.
BIOS SETUP F81866 H/W Monitor Aptio Setup Utility Main Advanced Chipset Boot Security Save & Exit PC Health Status CPU_Fan1 smart fan control Disabled SYS_Fan1 smart fan control Disabled SYS_Fan2 smart fan control Disabled CPU temperature +41 C SYS temperature +35 C CPU_FAN1 Speed 2115 RPM SYS_ FAN1 Speed N/A SYS_ FAN2 Speed N/A Vcore +1.000 V +5V +5.213 V +12V +12.408 V 1.5V +1.544 V +3.3V +3.
BIOS SETUP CPU PPM Configuration Aptio Setup Utility Main Advanced Chipset Boot Security Save & Exit CPU PPM Configuration EIST Enabled Turbo Mode Enabled → ← Select Screen ↑↓ Select Item Enter: Select +- Change Field F1: General Help F2: Previous Values F3: Optimized Default F4: Save ESC: Exit EIST Enable/Disable Intel SpeedStep. Chipset Settings 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 PCH-IO Configuration This section allows you to configure the North Bridge Chipset. Aptio Setup Utility Main Advanced Chipset Boot Intel PCH RC Version 1.1.0.
BIOS SETUP PCI Express Configuration Main Advanced Chipset Boot Security Save & Exit PCI Express Configuration PCI Express Clock Gating Enabled DMI Link ASPM Control Enabled DMI Link Extended Synch Control Disabled PCIe-USB Glitch W/A Disabled Subtractive Decode Disabled ► PCI Express Root Port 1 ► PCI Express Root Port 2 ► PCI Express Root Port 3 → ← ► PCI Express Root Port 4 ↑↓ Select Item Enter: Select +- Change Field F1: General Help F2: Previous Values F3: Optimized Default F4: Save
BIOS SETUP USB Configuration Main Advanced Chipset Boot Security Save & Exit USB Configuration XHCI Pre-Boot Driver Enabled xHCI Mode Smart Auto HS Port #1 Switchable Enabled HS Port #2 Switchable Enabled HS Port #3 Switchable Enabled HS Port #4 Switchable Enabled → ← xHCI Streams Enabled ↑↓ Select Item Enter: Select +- Change Field F1: General Help F2: Previous Values F3: Optimized Default F4: Save ESC: Exit EHCI1 Enabled EHCI2 Enabled USB Ports Per-Port Disable Control Disabled
BIOS SETUP PCH Azalia Configuration Main Chipset Advanced Boot Security Save & Exit PCH Azalia Configuration → ← Azalia Auto Select Screen ↑↓ Select Item Enter: Select +- Change Field F1: General Help F2: Previous Values F3: Optimized Default F4: Save ESC: Exit Azalia Control Detection of the Azalia device. Disabled = Azalia will unconditionally disabled. Enabled Azalia will be unconditionally enabled. Auto = Azalia will enabled if present, disabled otherwise.
BIOS SETUP Graphics Configuration Aptio Setup Utility Main Advanced Chipset Boot Security Save & Exit Graphics Configuration IGFX VBIOS Version 2132 IGfx Frequency 350 MHz Primary Display Auto Internal Graphics Auto GTT Size 2MB Aperture Size 256MB DVMT Pre-Allocated 64M DVMT Total Gfx Mode Disabled ► LCD Control → ← Select Screen ↑↓ Select Item Enter: Select +- Change Field F1: General Help F2: Previous Values F3: Optimized Default F4: Save ESC: Exit Primary Display Select which
BIOS SETUP Memory Configuration Aptio Setup Utility Main Advanced Chipset Boot Security Save & Exit Memory Information Memory Frequency 1333 MHz Total Memory 8192 MB (DDR3) DIMM#0 2048 MB (DDR3) DIMM#1 2048 MB (DDR3) DIMM#2 2048 MB (DDR3) DIMM#3 2048 MB (DDR3) CAS Latency (tCL) 9 Minimum delay time CAS to RAS (tRCDmin) 9 Row Precharge (tRPmin) 9 Active to Precharge (tRASmin) 24 MB970 User’s Manual → ← Select Screen ↑↓ Select Item Enter: Select +- Change Field F1: General Help F
BIOS SETUP Boot Settings This section allows you to configure the boot settings. Aptio Setup Utility Main Advanced Chipset Boot Security Save & Exit Boot Configuration Setup Prompt Timeout 1 Bootup NumLock State On Quiet Boot Disabled Fast Boot Disabled CSM16 Module Version 07.
BIOS SETUP INT19 Trap Response Enable: Allows Option ROMs to trap Int 19. Boot Option Priorities Sets the system boot order. CSM parameters This section allows you to configure the boot settings.
BIOS SETUP Security Settings This section allows you to configure and improve your system and allows you to set up some system features according to your preference. Aptio Setup Utility Main Advanced Chipset Security Boot Save & Exit Password Description If ONLY the Administrator’s password is set, then this only limit access to Setup and is only asked for when entering Setup. If ONLY the User’s password is set, then this is a power on password and must be entered to boot or enter Setup.
BIOS SETUP Save & Exit Settings Aptio Setup Utility Main Advanced Chipset Boot Security Save & Exit Save Changes and Exit Discard Changes and Exit Save Changes and Reset Discard Changes and Reset → ← Select Screen ↑↓ Select Item Enter: Select +- Change Field F1: General Help F2: Previous Values F3: Optimized Default F4: Save ESC: Exit Save Options Save Changes Discard Changes Restore Defaults Save as User Defaults Restore User Defaults Save Changes and Exit Exit system setup after saving the cha
DRIVER INSTALLATION Drivers Installation This section describes the installation procedures for software and drivers. The software and drivers are included with the motherboard. If you find the items missing, please contact the vendor where you made the purchase. The contents of this section include the following: Intel Chipset Software Installation Utility ........................................... 47 VGA Drivers Installation ...................................................................
DRIVERS INSTALLATION Intel Chipset Software Installation Utility The Intel 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. 1. Insert the CD that comes with the board. Click Intel and then Intel(R) 7 Series Chipset Drivers. 2. Click Intel(R) Chipset Software Installation Utility.
DRIVER INSTALLATION 3. When the Welcome screen to the Intel® Chipset Device Software appears, click Next to continue. 4. Click Yes to accept the software license agreement and proceed with the installation process.
DRIVERS INSTALLATION 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.
DRIVER INSTALLATION VGA Drivers Installation NOTE: Before installing the Intel(R) Q77 Chipset Family Graphics Driver, the Microsoft .NET Framework 3.5 SPI should be first installed. To install the VGA drivers, follow the steps below. 1. Insert the CD that comes with the board. Click Intel and then Intel(R) Q7 Series Chipset Drivers. 2. Click Intel(R) Q77 Chipset Family Graphics Driver.
DRIVERS INSTALLATION 3. When the Welcome screen appears, click Next to continue. 4. Click Yes to to agree with the license agreement and continue the installation.
DRIVER 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.
DRIVERS INSTALLATION Realtek HD Audio Driver Installation Follow the steps below to install the Realtek HD Audio Drivers. 1. Insert the CD that comes with the board. Click Intel and then Intel(R) Q7 Series Chipset Drivers. 2. Click Realtek High Definition Audio Driver.
DRIVER INSTALLATION 3. On the Welcome to the InstallShield Wizard screen, click Next to proceed with and complete the installation process. 4. The InstallShield Wizard Complete. Click Finish to restart the computer and for changes to take effect.
DRIVERS INSTALLATION LAN Drivers Installation 1. Insert the CD that comes with the board. Click Intel and then Intel(R) Q7 Series Chipset Drivers. 2. Click Intel(R) PRO LAN Network Driver.
DRIVER INSTALLATION 3. Click Install Drivers and Software. 4. When the Welcome screen appears, click Next.
DRIVERS INSTALLATION 5. Click Next to to agree with the license agreement. 6. Click the checkbox for Drivers in the Setup Options screen to select it and click Next to continue.
DRIVER INSTALLATION 7. The wizard is ready to begin installation. Click Install to begin the installation. 8. When InstallShield Wizard is complete, click Finish.
DRIVERS INSTALLATION Intel® Management Engine Interface REMARKS: The Intel iAMT 8.0 Drivers can be installed on MB970VF, not MB970F. Follow the steps below to install the Intel Management Engine. 1. Insert the CD that comes with the board. Click Intel and then Intel(R) AMT 8.0 Drivers.
DRIVER INSTALLATION 2. When the Welcome screen to the InstallShield Wizard for Intel® Management Engine Components, click the checkbox for Install Intel® Control Center & click Next. 3. Click Yes to to agree with the license agreement.
DRIVERS INSTALLATION 4. When the Setup Progress screen appears, click Next. Then, click Finish when the setup progress has been successfully installed.
DRIVER INSTALLATION Intel® USB 3.0 Drivers 1. Insert the CD that comes with the board. Click Intel and then Intel(R) Q7 Series Chipset Drivers. 2. Click Intel(R) USB 3.0 Drivers.
DRIVERS INSTALLATION 3. When the Welcome screen to the InstallShield Wizard for Intel® USB 3.0 eXtensible Host Controller Driver, click Next. 4. Click Yes to to agree with the license agreement and continue the installation.
DRIVER INSTALLATION 5. On the Readme File Information screen, click Next to continue the installation of the Intel® USB 3.0 eXtensible Host Controller Driver. 6. Setup complete. Click Finish to restart the computer and for changes to take effect.
DRIVERS INSTALLATION This page is intentionally left blank.
APPENDIX Appendix A. I/O Port Address Map Each peripheral device in the system is assigned a set of I/O port addresses which 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 } //--------------------------------------------------------------------------void EnableWDT(int interval) { unsigned char bBuf; bBuf = Get_F81866_Reg(0x2B); bBuf &= (~0x20); Set_F81866_Reg(0x2B, bBuf); //Enable WDTO Set_F81866_LD(0x07); Set_F81866_Reg(0x30, 0x01); //switch to logic device 7 //enable timer bBuf = Get_F81866_Reg(0xF5); bBuf &= (~0x0F); bBuf |= 0x52; Set_F81866_Reg(0xF5, bBuf); Set_F81866_Reg(0xF6, interval); //count mode is second //set timer bBuf = Get_F81866_Reg(0xFA); bBuf
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 "F81866.H" #include
APPENDIX unsigned char Get_F81866_Reg(unsigned char REG) { unsigned char Result; Unlock_F81866(); outportb(F81866_INDEX_PORT, REG); Result = inportb(F81866_DATA_PORT); Lock_F81866(); return Result; } //--------------------------------------------------------------------------- //--------------------------------------------------------------------------// // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE // IMPLIED