English
Language : 

HD6417727BP160CV Datasheet, PDF (753/1098 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family/ SH7700 Series
Section 23 USB Function Controller
23.5.4 USBEP1 Data Register (USBEPDR1)
USBEPDR1 is a 128-byte receive FIFO buffer for endpoint 1. USBEPDR1 has a dual-FIFO
configuration, and has a capacity of twice the maximum packet size. When one packet of data is
received normally from the host, EP1 FULL in USB interrupt flag register 0 is set. The number of
receive bytes is indicated in the USBEP1 receive data size register. After the data has been read,
the buffer that was read is enabled to receive again by writing 1 to EP1 RDFN in the USB trigger
register. The receive data in this FIFO buffer can be transferred by DMA (see section 23.5.19,
USBDMA Setting Register (USBDMAR)). This FIFO buffer can be initialized by means of EP1
CLR in the USBFIFO clear register.
23.5.5 USBEP2 Data Register (USBEPDR2)
USBEPDR2 is a 128-byte transmit FIFO buffer for endpoint 2. USBEPDR2 has a dual-buffer
configuration, and has a capacity of twice the maximum packet size. When transmit data is written
to this FIFO buffer and EP2 PKTE in the USB trigger register is set, one packet of transmit data is
fixed, and the dual-FIFO buffer is switched over. Transmit data for this FIFO buffer can be
transferred by DMA (see section 23.5.19, USBDMA Setting Register (USBDMAR)). This FIFO
buffer can be initialized by means of EP2 CLR in the USBFIFO clear register.
23.5.6 USBEP3 Data Register (USBEPDR3)
USBEPDR3 is an 8-byte transmit FIFO buffer for endpoint 3, holding one packet of transmit data
in endpoint 3 interrupt transfer. Transmit data is fixed by writing one packet of data and setting
EP3 PKTE in the USB trigger register. When an ACK handshake is received from the host after
one packet of data has been transmitted normally, EP3 TS in the USB interrupt flag register 1 is
set. This FIFO buffer can be initialized by means of EP3 CLR in the USB FIFO clear register.
23.5.7 USB Interrupt Flag Register 0 (USBIFR0)
Together with USB interrupt flag register 1, USBIFR0 indicates interrupt status information
required by the application. When an interrupt source occurs, the corresponding bit is set to 1 and
an interrupt request is sent to the CPU according to the combination with USB interrupt enable
register 0. Clearing is performed by writing 0 to the bit to be cleared, and 1 to the other bits.
However, EP1 FULL and EP2 EMPTY are status bits, and cannot be cleared.
Rev.6.00 Mar. 27, 2009 Page 695 of 1036
REJ09B0254-0600