![Renesas RX72M Series Application Note Download Page 43](http://html.mh-extra.com/html/renesas/rx72m-series/rx72m-series_application-note_1440520043.webp)
RX72M Group
Single-Chip Motor Control via EtherCAT Communications
R01AN5434EJ0110 Rev.1.10
Page 43 of 85
Aug.31.2020
5.17 R_MTR_CtrlInput
This function copies an ICS input variable to the buffer of variables for ICS input.
Format
void R_MTR_CtrlInput(mtr_ctrl_input_t *st_ctrl_input)
Parameters
Pointer to an mtr_ctrl_input_t type structure
Return Values
None
Properties
The prototypes are declared in r_mtr_driver_acces.h.
Description
This function copies the mtr_ctrl_input_t type variable to which the pointer points to the buffer of variables for
ICS input, st_ctrl_input_buff. It also sets the write enable flag (u1_trig_enable_write) among the motor control
parameters.
Example
/* Structure for ICS input */
mtr_ctrl_input_t st_ctrl_input;
/* copy variables */
R_MTR_CtrlInput(&st_ctrl_input);