Panasonic MN103001G/F01K User Manual page 311

Panax series microcomputer
Table of Contents

Advertisement

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
Bit
SC0
SC0
SC0
name
RXB7 RXB6 RXB5 RXB4 RXB3 RXB2 RXB1 RXB0
Reset
0
0
Access
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
Bit
-
-
name
Reset
0
0
Access
R
R
Bit No.
Bit name
0
SC0OEF
1
SC0PEF
2
SC0FEF
3
4
SC0RBF
5
SC0TBF
6
SC0RXF
7
SC0TXF
8
SC0STF
9
SC0SPF
15 to 10
5
4
3
2
SC0
SC0
SC0
SC0
0
0
0
0
R
R
R
R
R
13
12
11
10
SC0
-
-
-
-
SPF
0
0
0
0
R
R
R
R
R
Description
Overrun error indication
0: No error
Parity error indication
0: No error
Framing error indication
0: No error
"0" is returned when this bit is read.
Reception buffer status indication
0: Reception buffer empty
1: Data exists in the reception buffer
Transmission buffer status indication
0: Transmission buffer empty
1: Data exists in the transmission buffer
Reception status indication
0: Waiting for reception
1: Reception in progress
Transmission status indication
0: Ready for transmission
1: Transmission in progress
I2C start sequence detection
(Cleared by reading SC0RXB or by writing SC0TXB)
0: Not detected
1: Detected
I2C stop sequence detection
(Cleared by reading SC0RXB or by writing SC0TXB)
0: Not detected
1: Detected
"0" is returned when these bits are read.
1
0
SC0
0
0
R
9
8
7
6
5
SC0
SC0
SC0
SC0
STF TXF RXF TBF RBF
0
0
0
0
0
R
R
R
R
1: Overrun error occurred
1: Parity error occurred
1: Framing error occurred
Serial Interface
4
3
2
1
SC0
SC0
SC0
SC0
-
FEF
PEF OEF
0
0
0
0
R
R
R
R
13-9
0
0
R

Advertisement

Table of Contents
loading

Table of Contents