03.01.2015 Views

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SERIAL COMMUNICATIONS UNIT<br />

Register Name:<br />

Register Mnemonic:<br />

Register Function:<br />

Serial Status Register<br />

SxSTS<br />

Indicates the status of the serial port.<br />

15 0<br />

D<br />

B<br />

R<br />

K<br />

1<br />

D<br />

B<br />

R<br />

K<br />

0<br />

R<br />

B<br />

8/<br />

P<br />

E<br />

R<br />

I<br />

T<br />

I<br />

F<br />

E<br />

T<br />

X<br />

E<br />

O<br />

E<br />

C<br />

T<br />

S<br />

A1278-0A<br />

Bit<br />

Mnemonic<br />

Bit Name<br />

Reset<br />

State<br />

Function<br />

FE Framing Error 0 FE is set when a framing error occurs. A<br />

framing error occurs when a valid stop bit is not<br />

detected.<br />

TXE<br />

Transmitter<br />

Empty<br />

1 TXE is set when both SxTBUF and the transmit<br />

shift register are empty. TXE determines when<br />

two consecutive bytes can be written to<br />

SxTBUF for transmission. Accessing SxSTS<br />

does not clear TXE.<br />

OE Overrun Error 0 OE is set when an overrun error occurs. An<br />

overrun error occurs when the character in<br />

SxRBUF is not read before another complete<br />

character is received. SxRBUF always contains<br />

the most recent reception.<br />

CTS Clear To Send 0 CTS is the complement of the value on the CTF<br />

pin. Accessing SxSTS does not clear CTS.<br />

NOTE:<br />

Reserved register bits are shown with gray shading. Reserved bits must be written<br />

to a logic zero to ensure compatibility with future Intel products.<br />

Figure 11-14. Serial Port Status Register (Continued)<br />

When either BREAK character is detected, an overrun error occurs (OE is set). SxRBUF will contain<br />

at least one null character.<br />

11-17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!