EasyManuals Logo

Renesas RL78/G1H User Manual

Renesas RL78/G1H
941 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #439 background imageLoading...
Page #439 background image
RL78/G1H CHAPTER 14 SERIAL ARRAY UNIT
R01UH0575EJ0120 Rev. 1.20 Page 421 of 920
Dec 22, 2016
Figure 14 - 86 Flowchart of UART Reception
SAU default setting
Starting UART
communication
Wait for receive completes
Clear interrupt request flag (XXIF), reset interrupt mask (XXMK)
and set.
Setting receive data
Setting storage area of the receive data , number of communication data
(storage area, reception data pointer, and number of communication data are
optionally set on the internal RAM by the software).
Enables interrupt
Starting reception if start bit is detected.
Transfer end interrupt
When receive complete, transfer end interrupt is generated.
Indicating normal reception?
Reading receive data from the SDRmn
[7:0] bits (RXDq register)
Yes
No
RETI
Reception completed?
Check the number of communication data, determine the
completion of reception
Yes
No
Error processing
Read receive data then writes to storage area.
Update receive data pointer and number of
communication data.
End of UART
Writing 1 to the STmn bit
Interrupt (mask)
Main routineInterrupt processing routineMain routine
For the initial setting, refer to Figure 14 - 82.
(setting to mask for error interrupt)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78/G1H and is the answer not in the manual?

Renesas RL78/G1H Specifications

General IconGeneral
BrandRenesas
ModelRL78/G1H
CategoryMicrocontrollers
LanguageEnglish

Related product manuals