Instruction manual

Renesas USB MCU and USB ASSP USB Basic Host and Peripheral firmware
R01AN0512EJ0210 Rev.2.10 Page 59 of 157
Apr 1, 2013
USB_CUSE : CPU access using CFIFO
USB_D0USE : CPU access using D0FIFO
USB_D0DMA : DTC/DMA access using D0FIFO
USB_D1USE : CPU access using D1FIFO
USB_D1DMA :
DTC/DMA access using DD1FIFO
See “
11. DTC/EXDMA Transfer” about using DTC
Restrictions
The transaction counter work to the receive direction pipe.
No sample program are provided for USBC_D0USE and USBC_D1DMA
7). Other pipe setting notes
Use device class to specify transfer unit communication synchronization.
Do not fail to write USBC_PDTBLEND at the end of the table.
4.7 Descriptor
In order for USB-BASIC-FW to operate in peripheral mode, it is necessary to create a descriptor table that matches the
class under development. (A sample table is included in r_usb_vendor_descriptor.c.)
The descriptor definitions comprise the following four types.
1. Standard Device Descriptor :
uint8_t usb_gpvendor_smpl_DeviceDescriptor[]
2. Device Qualifier Descriptor :
uint8_t usb_gpvendor_smpl_QualifierDescriptor[]
3. Configuration
Other_Speed_Configuration
Interface
Endpoint
:
uint8_t
uint8_t
usb_gpvendor_smpl_ConfigurationH_1[]
usb_gpvendor_smpl_ConfigurationF_1[]
4. String Descriptor :
uint8_t
uint8_t
uint8_t
uint8_t
uint8_t
uint8_t
usb_gpvendor_string_descriptor0[]
usb_gpvendor_string_descriptor1[]
usb_gpvendor_string_descriptor2[]
usb_gpvendor_string_descriptor3[]
usb_gpvendor_string_descriptor4[]
usb_gpvendor_string_descriptor5[]
Note:
1. For details of each descriptor, see chapter 9 of the USB revision 2.0 specification
2. When making changes to descriptor definitions, it is also necessary to make changes to the pipe information table
to match the endpoint descriptors.