Instruction manual
Renesas USB MCU and USB ASSP USB Basic Host and Peripheral firmware
R01AN0512EJ0210 Rev.2.10 Page 113 of 157
Apr 1, 2013
Table 5.9 USB_HCDREG_t structure members
Type Variable Name Description
uint16_t rootport Used by HCD. The connected port number is registered.
uint16_t devaddr Used by HCD. The device address is registered.
uint16_t devstate Used by HCD. The device connection state is registered.
uint16_t ifclass Register the interface class code for HDCD operation.
uint16_t *tpl Register the target peripheral list for HDCD operation.
(Please refit to "
5.6 Target Peripheral List".)
uint16_t *pipetbl Register the address of the pipe information table.
USB_CB_INFO_t classinit Function to be called when the driver is registered.
USB_CB_CHECK_t classcheck
Register the HDCD “class check” function to be called when a TPL
match occurs.
USB_CB_INFO_t devconfig
Register the function to be started when transitioning to the
configured state.
It is called in the SET_CONFIGURATION request status stage.
USB_CB_INFO_t devdetach
Register the function to be started when transitioning to the detach
state.
USB_CB_INFO_t devsuspend
Register the function to be started when transitioning to the
suspend state.
USB_CB_INFO_t devresume
Register the function to be started when transitioning to the
resume state.
USB_CB_INFO_t overcurrent Register the function started when overcurrent detection occurs.