MI980 Intel ® 4th Generation Core / QM87 PCH Mini ITX 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® 4th Generation Core 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............................................................................. 1 MI980 Specifications ......................................................... 2 Board Dimensions .............................................................. 4 Installations ......................................................
This page is intentionally left blank.
INTRODUCTION Introduction Product Description ® The MI980 Mini ITX motherboard is based on the latest Intel QM87 chipset. The platform supports onboard 4th generation Intel® Core processor family 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 MI980 Specifications Product Name Form Factor CPU Type Cache Chipset BIOS Memory VGA LAN USB Serial ATA Audio LPC I/O Digital IO TPM 1.2 iAMT Expansion Slots 2 MI980VF [Supports iAMT 9.0 & vPro] MI980F [Supports EuP/ErP] Mini-ITX ® th - Intel 4 Generation Core mobile processors (22nm monolithic) - BGA1364 , Package= 37.5 mmx 32 mm [Performance Halo SKUs] - TDP = 47W (QC) / 37W(DC) Up to 8MB ® Intel QM87 PCH Mobile Platform Controller Hub Package =23 mm x 22 mm, 0.
INTRODUCTION Edge Connectors Onboard Header/Connector Watchdog Timer System Voltage Others Board Size Dual DB9 stack connector for COM #1 / #2 DVI-D + DVI-I stack connector x 1 DisplayPort + dual USB (2.0) stack connector x 1 RJ-45 + dual USB (3.0) stack connector x 2 Triplet type Jack 3 x 1 for HD Audio 4 ports x SATA III [Blue color] (For MI980VF) 2 ports x SATA III [Blue color] (For MI980F) 2 ports x SATA II DF-11 8-pin connector x 2 for 4 ports USB 2.
INTRODUCTION [ Board Dimensions 4 MI980 User’s Manual
INSTALLATIONS Installations This section provides information on how to use the jumpers and connectors on the MI980 in order to set up a workable system. The topics covered are: Installing the Memory .......................................................................... 6 Setting the Jumpers .............................................................................. 7 Connectors on MI980 ........................................................................
INSTALLATIONS Installing the Memory The MI980 board supports two DDR3 memory socket for a maximum total memory of 16GB in DDR3 SODIMM 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 MI980 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 MI980 and their respective functions. Jumper Locations on MI980 ................................................................ 8 JP1: COM2 RS232 RI/+5V/+12V Power Setting .................................
INSTALLATIONS Jumper Locations on MI980 Jumpers on MI980 .......................................................................... Page JP1: COM2 RS232 RI/+5V/+12V Power Setting ................................. 9 JP2: COM1 RS232 RI/+5V/+12V Power Setting ................................. 9 J13: LCD Panel Power Selection ....................................................... 10 J16: Flash Descriptor Security Override (Factory use only) ................ 10 J17: Clear CMOS Contents........................
INSTALLATIONS JP1: COM2 RS232 RI/+5V/+12V Power Setting JP1 6 5 2 1 Setting Function Pin 1-3, Short/Closed Pin 3-4, Short/Closed Pin 3-5, Short/Closed +12V RI +5V JP2: COM1 RS232 RI/+5V/+12V Power Setting JP2 6 5 2 1 Setting Function Pin 1-3, Short/Closed Pin 3-4, Short/Closed Pin 3-5, Short/Closed +12V RI +5V MI980 User’s Manual 9
INSTALLATIONS J13: LCD Panel Power Selection 1 3 J13 LCD Panel Power 3.
INSTALLATIONS J17: Clear CMOS Contents 3 J17 Setting Pin 1-2 Short/Closed Pin 2-3 Short/Closed 1 Function Normal Clear CMOS J18: Clear ME Contents 3 J18 Setting Function Pin 1-2 Short/Closed Normal Pin 2-3 Short/Closed Clear CMOS MI980 User’s Manual 1 11
INSTALLATIONS Connectors on MI980 Connector Locations on MI980 ......................................................... 13 CN2: DVI-I and DVI-D Connector ................................................... 14 CN1: COM1 and COM2 Serial Ports ................................................. 15 CN4: Display Port ............................................................................. 15 CN5: USB2 #6/#7 .............................................................................
INSTALLATIONS Connector Locations on MI980 MI980 User’s Manual 13
INSTALLATIONS CN2: DVI-I and DVI-D Connector Signal Name Pin # Pin # Signal Name DATA 2DATA 2+ Shield 2/4 DATA 4DATA 4+ DDC CLOCK DDC DATA Analog VSYNC 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 + Analog Red Analog Green Analog Blue Analog HSYNC A GROUND2 A GROUND3 Signal Name Pin # Pin # Signal Name DATA 2DATA 2+ Shield 2/4 DA
INSTALLATIONS CN1: COM1 and COM2 Serial Ports [ Pin # RS-232 1 2 3 4 5 6 7 8 9 10 DCD RX TX DTR Ground DSR RTS CTS RI NC Signal Name R2-422 RS-485 TXTX+ RX+ RXGround NC NC NC NC NC DATADATA+ NC NC Ground NC NC NC NC NC CN4: Display Port Signal Name LANE0_P GND LANE0_N LANE1_P GND LANE1_N LANE2_P GND LANE2_N LANE3_P Pin # 1 2 3 4 5 6 7 8 9 10 Pin # 11 12 13 14 15 16 17 18 19 20 Signal Name GND LANE3_N GND GND AUX_P GND AUX_N HPD GND VCC3.
INSTALLATIONS CN3: eDP Connector (JAE_FI-TD44SB-E-R750) 1 44 Signal Name 3.3V 3.3V 3.3V 3.3V 3.
INSTALLATIONS CN10: SATA2 Connector (MI980VF only) CN11: SATA2 Connectors CN12: HD Audio Connector CN13: SATA3 Connector (MI980VF only) CN14: SATA3 Connector support MI980VF Or SATA2 Connector support MI980F JP3, JP4: LVDS Connectors (LVDS2, LVDS1) Hirose DF20G-20DP-1V The LVDS connectors on board consist of the first channel (LVDS1) and second channel (LVDS2).
INSTALLATIONS JP5: LCD Backlight Connector 1 4 Pin # 1 2 3 4 Signal Name +12V Backlight Enable Brightness Control Ground JP6, JP8: USB2 #8/#9, USB2 #4/#5 Connectors Signal Name Vcc D0D0+ Ground 18 Pin # 1 3 5 7 Pin # 2 4 6 8 2 1 8 7 Signal Name Ground D1+ D1Vcc MI980 User’s Manual
INSTALLATIONS J1, J2, J3, J4: COM6, COM5, COM3, COM4 RS232 Serial Ports (HIROSE DF11-10DP-2DSA) Signal Name DCD# SOUT GND RTS# RI# Pin # 1 3 5 7 9 Pin # 2 4 6 8 X 9 10 1 2 Signal Name SIN# DTR# DSR# CTS# KEY J5: ATX Power Supply Connector MI980 User’s Manual 10 20 1 11 19
INSTALLATIONS 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.3V Ground +5V Ground +5V Ground Power good 5VSB +12V J6: ATX 12V Power Connector 3 4 1 2 This connector supplies the CPU operating voltage.
INSTALLATIONS J7: PCIE1 Configuration J7 Open Short PCIE1 Configuration PCIE X16 (Default) PCIE X8, X8 J8: Digital I/O Connector (4 in, 4 out) Signal Name Ground Out3 Out2 IN3 IN2 Pin # 1 3 5 7 9 Pin # 2 4 6 8 10 9 10 1 2 Signal Name +5V Out1 Out0 IN1 IN0 J10, J11: DDR3 SO-DIMM Socket MI980 User’s Manual 21
INSTALLATIONS J12: LVDS/eDP Select 1 3 J12 Setting Function Pin 1-2, Short/Closed eDP Connector Pin 2-3, Short/Closed LVDS J21: Audio Pin Header for Chassis Front Panel Signal Name MIC IN_L MIC IN_R LINE_R Sense LINE_L 22 Pin # 1 3 5 7 9 Pin # 2 4 6 8 10 10 9 2 1 Signal Name Ground DET Ground KEY Ground MI980 User’s Manual
INSTALLATIONS J22: Front Panel Signal Name Power BTN HDD LED+ Reset BTN Power LED+ Pin # 1 3 5 7 Pin # 2 4 6 8 8 7 2 1 Signal Name Power BTN HDD LEDReset BTN Power LED- CPU_FAN1: CPU Fan Power Connector 4 1 Pin # Signal Name 1 Ground 2 +12V 3 Rotation detection 4 Control MI980 User’s Manual 23
INSTALLATIONS SYS_FAN2: System Fan Power Connector (DC/PWM Auto-Detect) 1 4 Pin # Signal Name 1 Ground 2 +12V 3 Rotation detection 4 Control J14: Mini PCIE/mSATA (share with CN7) Connector J15: Mini PCIE Connector 24 MI980 User’s Manual
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 ............................................................................. 26 BIOS Setup ....................................................................................... 26 Advanced Settings ............................................................................. 28 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 © 2013 American Megatrends, Inc. Main Advanced Chipset Boot Security BIOS Information Save & Exit Choose the system default language Total Memory 4096 MB (DDR3) Momory Frequency 1333 Mhz System Date [Tue 01/20/2009] System Time [21:52:06] Access Level Administrator → ← Select Screen ↑↓ Select Item Enter: Select +- Change Field F1: General Help F2: Previous Values F3: Optimized Default F4: Save ESC: Exit System Date Set the Date.
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 on PCIE Wake Event Boot Security Save & Exit Disabled → ← Select Screen ↑↓ Select Item Enter: Select +- Change Field F1: General Help F2: Previous Values F3: Optimized Default F4: Save ESC: Exit Wake on PCIE PME Wake Event The options are Disabled and Enabled.
BIOS SETUP CPU Configuration This section shows the CPU configuration parameters. Aptio Setup Utility Main Advanced Chipset Boot Security Save & Exit CPU Configuration Intel(R) CPU Core(TM)i5-4402E @ 1.
BIOS SETUP Intel Virtualization Technology When enabled, a VMM can utilize the additional hardware capabilities provided by Vanderpool Technology. Adjacent Cache Line Prefetch To turn on/off prefetching of adjacent cache lines. Boot Performance Mode Select the performance state that the BIOS will set before OS handoff. EIST Enabled/Disabled Intel Speedstep. 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 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 Device reset tine-out USB mass Storage device start Unit command time-out. Device power-up delay Maximum time the device will take before it properly reports itself to the Host Controller. ‘Auto’ uses default value: for a Root port it is 100ms, for a Hub port the delay is taken from Hub descriptor.
BIOS SETUP Main Advanced Chipset Boot Security Save & Exit Serial port 0 Configuration → ← Select Serial port Enabled Device Settings IO=3F8h ; IRQ=4 Change Settings Auto F81866 SERIAL PORT1 MODE SELECT RS232 Mode Screen ↑↓ Select Item Enter: Select +- Change Field F1: General Help F2: Previous Values F3: Optimized Default F4: Save ESC: Exit F81866 SERIAL PORT1 MODE SELECT For RS232/RS422/RS485 mode select F81866 H/W Monitor Aptio Setup Utility Main Advanced Chipset Boot Security Save
BIOS SETUP 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.5.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 PCIE Root Function Swapping Disabled Subtractive Decode Disabled ► PCI Express Root Port 1 ► PCI Express Root Port 2 → ← ► PCI Express Root Port 3 ↑↓ Select Item Enter: Select +- Change Field F1: General Help F2: Previous Values F3: Optimized Def
BIOS SETUP USB Configuration Main Chipset Advanced Boot Security Save & Exit USB Configuration USB Precondition Disabled → ← xHCI Mode Auto USB Ports Per-Port Disable Control Disabled ↑↓ Select Item Enter: Select +- Change Field F1: General Help F2: Previous Values F3: Optimized Default F4: Save ESC: Exit Select Screen USB Precondition Precondition work on USB host controller and root ports for faster enumeration. xHCI Mode Mode of operation of xHCI controller.
BIOS SETUP System Agent (SA) Configuration Aptio Setup Utility Main Advanced Chipset System Agent Bridge Name Boot Security System Agent RC Version 1.5.0.0 VT-d Capability Supported VT-d Enabled CHAP Device (B0:D7:F0) Disabled Thermal Device (B0:D4:F0) Disabled CPU SA Audio Device (B0:D3:F0) Enabled Enable NB CRID Disabled BDAT ACPI Table Support Disabled ► Graphics Configuration ► Memory Configuration VT-d Check to enable VT-d function on MCH.
BIOS SETUP Graphics Configuration Aptio Setup Utility Main Advanced Chipset Boot Security Save & Exit Graphics Configuration IGFX VBIOS Version 2166 IGfx Frequency 800 MHz Primary Display Auto Primary PEG Auto Primary PCIE Auto Internal Graphics Auto Aperture Size 256MB DVMT Pre-Allocated 64M DVMT Total Gfx Mem 256MB Primary IGFX Boot Display VBIOS Default LVDS/EDP Control Disabled Gfx Low Power Mode Disabled → ← Select Screen ↑↓ Select Item Enter: Select +- Change Field F1:
BIOS SETUP DVMT Total Gfx Mem Select DVMT 5.0 total graphics memory size used by the internal graphics device. Primary IGFX Boot Display Select the Video Device that will be activated during POST. This has no effect if external graphics present. Secondary booty display selection will appear based on your selection. VGA modes will be supported only on primary display. LVDS/EDP Control LVDS/EDP Control Gfx Low Power Mode This option is applicable for SFF only.
BIOS SETUP Boot Settings This section allows you to configure the boot settings.
BIOS SETUP 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 → ← Select Discard Changes and Reset 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 changes. Discard Changes and Exit Exit system setup without saving any changes.
DRIVERS 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 ........................................... 52 VGA Drivers Installation ...................................................................
DRIVER 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 DVD that comes with the board. Click Intel and then Intel(R) 8 Series Chipset Drivers. 2. Click Intel(R) Chipset Software Installation Utility.
DRIVERS 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. 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 1. Insert the DVD that comes with the board. Click Intel and then Intel(R) 8 Series Chipset Drivers. 2. Click Intel(R) Core(TM) i3/i5/i7 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. 5. On the screen shown below, click Install to continue. 6. Setup complete. Click Finish to restart the computer and for changes to take effect.
DRIVER INSTALLATION Realtek HD Audio Driver Installation 1. Insert the DVD that comes with the board. Click Intel and then Intel(R) 8 Series Chipset Drivers. 2. Click Realtek High Definition Audio Driver.
DRIVERS INSTALLATION 3. On the Welcome to the InstallShield Wizard screen, click Yes 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.
DRIVER INSTALLATION LAN Drivers Installation 1. Insert the DVD that comes with the board. Click Intel and then Intel(R) 8 Series Chipset Drivers. 2. Click Intel(R) PRO LAN Network Driver.
DRIVERS INSTALLATION 3. Click Install Drivers and Software. 4. When the Welcome screen appears, click Next. 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 Follow the steps below to install the Intel Management Engine. 1. Insert the DVD that comes with the board. Click Intel and then Intel(R) 8 Series Chipset Drivers and then Intel(R) AMT 9.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 DVD that comes with the board. Click Intel and then Intel(R) 8 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.
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