CHAPTER 12 USB FUNCTION CONTROLLER (USBF)
Preliminary User’s Manual U19014EJ1V0UD
357
Figure 12-10. Initialization of Request Data Register Area
The value of 0XH depends on the power supply method.
•
SFPW = 1: Self-powered
•
SFPW = 0: Bus-powered
n = 0 to 2. Setting is unnecessary if the target
endpoint is not used.
If the total number of bytes of the UF0CIEa register exceeds 256,
set the UF0MODC register to 40H. No data has to be written to
the UF0CIEa register.
Input the total number of bytes of the UF0CIEa register.
UF0DSTL register = 0XH
UF0EnSL register = 00H
Setting of UF0DSCL register
Inputting UF0DDm register
Inputting UF0CIEa register
Remark
m = 0 to 17
a = 0 to 255
Figure 12-11. Setting of Interface and Endpoint
ADDIF, IFNO1, IFNO0 = 000: Interface number 0 is valid.
ADDIF, IFNO1, IFNO0 = 100: Interface numbers 0 and 1 are valid.
ADDIF, IFNO1, IFNO0 = 101: Interface numbers 0 to 2 are valid.
ADDIF, IFNO1, IFNO0 = 110: Interface numbers 0 to 3 are valid.
ADDIF, IFNO1, IFNO0 = 111: Interface numbers 0 to 4 are valid.
Set a link between the target Interface of endpoint n and Alternative Setting.
Set 00H if the target endpoint is not used.
Set Interface number(s) and a link with the 5- or 2-series Alternative
Setting.
Setting of UF0AIFN register
Setting of UF0AAS register
Setting of UF0EnIM register
Remark
n = 1, 2
electronic components distributor