Instruction manual
Renesas USB MCU and USB ASSP USB Basic Host and Peripheral firmware
R01AN0512EJ0210 Rev.2.10 Page 104 of 157
Apr 1, 2013
R_usb_cstd_GetUsbIpAdr
Get USB register base address
Format
void R_usb_cstd_GetUsbIpAdr ( uint16_t usbip )
Argument
usbip USB IP number
Return Value
USB register base address
Description
Return USB register base address of specified USB IP .
Note
Call this function from the user application.
Example
void usb_smp_task( void )
{
USB_UTR_t utr;
:
utr.ip = USB_HOST_USBIP_NUM;
utr.ipp = R_usb_cstd_GetUsbIpAdr(USB_HOST_USBIP_NUM );
:
}