Input Data Register (Sidr0/Sidr1) And Output Data Register (Sor0/Sor1) - Fujitsu MB90460 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 17 UART
17.4.4
Input Data Register (SIDR0/SIDR1) and Output Data
Register (SOR0/SOR1)
The input data register (SIDR0/SIDR1) is a serial data reception register. The output
data register (SODR0/SODR1) is a serial data transmission register. Both SIDR0/SIDR1
and SODR0/SODR1 registers are located in the same address.
■ Input Data Register (SIDR0/SIDR1)
Figure 17.4-5 shows the bit configuration of input data register 1.
Serial input data register
Address : 000022
000026
Read/write
Initial value
SIDR0/SIDR1 is a register that contains receive data. The serial data signal transmitted to the SIN0/SIN1
pin is converted in the shift register and stored there. When the data length is 7 bits, the uppermost bit (D7)
contains invalid data. When receive data is stored in this register, the receive data full flag bit (SSR0/
SSR1: RDRF) is set to "1". If a reception interrupt request is enabled at this point, a reception interrupt
occurs.
Read SIDR0/SIDR1 when the RDRF bit of the status register (SSR0/SSR1) is "1". The RDRF bit is
cleared automatically to "0" when SIDR0/SIDR1 is read.
Data in SIDR0/SIDR1 is invalid when a reception error occurs (SSR0/SSR1: PE, ORE or FRE = 1).
■ Output Data Register (SODR0/SODR1)
Figure 17.4-6 shows the bit configuration of the output data register.
Serial output data register
Address : 000022
000026
Read/write
Initial value
482
Figure 17.4-5 Input Data Register (SIDR0/SIDR1)
bit
7
6
H
D7
D6
H
(R)
(R)
(X)
(X)
Figure 17.4-6 Output Data Register (SODR0/SODR1)
bit
7
6
H
D7
D6
H
(W)
(W)
(X)
(X)
5
4
3
D5
D4
D3
(R)
(R)
(R)
(X)
(X)
(X)
5
4
3
D5
D4
D3
(W)
(W)
(W)
(X)
(X)
(X)
2
1
0
D2
D1
D0
(R)
(R)
(R)
(X)
(X)
(X)
2
1
0
SODR0
D2
D1
D0
SODR1
(W)
(W)
(W)
(X)
(X)
(X)
SIDR0
SIDR1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents