beautypg.com

Panasonic MN103001G/F01K User Manual

Page 311

background image

Serial Interface

13-9

Serial 0 reception buffer

Register symbol: SC0RXB

Address:

x'34000809

Purpose:

This register reads in the reception data of serial interface 0.

Bit No.

7

6

5

4

3

2

1

0

Bit

SC0

SC0

SC0

SC0

SC0

SC0

SC0

SC0

name

RXB7 RXB6 RXB5 RXB4 RXB3 RXB2 RXB1 RXB0

Reset

0

0

0

0

0

0

0

0

Access

R

R

R

R

R

R

R

R

Reception data is gotten by reading this buffer at the end of reception.

In the case of a 7-bit transfer, the MSB (bit 7) is "0".

Serial 0 status register

Register symbol: SC0STR

Address:

x'3400080C

Purpose:

This register indicates the status of serial interface 0.

Bit No.

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

Bit

-

-

-

-

-

-

SC0

SC0

SC0

SC0

SC0

SC0

-

SC0

SC0

SC0

name

SPF

STF

TXF

RXF

TBF

RBF

FEF

PEF

OEF

Reset

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Access

R

R

R

R

R

R

R

R

R

R

R

R

R

R

R

R

Bit No.

Bit name

Description

0

SC0OEF

Overrun error indication

0: No error

1: Overrun error occurred

1

SC0PEF

Parity error indication

0: No error

1: Parity error occurred

2

SC0FEF

Framing error indication

0: No error

1: Framing error occurred

3

"0" is returned when this bit is read.

4

SC0RBF

Reception buffer status indication

0: Reception buffer empty
1: Data exists in the reception buffer

5

SC0TBF

Transmission buffer status indication

0: Transmission buffer empty
1: Data exists in the transmission buffer

6

SC0RXF

Reception status indication

0: Waiting for reception
1: Reception in progress

7

SC0TXF

Transmission status indication

0: Ready for transmission
1: Transmission in progress

8

SC0STF

I2C start sequence detection
(Cleared by reading SC0RXB or by writing SC0TXB)

0: Not detected
1: Detected

9

SC0SPF

I2C stop sequence detection
(Cleared by reading SC0RXB or by writing SC0TXB)

0: Not detected
1: Detected

15 to 10

"0" is returned when these bits are read.