EasyManua.ls Logo

Renesas RL78/G13 - Flowchart of CSI Reception

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 35 of 38
June.15.23
5.6.17 Flowchart of CSI Reception
Figure 5-18 shows the flow of reception.
Figure 5-18 CSI Reception
CSI00_Receive()
Extract slave transmittable data
count and set it in g_num
return
g_num
>= RX_NUM
Enable interrupts
cnt = 0
cnt <=
RX_NUM+1
Is a return value from wait() 0?
cnt == 0
Set receive command in buffer for transmit data
Set dummy command in buffer for transmit data
R_CSI00_Send_Receive(&g_tx_dat
a, data_length, &g_rx_data)
Enter HALT mode
INTCSI00 occurred
cnt != 0
Store receive data
cnt ++
Set g_timeout_flag
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No

Other manuals for Renesas RL78/G13

Related product manuals