Quatech ES-100 user manual Line Control Register, EPS PEN Parity

Models: ES-100

1 31
Download 31 pages 63.62 Kb
Page 22
Image 22

LINE CONTROL REGISTER

This register is located at I/O address [base+3]. It is used for specifying the format of the asynchronous serial data to be processed by the UART, and to set the Divisor Latch Access Bit (DLAB) allowing access to the baud rate divisor latches.

BIT

 

 

DESCRIPTION

 

 

 

 

 

 

 

 

 

7

DLAB --- Divisor latch access bit:

 

 

 

 

 

 

DLAB must be set to logic 1 to access the baud rate divisor latches. DLAB must be set to logic

 

0 to access the receiver buffer, transmitting holding register and interrupt enable register.

6

BKCN --- Break control:

 

 

 

 

 

 

When set (logic 1), the serial output (SOUT) is forced to the spacing state (logic 0).

5

STKP --- Stick parity:

 

STKP

EPS

PEN

PARITY

 

Forces parity to logic 1 or logic 0 if

 

 

parity is enabled.

 

x

x

0

None

 

 

 

 

0

0

1

Odd

4

EPS --- Even parity select:

 

 

0

1

1

Even

 

Selects even or odd parity if parity is

 

 

 

1

0

1

Logic 1

 

enabled.

 

 

 

 

 

1

1

1

Logic 0

 

 

 

 

3

PEN --- Parity enable:

 

 

 

 

 

 

 

Enables parity on transmission and

 

 

 

 

 

 

verification on reception.

 

 

 

 

 

2

STB --- Number of stop bits:

STB

WLS1

WLS0

WORD LEN STOP BITS

 

Sets the number of stop bits

 

transmitted.

 

0

0

0

5 bits

1

 

 

 

0

0

1

6 bits

1

 

 

 

0

1

0

7 bits

1

 

 

 

0

1

1

8 bits

1

 

 

 

1

0

0

5 bits

1.5

 

 

 

1

0

1

6 bits

2

 

 

 

1

1

0

7 bits

2

 

 

 

1

1

1

8 bits

2

1

WLS1 --- Word length select:

 

 

 

 

 

0

WLS0 ---

Determines the number

 

 

 

 

 

of bits per transmitted

 

 

 

 

 

 

 

 

 

 

 

 

 

 

word.

 

 

 

 

 

 

 

 

 

 

 

 

Figure 18 --- Line Control Register bit definitions

 

Quatech ES-100D User's Manual

17

Page 22
Image 22
Quatech ES-100 user manual Line Control Register, EPS PEN Parity