CHAPTER 12 USB FUNCTION CONTROLLER (USBF)
Preliminary User’s Manual U19014EJ1V0UD
345
(10) UF0 device descriptor registers 0 to 17 (UF0DD0 to UF0DD17)
These registers store the value to be returned in response to the GET_DESCRIPTOR Device request.
These registers can be read or written in 8-bit units. However, data can be written to these registers only
when the EP0NKA bit is set to 1.
Cautions 1. To rewrite these registers, set the EP0NKA bit to 1 before reading the register contents,
and rewrite the register contents after confirming that the bit has been set, in order to
prevent conflict between a read access and a write access.
2. Use the value defined by USB Specification Ver. 2.0 and the latest Class Specification as
the set value.
UF0DDn
(n = 0 to 17)
5
3
2
1
After reset
0
4
6
7
Undefined
Address
See
Table 12-5
.
Table 12-5. Mapping and Data of UF0 Device Descriptor Registers
Symbol Address
Field
Name
Contents
UF0DD0
F9D1H
bLength
Size of this descriptor
UF0DD1
F9D2H
bDescriptorType
Device descriptor type
UF0DD2
F9D3H
Value below decimal point of Rev. number of USB specification
UF0DD3 F9D4H
bcdUSB
Value above decimal point of Rev. number of USB specification
UF0DD4 F9D5H
bDeviceClass
Class
code
UF0DD5 F9D6H
bDeviceSubClass Subclass
code
UF0DD6 F9D7H
bDeviceProtocol
Protocol
code
UF0DD7
F9D8H
bMaxPacketSize0
Maximum packet size of Endpoint0
UF0DD8
F9D9H
Lower value of vendor ID
UF0DD9 F9DAH
idVendor
Higher value of vendor ID
UF0DD10
F9DBH
Lower value of product ID
UF0DD11 F9DCH
idProduct
Higher value of product ID
UF0DD12
F9DDH
Lower value of device release number
UF0DD13 F9DEH
bcdDevice
Higher value of device release number
UF0DD14
F9DFH
iManufacturer
Index of string descriptor describing manufacturer
UF0DD15
F9E0H
iProduct
Index of string descriptor describing product
UF0DD16
F9E1H
lSerialNumber
Index of string descriptor describing device serial number
UF0DD17
F9E2H
BNumConfigurations
Number of settable configurations
electronic components distributor