Datasheet

V850ES/JG3-H, V850ES/JH3-H CHAPTER 21 USB FUNCTION CONTROLLER (USBF)
R01UH0042EJ0500 Rev.5.00 Page 1109 of 1513
Aug 12, 2011
(26) UF0 INT & DMARQ register (UF0IDR)
This register selects reporting via an interrupt request or starting DMA.
This register can be read or written in 8-bit units.
If data exists in either the UF0BO1 or UF0BO1 register, or if data can be written to the UF0BI1 or UF0BI2 register,
this register selects whether it is reported to the FW by an interrupt request, or whether starting DMA is requested.
If starting DMA is requested, the DMA transfer mode can be selected according to the setting of bits 0 and 1.
The related bits are invalid if each endpoint is not supported by the setting of the UF0EnIM register (n = 1 to 4)
and the current setting of the interface.
Be sure to clear bits 3 and 2 to “0”. If they are set to 1, the operation is not guaranteed.
Caution If the target endpoint is not supported by the SET_INTERFACE request under DMA transfer, the
DMA request signal becomes inactive immediately, and the corresponding bit is automatically
cleared to 0 by hardware.
(1/2)
DQBI2
MS
UF0IDR
DQBI1
MS
5
DQBO2
MS
DQBO1
MS
3
0
2
0
1
MODE1
Address
0020004CH
After reset
00H
0
MODE0
467
Bit position Bit name Function
7, 6 DQBInMS
These bits enable (mask) a write DMA transfer request (DMA request signal for Endpoint
m) to the UF0BIn register. When these bits are set to 1, the DMA request signal for
Endpoint m becomes active while writing data can be acknowledged. If the DMA end
signal for Endpoint m is input (if the DMA controller issues TC), these bits are
automatically cleared to 0 by hardware. To continue DMA transfer, re-set these bits to 1
by FW.
1: Enables active DMA request signal for Endpoint m (masks BKInDT interrupt).
0: Disables active DMA request signal for Endpoint m (default value).
5, 4 DQBOnMS
These bits enable (mask) a read DMA transfer request (DMA request signal for Endpoint
x) to the UF0BOn register. When these bits are set to 1, the DMA request signal for
Endpoint x becomes active if the data to be read is prepared in the UF0BOn register. If
the DMA end signal for Endpoint x is input (if the DMA controller issues TC), these bits are
automatically cleared to 0 by hardware. They are also cleared to 0 when the USBSPxB
signal is active. To continue DMA transfer, re-set these bits to 1 by FW.
1: Enables active DMA request signal for Endpoint x (masks BKOnDT interrupt).
0: Disables active DMA request signal for Endpoint x (default value).
Remark n = 1, 2
m = 1 and x = 2 where n = 1
m = 3 and x = 4 where n = 2