Instruction manual
Renesas USB MCU and USB ASSP USB Basic Host and Peripheral firmware
R01AN0512EJ0210 Rev.2.10 Page 93 of 157
Apr 1, 2013
R_usb_hstd_SetPipeInfo
Copy pipe information to host pipe information table
Format
void R_usb_hstd_SetPipeInfo (uint16_t *ep_tbl, uint16_t *tmp_tbl, uint16_t length)
Argument
*ep_tbl Pointer to pipe information table (destination)
*tmp_tbl Pointer to pipe information table (source)
length Length of table
Return Value
- -
Description
Pipe information table is copied from source (*tmp_tble) to destination (*ep_tbl).
Note
Call this function from the user application or class driver.
Example
void usb_smp_task(void)
{
:
R_usb_hstd_SetPipeInfo(&def_eptbl[0], &smp_eptbl[offset], length);
:
}