Starts RIIC master transmission.
This API function handles RIIC master transmission to the slave device at the address specified by the argument adr and the R/W#bit. RIIC master transmission in byte units is repeated the number of times specified by the argument tx_num from the buffer at the location specified by the argument tx_buf. |
This API function internally calls R_RIICn_StartCondition to handle processing to start RIIC master transmission. |
When performing a RIIC master transmission, R_RIICn_Start must be called before this API function is called. |
#include "r_cg_macrodriver.h" MD_STATUS R_RIICn_Master_Send ( uint8_t adr, uint8_t * const tx_buf, uint16_t tx_num ); |