9.2.4Modem Control Register (MCR)

Parallel Host Interface 16C450/16C550A UART

9.2.4Modem Control Register (MCR)

Figure 17. Modem Control Register (MCR)

Register 4

0

0

0

Loop

Out 2

Out 1

RTS

DTR

 

This register controls the DTE-DCE UART interface.

 

 

Bit 7:5

Not used—These bits are permanently set to ‘0’.

 

 

 

Loop Bit—When set to ‘1’, this bit configures the UART for loopback diagnostic testing. In diagnostic mode,

 

any data that is written to the THR (Transmit Holding register) is looped back to the RBR (Receiver Buffer

 

register).

Bit 4

After writing a data byte to the THR register in loopback mode, the DTE must read the RBR register before

 

writing a new data byte to the THR.

 

Unlike a real 16C450 UART, the modem signals OUT1*, OUT2*, RTS*, and DTR* are not looped back to the

 

MSR register.

 

 

Bit 3

Out 2—This bit, when set to ‘1’ by the DTE, enables the HINT output pin. When set to ‘0’, this bit causes the

HINT pin to be in a high-impedance state.

 

 

 

Bit 2

Out 1—This read/write bit is not used for any specific functions.

 

 

Bit 1

RTS (Request to Send)—This bit when set to ‘1’, indicates that the DTE is ready to send data to the modem.

 

 

Bit 0

DTR (Data Terminal Ready)—When set to ‘1’, this bit indicates that the DTE is read to establish a

communication link.

 

 

 

9.2.5Line Control Register (LCR)

Figure 18. Line Control Register (LCR)

Register 3

DLAB

SBRK

SPAR

EPS

PEN

STB

WLS1

WLS0

This register specifies the asynchronous data communication exchange format. The modem supports up to 10-bit data characters (1 start bit + # of data character bits + parity + # of stop bits).

 

Divisor Latch Access Bit (DLAB)—This bit must be set to ‘1’ to access the divisor latches of the baud rate

Bit 7

generator during a read or write operation. The UART registers 1 and 0 are used for the divisor latches. This

bit must be set to ‘0’ to access the Receiver Buffer register (RBR), the THR (Transmitter Holding register) or

 

 

the IER (Interrupt Enable register).

 

 

 

SBRK (Set Break)—This bit is used to send a long-space disconnect message to the remote modem.

 

The procedure is as follows:

After the THRE bit has been set to ‘1’ by the DCE and before setting the SBRK bit, the DTE needs to write

Bit 6

a NULL ($00h) character to the THR.

The DTE then sets the SBRK bit after the next time the THRE bit is set by the DCE (a long space is now being transmitted).

To return to normal transmission mode, wait for the TEMT to be equal to ‘1’, then reset the SBRK bit.

 

SPAR (Stick Parity)—When this bit is set to ‘1’, stick parity is enabled. When configured for stick parity (SPAR

Bit 5

= 1), even parity (EPS = 1) with parity enable (PEN = 1), then the parity bit is transmitted and checked as a

logic ‘0’. When configured for stick parity (SPAR = 1), odd parity (EPS = 0) and parity enable (PEN = 1) are set

 

 

to ‘1’, then the parity bit is transmitted and checked as a logic ‘1’.

536EX Chipset Developer’s Manual

97

Intel Confidential

Page 97
Image 97
Intel 536EX manual 9.2.4Modem Control Register MCR, 9.2.5Line Control Register LCR, Intel Confidential