EasyManua.ls Logo

Renesas RL78/G13 - Flowchart of CSI Status Check

Renesas RL78/G13
40 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/G13 Handshake-based SPI Master Transmission/Reception
R01AN6883EJ0100 Rev.1.00 Page 32 of 38
June.15.23
5.6.14 Flowchart of CSI Status Check
Figure 5-15 shows the flow of status checking.
Figure 5-15 CSI Status Check
CSI00_Sta
tus_check()
cnt = 0
return
cnt <= 2
Is a return value from wait() 0?
Enable interrupts
cnt == 0
Set status check command
Set dummy command
R_CSI00_Send_Receive(&g_tx_data,
data_length, &g_rx_data)
Enter HALT mode
INTCSI00 occurred
cnt > 0
Store receive data
cnt == 2
Is receive data appropriate?
Set g_status_confirmation_flag
cnt ++
Set g_timeout_flag
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
No

Other manuals for Renesas RL78/G13

Related product manuals