Instruction manual
Renesas USB MCU and USB ASSP USB Basic Host and Peripheral firmware
R01AN0512EJ0210 Rev.2.10 Page 12 of 157
Apr 1, 2013
2.5 Software Configuration
In peripheral mode, USB-BASIC-FW comprises the peripheral driver (PCD), and the application (APL). PDCD is the
class driver and not part of the USB-BASIC-F/W. See
Table 2-3. In host mode, USB-BASIC-FW comprises the host
driver (HCD), the manager (MGR), the hub class driver (HUBCD) and the application (APL). HDD and HDCD are not
part of the USB-BASIC-F/W, see
Table 2-3
The peripheral driver (PCD) and host driver (HCD) initiate hardware control through the hardware access layer
according to messages from the various tasks or interrupt handler. They also notify the appropriate task when hardware
control ends, of processing results, and of hardware requests.
Manager manages the connection state of USB peripherals and performs enumeration. In addition, manager issues a
message to host driver or hub class driver when the application changes the device state. Hub class driver is sample
program code for managing the states of devices connected to the down ports of the USB hub and performing
enumeration.
The customer will need to make a variety of customizations, for example designating classes, issuing vendor-specific
requests, making settings with regard to the communication speed or program capacity, or making individual settings that
affect the user interface.
In addition, PDCD and HDCD need to be created by user. Please refer to the following sample program about how to
create PDCD and HDCD.
PDCD : Workspace\VENDOR\r_usb_vendor_pdriver.c
HDCD : Workspace\VENDOR\r_usb_vendor_hdriver.c