
317
CHAPTER 15 UART
[Bit 14] ORE (Overrun error flag bit)
•
If an overrun occurs at reception, this bit is set to 1. When the REC bit of the mode register
(SMR0-3) is set to 0, this bit is cleared to 0.
•
When this bit and the RIE bit are 1, a receive-interrupt request is output.
•
When this flag is set, data in the input-data register (SIDR0-3) is invalid.
[Bit 13] FRE (Framing error flag bit)
•
If a framing error occurs at reception, this bit is set to 1. When the REC bit of the mode
register (SMR0-3) is set to 0, this bit is cleared to 0.
•
When this bit and the RIE bit are 1, a receive-interrupt request is output.
•
When this flag is set, data in the input-data register (SIDR0-3) is invalid.
[Bit 12] RDRF (Receive data full flag bit)
•
This bit indicates the status of the input-data register (SIDR0-3).
•
When receive data is loaded into SIDR0-3, this bit is set to 1. When the SIDR0-3 is read, this
bit is cleared to 0.
•
When this bit and the RIE bit are 1, a receive-interrupt request is output.
[Bit 11] TDRE (Send data empty flag bit)
•
This bit indicates the status of the output-data register (SODR0-3).
•
When send data is written into SODR0-3, this bit is cleared to 0. When data is loaded into
the send-shift register and sending starts, this bit is cleared to 1.
•
When this bit and the TIE bit are 1, a send-interrupt request is output.
(Note)
In the initial status, this bit is set to 1 (SODR0-3 unoccupied).
[Bit 10] BDS (Transfer direction selection bit)
•
This bit selects whether to begin transferring serial data from the least significant bit (LSB
first, BDS = 0) or from the most significant bit (MSB first, BDS = 1).
(Note)
If this bit is rewritten after data is written into the SDR register, the data becomes invalid.
This is because the high-order bits and low-order bits of the data are swapped during read
and write accesses to the serial data register.
[Bit 9] RIE (Receive-interrupt request enable bit)
•
This bit enables or disables output of receive-interrupt requests to the CPU.
•
When this bit and the receive data flag bit (RDRF) bit are 1 or when this bit and one or more
of the error flag bits (PE, ORE, and FRE) are 1, a receive-interrupt request is output.
[Bit 8] TIE (Send-interrupt request enable bit)
•
This bit enables/disables send-interrupt requests to be output to the CPU.
•
When this bit and the TDRE bit are 1, a send-interrupt request is output.
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: ......