English
Language : 

SH7670 Datasheet, PDF (794/1292 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7670 Series
Section 17 USB 2.0 Host/Function Module (USB)
(c) When the BRDYM bit is 1 and the BFRE bit is 0
With these settings, the PIPEBRDY values are linked to the BSTS bit settings for each pipe. In
other words, the BRDY interrupt status bits (PIPEBRDY) are set to 1 or 0 by this module
depending on the FIFO buffer status.
(i) For the pipe in the transmitting direction:
The BRDY interrupt status bits are set to 1 when the FIFO buffer is write-enabled and are set to 0
when write-disabled.
However, the BRDY interrupt is not generated if the DCP in the transmitting direction is write-
enabled.
(ii) For the pipe in the receiving direction:
The BRDY interrupt status bits are set to 1 when the FIFO buffer is read-enabled and are set to 0
when all the data have been read (read-disabled).
When a zero-length packet is received when the FIFO buffer is empty, the pertinent bit is set to 1
and the BRDY interrupt is continuously generated until BCLR = 1 is written through software.
With this setting, the PIPEBRDY bit cannot be cleared to 0 through software. When BRDYM is
set to 1, all of the BFRE bits (for all pipes) should be cleared to 0.
Figure 17.3 shows the timing at which the BRDY interrupt is generated.
Rev. 1.00 Nov. 14, 2007 Page 768 of 1262
REJ09B0437-0100