Renesas R5S72621 Manual Do Utilizador

Página de 2152
 
Section 26   USB 2.0 Host/Function Module 
R01UH0134EJ0400  Rev. 4.00  
 
Page 1511 of 2108 
Sep 24, 2014 
 
 
 
SH7262 Group, SH7264 Group 
Table 26.18  Buffer Status Indicated by the BSTS Bit 
ISEL or DIR 
BSTS 
Buffer Memory State 
0 (receiving direction)   0 
There is no received data, or data is being received. 
Reading from the FIFO port is inhibited. 
0 (receiving direction)  1 
There is received data, or a zero-length packet has been 
received. 
Reading from the FIFO port is allowed. 
However, because reading is not possible when a zero-
length packet is received, the buffer must be cleared. 
1 (transmitting 
direction)  
The transmission has not been finished. 
Writing to the FIFO port is inhibited. 
1 (transmitting 
direction) 
The transmission has been finished. 
CPU write is allowed. 
 
Table 26.19  Buffer Status Indicated by the INBUFM Bit 
IDIR 
INBUFM 
Buffer Memory State 
0 (receiving direction)  Invalid 
Invalid 
1 (transmitting 
direction)  
The transmission has been finished. 
There is no waiting data to be transmitted. 
1 (transmitting 
direction)  
The FIFO port has written data to the buffer. 
There is data to be transmitted