
318
CHAPTER 15 UART
15.4.4 Input-data register (SIDR0-3), output-data register
(SODR0-3)
The input-data register (SIDR0-3) is for receiving serial data. The output-data register
(SODR0-3) is for sending serial data. The SIDR0-3 and SODR0-3 registers are located
at the same address.
■
Input-data register (SIDR0-3)
The configuration of the input-data register (SIDR0-3) as shown below.
Received data is stored in this register. The shift register converts the serial data signal sent to
the SIN0-3 pins. The converted data is stored in this register. When the data length is 7 bits, the
high-order bit (D7) contains invalid data. When the receive data is stored in this register, the
receive data full flag bit (SSR0-3: RDRF) is set to 1. If receive-interrupt request is enabled, a
receive interrupt occurs.
Read the SIDR0-3 when the RDRF bit of the status register (SSR0-3) is 1. The RDRF bit is
automatically cleared to 0 when the SIDR0-3 is read. If a receive error occurs (SSR0-3: If PE,
ORE, or FRE is 1), the SIDR0-3 data becomes invalid.
■
Output-data register (SODR0-3)
The configuration of the output-data register (SODR0-3) is shown below.
When send data is written to this register in send-enabled status, the send data is transferred to
the send-shift register, is converted into serial data, and is sent out from the serial data output
pins (SOT0-3 pins). When the data length is 7 bits, the high-order bit (D7) contains invalid data.
When the send data is written to this register, the send data empty flag (SSR0-3: TDRE) is
cleared to 0. When the transfer to the send-shift register terminates, the flag is set to 1. When
ch0:0000_001Dh
ch1:0000_0021h
ch2:0000_0025h
ch3:0000_0029h
Address
bit7
D7
R
bit6
D6
R
bit5
D5
R
bit4
D4
R
bit3
D3
R
bit2
D2
R
bit1
D1
R
bit0
D0
R
bit15 ........... bit8
XXXXXXXX
B
R: Read only
X: Undetermined
Initial value
ch0:0000_001Dh
ch1:0000_0021h
ch2:0000_0025h
ch3:0000_0029h
Address
bit7
D7
W
bit6
D6
W
bit5
D5
W
bit4
D4
W
bit3
D3
W
bit2
D2
W
bit1
D1
W
bit0
D0
W
bit15 ................
bit8
Initial value XXXXXXXX
B
R: Read only
X: Undetermined
Summary of Contents for MB91150 Series
Page 1: ......
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 BIT MICROCONTROLLER MB91150 Series HARDWARE MANUAL ...
Page 4: ......
Page 10: ...vi ...
Page 112: ...96 CHAPTER 3 MEMORY SPACE CPU AND CONTROL UNIT ...
Page 178: ...162 CHAPTER 5 I O PORTS ...
Page 214: ...198 CHAPTER 7 16 BIT RELOAD TIMER ...
Page 240: ...224 CHAPTER 8 PPG TIMER ...
Page 310: ...294 CHAPTER 13 8 10 BIT A D CONVERTER ...
Page 318: ...302 CHAPTER 14 8 BIT D A CONVERTER ...
Page 362: ...346 CHAPTER 15 UART ...
Page 420: ...404 CHAPTER 19 PERIPHERAL STOP CONTROL ...
Page 428: ...412 CHAPTER 20 CALENDAR MACROS ...
Page 503: ...487 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 510: ...494 INDEX ...
Page 512: ......