Intel user manual D. Digital I/O Sample Code, Appendix, IB935 User’s Manual

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

IB935 User’s Manual

59

Image 63
Contents USER’S MANUAL IB935, IB935RFVersion IB935Acknowledgments Realtek HD Code Audio Driver Installation InstallationsBIOS Setup Drivers InstallationThe IB935 CPU Card Introduction Product DescriptionINTRODUCTION Reminder ChecklistSpecifications Board Dimensions INSTALLATIONS InstallationsInstalling the CPU Installing the Memory LockDDR2 Module Lock Setting the Jumpers Jumper Locations on IB935 Jumpers on IB935Page JP5 Power ON Setting JP4 Configure and Recovery Factory use onlyJP11 JP7 ICH9 PCI-E port 1-4 Configuration SettingsJP11 Clear CMOS Contents JP7 SettingConnectors on IB935 Factory use only Connector Locations on IB935CN1, CN2, CN3, CN4 SATA HDD Connector ATX1 ATX 12V Power ConnectorCPUFAN1 CPU Fan Power Connector SYSFAN1, SYSFAN2 SYSTEM Fan Power ConnectorFDD1 IDE1 Primary IDE ConnectorFDC1 Floppy Drive Connector IDE1AutoFeed VGA1 VGA CRT ConnectorJ1 External Audio Connector J2 Parallel Port ConnectorJ3 Digital I/O Connector 4 in, 4 out J4 IrDA ConnectorJ5 CD-In Audio Connector J7 is a 10-pin header support RS232 COM ports J7 COM1 Serial Ports ConnectorJ8 System Function Connector J6 COM2 Serial PortReset Switch Pins 9 and Speaker Pins 1Power LED Pins 11 ATX Power ON Switch Pins 7 andJ9 PS/2 Keyboard and Mouse Connector J10, J11 External PS/2 Mouse and Keyboard ConnectorJ12 Wake On LAN Connector J16 SPI Debug Tools Port Factory use only J13 USB ConnectorJ14 USB Connector J15, J17 Gigabit LAN RJ45 ConnectorThis page is intentionally left blank BIOS Setup BIOS Introduction BIOS SetupPress DEL to Enter Setup Standard CMOS Features Date Standard CMOS SetupLanding Zone Landing zone TimeIDE Channel Master/Slave Drive A / Drive BVideo Halt OnThe system boot will not be halted for any error Quick Power On Self Test Advanced BIOS FeaturesCPU Feature Hard Disk Boot PriorityBoot 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 OSDRAM RAS# to CAS# Delay Advanced Chipset FeaturesDRAM Timing Selectable CAS Latency TimeSystem Memory Frequency System BIOS CacheableVGA Setting Precharge delay tRASIntegrated Peripherals IDE Primary/Secondary Master/Slave PIO IDE DMA Transfer AccessIDE HDD Block Mode OnChip Secondary PCI IDELEGACY Mode Support Power ON FunctionKB Power ON Password Hot Key Power ONUSB 2.0 Controller Parallel Port ModePWRON After PWR-Fail USB 1.0 ControllerACPI Suspend Power Management SetupPower Management ACPI FunctionSuspend Type HDD Power DownVideo Off Method Video Off In SuspendPower On by Ring Resume by AlarmReload Global Timer Events Init Display First PNP/PCI ConfigurationsPNP OS Installed Reset Configuration DataTemperatures/Fan Speeds/Voltages PC Health StatusShutdown Temperature CPU Warning TemperatureFrequency/Voltage Control Auto Detect PCI ClkSpread Spectrum Save & Exit Setup Load Fail-Safe DefaultsLoad Optimized Defaults Set Supervisor PasswordIDE Controller Driver Installation……………………………..52 Drivers InstallationIntel Chipset Software Intallation Utility 2. Click IntelR Chipset Software Installation Utility6. When the Setup Progress screen appears, click Next to continue 2. Click IntelR Bearlake Chipset Family Graphics Driver Intel Graphics Driver Installation2. Click Realtek High Definition Codec Audio Driver Realtek HD Code Audio Driver Installation2. Click IntelR PRO LAN Network Drivers Intel PRO LAN Drivers Installation1. The BIOS Setup item “Wake-Up by PCI card” has to be set as Enabled IDE Controller Drivers Installation A. I/O Port Address Map AppendixLevel B. Interrupt Request Lines IRQEnableAndSetWatchdog C. Watchdog Timer Configurationset count mode as second Name UnlockChip IN None Name ReadReg IN CL - register index D. Digital I/O Sample Code void LockW627HF void //===================================================================== void UnlockW627HF void switch to logic device This page is intentionally left blank APPENDIXIB935 User’s Manual