EasyManuals Logo

Renesas RL78/G1D Application Note

Renesas RL78/G1D
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
Page #20 background imageLoading...
Page #20 background image
RL78/G13 Handshake-based SPI Master Transmission/Reception
R01AN6883EJ0100 Rev.1.00 Page 20 of 38
June.15.23
[Function Name] CSI00_Send
Synopsis
CSI transmission
Header
r_cg_macrodriver.h
r_cg_cgc.h
r_cg_port.h
r_cg_serial.h
r_cg_timer.h
r_cg_userdefine.h
Declaration
void CSI00_Send (void)
Explanation
Performs the master transmission processing.
Arguments
None
Return value
None
Remarks
None
[Function Name] CSI00_Receive
Synopsis
CSI reception
Header
r_cg_macrodriver.h
r_cg_cgc.h
r_cg_port.h
r_cg_serial.h
r_cg_timer.h
r_cg_userdefine.h
Declaration
void CSI00_Receive (void)
Explanation
Performs the master reception processing.
Arguments
None
Return value
None
Remarks
None
[Function Name] R_CSI00_Send_Receive
Synopsis
CSI00 Transmit/Receive Processing
Header
r_cg_macrodriver.h
r_cg_serial.h
r_cg_userdefine.h
Declaration
MD_STATUS R_CSI00_Send_Receive(uint8_t * const tx_buf
uint16_t tx_num
uint8_t * const rx_buf)
Explanation
Configure CSI00 data sending/receiving settings.
Arguments
uint8_t * const tx_buf
: [Address of sent data buffer]
uint16_t tx_num
: [Sent data buffer size]
uint8_t * const rx_buf
: [Address of received data buffer]
Return value
[MD_OK]
Sending/receiving settings complete
[MD_ARGERROR]Sending/receiving settings failure
Remarks
None
[Function Name] r_csi00_interrupt
Synopsis
INICSI00 interrupt processing
Header
r_cg_macrodriver.h
r_cg_serial.h
r_cg_userdefine.h
Declaration
static void __near r_csi00_interrupt(void)
Explanation
If there is unsent data, reads the received data and starts sending the unsent data. If
there is no unsent data, reads the received data.
Arguments
None
Return value
None
Remarks
None

Other manuals for Renesas RL78/G1D

Questions and Answers:

Question and Answer IconNeed help?

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

Renesas RL78/G1D Specifications

General IconGeneral
BrandRenesas
ModelRL78/G1D
CategoryComputer Hardware
LanguageEnglish

Related product manuals