EasyManuals Logo

Intel 386 User Manual

Intel 386
691 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #178 background imageLoading...
Page #178 background image
7-19
SYSTEM MANAGEMENT MODE
_SetEXRegByte(SIOPortBase + DLH, HIBYTE(BaudDivisor) );
_SetEXRegByte(SIOPortBase + DLL, LOBYTE(BaudDivisor) );
// Set Serial Line control register
_SetEXRegByte(SIOPortBase + LCR, Mode); // Sets Mode and resets the
// Divisor latch
// Set modem control bits
_SetEXRegByte(SIOPortBase + MCR, ModemCntrl);
return E_OK;
}
/******************************* MAIN ***********************************/
Parameters:
None
Returns:
None
Assumptions:
None
Real/Protected Mode
No changes required.
--------------------------------------------------------------------------*/
#ifndef SetEXRegWordInline
#define SetEXRegWordInline(address, word) \
_asm mov dx, address; \
_asm mov ax, word; \
_asm out dx, ax;
#endif
void main(void)
{
InitSIO(SIO_PORT, // Which Serial Port
SIO_8N1, // Mode, 8-data, no parity, 1-stop
SIO_MCR_RTS+SIO_MCR_DTR, // Modem line controls
9600, // Baud Rate
BAUD_CLKIN); // Baud Clocking Rate
_asm // Store registers to preserve values
{
push DI
push SI
push DS
push ES
}
SetEXRegWordInline(CS4ADL, 0x702); // Configure chip select 4
SetEXRegWordInline(CS4ADH, 0x0);
SetEXRegWordInline(CS4MSKL, 0xFC01);
SetEXRegWordInline(CS4MSKH, 0x0);

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Intel 386 and is the answer not in the manual?

Intel 386 Specifications

General IconGeneral
Architecturex86
Clock Speed12 MHz to 40 MHz
Transistor Count275, 000
Data Bus Width32-bit
Address Bus Width32-bit
Instruction Setx86
Introduced1985
Maximum Memory4 GB
Operating ModesReal mode, Protected mode, Virtual 8086 mode
MMUYes
Voltage5V
ModelIntel 386
PackagePGA
Process1.5 μm to 1 μm

Related product manuals