EasyManua.ls Logo

Renesas RL78 - UART0 Reception Complete Interrupt Processing; UART0 Receive Data Number Overrun Processing Function

Renesas RL78
88 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RL78/G11 UART Reception in STOP Mode Using Middle-speed On-chip Oscillator IAR
R01AN3634EJ0100 Rev.1.00 Page 81 of 85
Feb. 15, 2017
5.9.21 UART0 reception complete interrupt processing
Figure5.27 shows the flowchart for UART0 reception complete interrupt processing.
r_uart0_interrupt_receive
Read reception data and set to variable
No
Store reception data
Reach specified number of data?
Yes
No
UART0 reception complete processing
r_uart0_callback_reiveend()
Within specified number of data?
Yes
No
Update pointer and counter
return
UART0 reception data number overrun
processing function
r_uart0_callback_softwareoverrun()
*gp_uart0_rx_address rx_data
rx_data RXD0
gp_uart0_rx_addre ss++
g_uart0_rx_count++
Figure 5.27 UART0 Reception Complete Interrupt Processing
5.9.22 UART0 receive data number overrun processing function
Figure5.28 shows the flowchart for the UART0 receive data number overrun processing function.
r_uart0_callback_softwareoverrun
UART0 reception data number overrun
processing
(Note)
return
Note: The sample code does not perform this process.
Please add program as needed.
Figure 5.28 UART0 Receive Data Number Overrun Processing Function

Related product manuals