Section 20 USB Function Module
Rev. 4.00 Sep. 14, 2005 Page 756 of 982
REJ09B0023-0400
20.3.9 USBEP0i Data Register (USBEPDR0i)
USBEPDR0i is an 8-byte transmit FIFO buffer for endpoint 0, holding one packet of transmit data
for control IN. Transmit data is fixed by writing one packet of data and setting the EP0iPKTE bit
in the trigger register. When an ACK handshake is returned from the host after the data has been
transmitted, bit 0 (EP0iTS) in USB interrupt flag register 0 is set.
USBEP0I can be initialized by means of the EP0iCLR bit in USBFCLR.
Bit Bit Name
Initial
Value R/W Description
7 to 0 D7 to D0 Undefined W Data register for control IN transfer
20.3.10 USBEP0o Data Register (USBEPDR0o)
USBEPDR0o is an 8-byte receive FIFO buffer for endpoint 0. USBEPDR0o holds endpoint 0
receive data other than setup commands. When data is received normally, the EP0oTS bit in USB
interrupt flag register 0 is set, and the number of receive bytes is indicated in the EP0o receive
data size register. After the data has been read, setting the EP0oRDFN bit in the trigger register
enables the next packet to be received.
USBEPDR0o can be initialized by means of the EP0oCLR bit in USBFCLR.
Bit Bit Name
Initial
Value R/W Description
7 to 0 D7 to D0 Undefined R Data register for control OUT transfer