Intel MB890 user manual D. Digital I/O Sample Code, Appendix

Page 63
D. Digital I/O Sample Code

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.

//

//=====================================================================

#ifndef __W627HF_H

 

#define __W627HF_H

1

//=====================================================================

#define W627_IOBASE

0x4E

//=====================================================================

#define W627HF_INDEX_PORT (W627_IOBASE+0)

#define W627HF_DATA_PORT (W627_IOBASE+1) //=====================================================================

#define W627HF_REG_LD 0x07 //=====================================================================

#define W627HF_UNLOCK

0x87

#define

W627HF_LOCK

0xAA

//===================================================================== void Set_W627HF_LD( unsigned char);

void Set_W627HF_Reg( unsigned char, unsigned char); unsigned char Get_W627HF_Reg( unsigned char); //=====================================================================

#endif //__W627HF_H

MB890 User’s Manual

59

Image 63
Contents Intel Pentium M Mini-ITXMotherboard Version 1.1AMB890 Acknowledgments Introduction InstallationsBIOS Setup Drivers InstallationThis page is intentionally left blank Introduction Product DescriptionINTRODUCTION Checklist Cable kit IDE, Power, Audio, VGA CRTThe MB890 Pentium M Mini-ITXmotherboard MB890 Specifications Board Dimensions INSTALLATIONS InstallationsInstalling the CPU Installing the Memory DDR ModuleLock Setting the Jumpers Jumper Locations on MB890 JP4 1394 Controller EEPROM Write Protect JP2 Power Mode SettingJP3 LVDS Power Setting JP1 CPU Host ClockJP10 COM1 RS232 Pin9 Setting JP9 COM2 RS232 Pin9 SettingJP14 CPU VCCA Voltage Setting JP11 Clear CMOS ContentsJP13 Compact Flash Mode Setting J13 Intel 82541GI Gigabit LAN Enable/Disable錯誤! 尚未定義書籤。 Connectors on MB890錯誤! 尚未定義書籤。 Connector Locations on MB890Keyboard CN2 PS/2 Keyboard and PS/2 Mouse ConnectorsCN3 DVI-IConnector CN1 DC Jack for DC AdaptorCN7 COM1 and COM2 Serial Ports CN4 Parallel Port ConnectorCN5, CN8 1394 Connectors option CN6 RJ45 and 2 USB PortsJ2 HDD Power Connector J3 Internal DC-InPower ConnectorJ5 LCD Backlight Setting J11, J12 USB Port Pin Header J6, J8 LVDS Connectors 1st channel, 2nd channelJ7 IrDA Connector J10 Digital I/OJ18 Primary IDE Connector J16 HDD Power Pin HeaderJ18, J19 Primary and Secondary IDE Connectors J17 Mini PCI SocketJ19 Secondary IDE Connector J20 CD-In Pin HeaderJ24 Compact Flash Socket J21 External Audio ConnectorJ22 System Function Connector J23 Wake On LAN ConnectorFAN2 System Fan Power Connector J25 VGA CRT ConnectorJ26 Power Connector for MB890D / MB890FD FAN1 CPU Fan Power ConnectorBIOS Setup BIOS Introduction BIOS SetupPress DEL to Enter Setup BIOS SETUP Date Standard CMOS SetupCYLS TimeIDE Primary HDDs / IDE Secondary HDDs Drive A / Drive BHalt On VideoVirus Warning Advanced BIOS FeaturesCPU Feature Quick Power On Self TestBoot Up NumLock Status First/Second/Third Boot DeviceBoot Other Device Boot Up Floppy SeekOS Select for DRAM 64MB Security OptionAPIC Mode MPS Version Control for OSActive to Precharge Delay Advanced Chipset FeaturesDRAM Timing Selectable CAS Latency TimeDRAM Data Integrity Mode System BIOS CacheableVideo BIOS Cacheable DRAM RAS# PrechargeOn-ChipFrame Buffer Size Boot DisplayAGP Aperture Size On-ChipVGAIntegrated Peripherals IDE HDD Block Mode OnChip Primary/Secondary PCI IDEIDE Primary/Secondary Master/Slave PIO IDE Primary/Secondary Master/Slave UDMAUSB Mouse Support Power On After FailUSB 2.0 Controller USB Keyboard SupportEnhanced Parallel Port UART Mode SelectParallel Port Mode Standard Printer PortACPI Function Power Management SetupPower Supply Type Power ManagementSuspend Type HDD Power DownVideo Off Method Video Off In SuspendPower On by Ring Resume by AlarmReload Global Timer Events PCI/VGA Palette Snoop PNP/PCI ConfigurationsReset Configuration Data Resources Controlled byShutdown Temperature PC Health StatusCPU Warning Temperature Temperatures/VoltagesFrequency/Voltage Control Auto Detect PCI ClkSpread Spectrum Modulated Save & Exit Setup Load Fail-SafeDefaultsLoad Optimized Defaults Set Supervisor PasswordThis page is intentionally left blank AC97 Codec Audio Driver Installation Drivers InstallationDRIVER INSTALLATION Intel Chipset Software Intallation UtilityDRIVERS INSTALLATION VGA Drivers Installation 2.Click Realtek AC97 Codec Audio Driver AC97 Codec Audio Driver Installation2.Click Install Base Software to continue Intel PRO LAN Drivers InstallationA. I/O Port Address Map AppendixLevel B. Interrupt Request Lines IRQC. Watchdog Timer Configuration mov cl, 0F5h Name Unlock Chip IN None Name Read Reg IN CL - register index D. Digital I/O Sample Code APPENDIX APPENDIX APPENDIX This page is intentionally left blank