EasyManua.ls Logo

Renesas RL78/G13 - Flowchart of Main Processing

Renesas RL78/G13
40 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
Loading...
RL78/G13 Handshake-based SPI Master Transmission/Reception
R01AN6883EJ0100 Rev.1.00 Page 27 of 38
June.15.23
5.6.8 Flowchart of Main Processing
Figure 5-8 to Figure 5-9 show the overall flow of processing in this application note.
Figure 5-8 Main Processing 1/2
Main()
User Main Initialization
R_MAIN_UserInit()
A
B
Disable interrupts
IE 0
TMMK00 0
Enter HALT mode
Set timer 03H interrupt request flag 
TMIF00 1
Clear TAU0 channel 0 interrupt request flag
TMIF03H 0
CS2_pin 1
CS1_pin 0
Select slave 1
Clear timeout flag
g_timeout_flag 0
g_slave_select_flag = 0?
Select slave 2
Yes
CS2_pin 0
CS1_pin
1
No

Other manuals for Renesas RL78/G13

Related product manuals