
355
CHAPTER 20 UART2, UART3
Table 20.4-3 Functions of Each Bit of Status Register (SSR2/SSR3) (1/2)
Bit name
Function
bit15
PE:
Parity error flag
bit
•
This bit is set to "1" when a parity error occurs during reception at PEN=1 and is cleared
when "1" is written to the CRE bit of the serial mode register (SMR2/SMR3).
MB90V390H/MB90F394H(A):
This bit is also cleared when a LIN break is detected
(LBD=1).
•
A reception interrupt request is output when this bit and the RIE bit are "1".
•
Data in the reception data register (RDR2/RDR3) is invalid when this flag is set.
bit14
ORE:
Overrun error
flag bit
•
This bit is set to "1" when an overrun error occurs during reception and is cleared when
"0" is written to the CRE bit of the serial mode register (SMR2/SMR3).
MB90V390H/MB90F394H(A):
This bit is also cleared when a LIN break is detected
(LBD=1).
•
A reception interrupt request is output when this bit and the RIE bit are "1".
•
Data in the reception data register (RDR2/RDR3) is invalid when this flag is set.
bit13
FRE:
Framing error
flag bit
•
This bit is set to "1" when a framing error occurs during reception and is cleared when
"0" is written to the CRE bit of the serial mode register 1 (SMR2/SMR3).
MB90V390H/MB90F394H(A):
This bit is also cleared when a LIN break is detected
(LBD=1).
•
A reception interrupt request is output when this bit and the RIE bit are "1".
•
Data in the reception data register (RDR2/RDR3) is invalid when this flag is set.
Note:
When framing error is detected by the first or the second bit of the stop bit at SBL=1,
this bit is set to "1" as for either stop bit.
Thus, it is necessary to determine whether the receive data is enabled by the second bit
of the stop bit.
bit12
RDRF:
Receive data full
flag bit
•
This flag indicates the status of the reception data register (RDR2/RDR3).
•
This bit is set to "1" when reception data is loaded into RDR2/RDR3 and can only be
cleared to "0" when the reception data register (RDR2/RDR3) is read.
MB90V390H/MB90F394H(A):
This bit is also cleared when a LIN break is detected
(LBD=1).
•
A reception interrupt request is output when this bit and the RIE bit are "1".
bit11
TDRE:
Transmission
data empty flag
bit
•
This flag indicates the status of the transmission data register (TDR2/TDR3).
•
This bit is cleared to "0" when transmission data is written to TDR2/TDR3 and is set to
"1" when data is loaded into the transmission shift register and transmission starts.
•
A transmission interrupt request is generated if both this bit and the TIE bit are "1".
•
If the LBR bit in the ECCR2/ECCR3 register is set to "1" while the TDRE bit is "1",
then this bit once changes to "0". When effective data to TDR2/TDR3 doesn't exist after
the completion of LIN synch break generator, the TDRE bit returns to "1".
Note:
This bit is set to "1" (TDR2/TDR3 empty) as its initial value.
bit10
BDS:
Transfer
direction
selection bit
•
This bit selects whether to transfer serial data from the least significant bit (LSB first,
BDS=0) or the most significant bit (MSB first, BDS=1).
This bit is fixed to "0" at mode 3.
Note:
When the BDS bit is rewritten after the receive data writing to receive data register
(RDR2/RDR3) because an upper side and lower side are replaced at the time of writing
receive data to the receive data register (RDR2/RDR3), the data of RDR2/RDR3
becomes invalid.
Summary of Contents for MB90390 Series
Page 2: ......
Page 4: ......
Page 17: ...xiii APPENDIX D List of Interrupt Vectors 690 INDEX 695 ...
Page 18: ...xiv ...
Page 132: ...104 CHAPTER 5 CLOCKS ...
Page 152: ...124 CHAPTER 6 CLOCK MODULATOR ...
Page 210: ...182 CHAPTER 11 TIME BASE TIMER ...
Page 218: ...190 CHAPTER 12 WATCHDOG TIMER ...
Page 264: ...236 CHAPTER 14 16 BIT RELOAD TIMER WITH EVENT COUNT FUNCTION ...
Page 274: ...246 CHAPTER 15 WATCH TIMER ...
Page 306: ...278 CHAPTER 17 DTP EXTERNAL INTERRUPTS ...
Page 338: ...310 CHAPTER 18 8 10 BIT A D CONVERTER ...
Page 364: ...336 CHAPTER 19 UART0 UART1 ...
Page 398: ...370 CHAPTER 20 UART2 UART3 Figure 20 5 2 ORE Set Timing Receive data RDRF ORE ...
Page 432: ...404 CHAPTER 20 UART2 UART3 ...
Page 482: ...454 CHAPTER 22 SERIAL I O ...
Page 560: ...532 CHAPTER 24 STEPPING MOTOR CONTROLLER ...
Page 582: ...554 CHAPTER 27 ROM MIRRORING MODULE ...
Page 632: ...604 CHAPTER 29 EXAMPLES OF SERIAL PROGRAMMING CONNECTION ...
Page 722: ...694 APPENDIX ...
Page 723: ...695 INDEX The index follows on the next page This is listed in alphabetic order ...
Page 740: ......