English
Language : 

SH7670 Datasheet, PDF (791/1292 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7670 Series
Section 17 USB 2.0 Host/Function Module (USB)
(1) BRDY Interrupt
The BRDY interrupt is generated when either of the host controller function or function controller
function is selected. The following shows the conditions under which this module sets 1 to a
corresponding bit in BRDYSTS. Under this condition, this module generates BRDY interrupt, if
software sets the PIPEBRDYE bit in BRDYENB that corresponds to the pipe to 1 and the
BRDYE bit in INTENB0 to 1.
The conditions for generating and clearing the BRDY interrupt depend on the settings of the
BRDYM bit and BFRE bit for the pertinent pipe as described below.
(a) When the BRDYM bit is 0 and BFRE bit is 0
With these settings, the BRDY interrupt indicates that the FIFO port is accessible.
On any of the following conditions, this module generates the internal BRDY interrupt request
trigger and sets 1 to the PIPEBRDY bit corresponding to the pertinent pipe.
(i)
For the pipe in the transmitting direction:
 When software changes the DIR bit from 0 to 1.
 When packet transmission is completed using the pertinent pipe when write-access from
the CPU to the FIFO buffer for the pertinent pipe is disabled (when the BSTS bit is read as
0).
 In continuous transmission/reception mode, the request trigger is generated on completion
of transmitting data of one plane of the FIFO buffer.
 When one FIFO buffer is empty on completion of writing data to the other FIFO buffer in
double buffer mode.
 The request trigger is not generated until completion of writing data to the currently-written
FIFO buffer plane even if transmission to the other FIFO buffer is completed.
 When the hardware flushes the buffer of the pipe for isochronous transfers.
 When 1 is written to the ACLRM bit, which causes the FIFO buffer to make transition
from the write-disabled to write-enabled state.
The request trigger is not generated for the DCP (that is, during data transmission for control
transfers).
Rev. 1.00 Nov. 14, 2007 Page 765 of 1262
REJ09B0437-0100