Intel MB884 user manual Switch to logic device

Page 33

INSTALLATIONS

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

//

//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 <dos.h>

#include <conio.h> #include <stdio.h> #include <stdlib.h> #include "W627HF.H" //===================================================================== void ClrKbBuf(void);

int main (int argc, char *argv[]); //===================================================================== int main (int argc, char *argv[])

{

unsigned char ucDO = 0;

//data for digital output

unsigned char ucDI;

//data for digital input

unsigned char ucBuf;

 

Set_W627HF_LD( 0x07);

//switch to logic device 7

Set_W627HF_Reg(0xF1, 0x00);

//clear

ucDI = Get_W627HF_Reg(0xF1) & 0x0F;

 

ClrKbBuf();

 

while(1)

 

{

 

ucDO++;

Set_W627HF_Reg(0xF1, ((ucDO & 0x0F) << 4)); ucBuf = Get_W627HF_Reg(0xF1) & 0x0F;

if (ucBuf != ucDI)

{

ucDI = ucBuf;

printf("Digital I/O Input Changed. Current Data is 0x%X\n",ucDI);

}

if (kbhit())

{

getch();

break;

}

delay(500);

}

return 0;

}

//===================================================================== void ClrKbBuf(void)

{

while(kbhit())

{ getch(); }

}

//---------------------------------------------------------------------------

MB884 User’s Manual

29

Image 33
Contents Version USER’S ManualAcknowledgments Table of Contents This page is intentionally left blank Introduction ChecklistProduct Description VGA MB884 SpecificationsBoard Dimensions Installations Installing the CPU Installing the Memory ATX Power InstallationSetting the Jumpers Jumper Locations on MB884 Setting Function JP1 COM2 RS232 +5V/+12V Power SettingJP2 COM1 RS232 +5V/+12V Power Setting JP3 RS232/422/485 COM2 SelectionJP5 Clear Cmos Contents Connectors on MB884 J10 Wake On LAN Connector ATX12V ATX 12V Power Connector ATX1 ATX Power Supply ConnectorDIMM1 Channel a DDR Socket DIMM2 Channel B DDR SocketSignal Name Keyboard Mouse CN1 PS/2 Keyboard and PS/2 Mouse ConnectorsCN2 4-port USB Connector Pin Signal NameCN4 Parallel Port Connector Pin # Signal Name RS-232 R2-422 RS-485CN6 Dual LAN RJ45 Connectors CN5 VGA CRT ConnectorCN7 Audio Connector CN8, CN9, CN10, CN11 Sata ConnectorsJ3 IrDA Connector J1 Digital I/O Connector 4 in, 4 outJ4 USB Connector Signal Name PinJ10 Wake On LAN Connector J13 System Function ConnectorSpeaker Pins 1 ATX Power on Switch Pins 7 Power LED Pins 11Reset Switch Pins 9 Keyboard Locked PinCPUFAN1 CPU Fan Power Connector Hard Disk Drive LED Connector Pins 10CPUFAN2 CPU Fan Power Connector FAN1, FAN2 System & Chassis Fan Power ConnectorsIDE1 Primary IDE Connectors FDD1 Floppy Drive ConnectorLED3 Power On LED LED5 Power Off LEDLED1 LED for CPU Over-Voltage Protection Sample Code Watchdog Timer ConfigurationMov Al, 01h Cl, 30h Call WriteReg OUT W627HFLOCK Digital I/O Sample CodeInstallations Switch to logic device Bios Setup Bios Setup Bios IntroductionPhoenix AwardBIOS Cmos Setup Utility Date Standard Cmos SetupIDE Primary HDDs / IDE Secondary HDDs TimeLanding Zone Landing zone Drive a / Drive BHalt On VideoDelay Prior to Thermal Advanced Bios FeaturesHard Disk Boot Priority Limit Cpuid MaxValFirst/Second/Third Boot Device Quick Power On Self TestBoot Other Device Virus WarningBoot Up NumLock Status Boot Up Floppy SeekTypematic Rate Setting Typematic Delay MsecMPS Version Control for OS Apic ModeOS Select for Dram 64MB Report No FDD For WINAdvanced Chipset Features Dram Timing SelectableCAS Latency Time Precharge delay tRAS Dram RAS# to CAS# DelaySystem Bios Cacheable Video Bios CacheablePEG/OnChip VGA Control PCI-E Compliancy ModeOn-Chip Video Memory Size On-Chip Frame Buffer SizeButton only Item Help Integrated PeripheralsIDE HDD Block Mode Onboard LAN Boot ROMIDE DMA Transfer Access Pata IDE ModeKB Power on Password Power on FunctionHot Key Power on Sata PortParallel Port Mode Uart Mode SelectOnboard FDC Controller Onboard Serial/Parallel PortPower Management Power Management SetupAcpi Function Video Off MethodHDD Power Down Suspend ModePower On by Ring Resume by AlarmPNP/PCI Configurations Shutdown Temperature CPU Warning TemperatureTemperatures/Fan Speeds/Voltages PC Health StatusCPU Clock Ratio Frequency/Voltage ControlAuto Detect PCI Clk Spread SpectrumLoad Setup Defaults Load Fail-Safe DefaultsSet Supervisor/User Password Save & Exit SetupDrivers Installation Intel 915G Chipset Software Intallation Utility Intel 915G Chipset Graphics Driver Realtek AC97 Codec Audio Driver Installation Marvell 88E8053 LAN Drivers Installation This page is intentionally left blank Address Device Description O Port Address MapLevel Function Interrupt Request Lines IRQ

MB884 specifications

The Intel MB884 is a versatile and efficient microcontroller that has garnered attention for its range of features and innovative technologies. Built to enhance various applications, the MB884 microcontroller is particularly favored in automotive, industrial, and consumer electronics domains.

One of the standout features of the Intel MB884 is its robust architecture. It integrates a high-performance CPU that supports various instruction sets, allowing for flexibility in programming and application development. The microcontroller typically operates at clock speeds that facilitate swift processing capabilities, crucial for real-time applications.

The MB884 comes equipped with a range of input/output interfaces, which enable seamless communication with peripheral devices. This includes support for serial communication protocols such as SPI, I2C, and UART. These features allow developers to connect sensors, displays, and other components effortlessly, simplifying the design of complex systems.

In terms of memory, the MB884 includes both volatile and non-volatile options, providing developers with ample space for code and data storage. This dual-memory approach ensures that critical data is preserved during power outages or system resets, making it a reliable choice for long-term applications.

Additionally, the MB884 microcontroller integrates various built-in peripherals, which can include analog-to-digital converters (ADCs), timers, and PWM outputs. These components reduce the need for external chips, resulting in cost savings and a more compact design. The inclusion of high-resolution ADCs is particularly useful for gathering precise sensor data, essential in applications requiring accurate measurements.

Another key characteristic of the Intel MB884 is its power management features. The microcontroller is designed to operate efficiently, with low power modes that can significantly extend the battery life of portable devices. This energy efficiency is critical in industries where sustainability and energy conservation are priorities.

Moreover, the Intel MB884 is supported by a range of development tools and software, making it easier for engineers to prototype and implement their designs. Comprehensive documentation and community support further enhance the user experience, empowering developers to leverage the full potential of this microcontroller.

In summary, the Intel MB884 microcontroller stands out for its robust performance, versatile features, and efficiency. With its comprehensive set of peripherals, flexible communication interfaces, and strong power management capabilities, it remains a top choice for engineers looking to build innovative and efficient electronic systems. As technology continues to evolve, the MB884 is likely to maintain its relevance in the ever-growing field of microcontroller applications.