Renesas R5S72621 Manual De Usuario

Descargar
Página de 2152
 
Section 26   USB 2.0 Host/Function Module 
R01UH0134EJ0400  Rev. 4.00  
 
Page 1447 of 2108 
Sep 24, 2014 
 
 
 
SH7262 Group, SH7264 Group 
Bit Bit 
Name 
Initial  
Value R/W  Description 
10 
ATREPM 
R/W 
For USB communication in auto response mode, set 
this bit to 1 while the FIFO buffer is empty. Do not 
write to the FIFO buffer during USB communication 
in auto response mode. 
When the pertinent pipe is for isochronous transfer, 
be sure to set this bit to 0. 
When the host controller function is selected, set this 
bit to 0. 
ACLRM 
R/W 
Auto Buffer Clear Mode 
Enables or disables automatic buffer clear mode for 
the pertinent pipe.  
0: Disabled 
1: Enabled (all buffers are initialized) 
To delete all the information assigned to the 
pertinent pipe from the FIFO buffer, write 1 and 0 in 
succession to the ACLRM bit. 
Table 26.11 (1) lists the information related to the 
USB 2.0 host/function module that is cleared by 
setting the ACLRM bit to 1 and then to 0 in 
succession. Table 26.11 (2) lists the cases in which it 
is necessary to do this. 
Modify this bit while CSSTS is 0, PID is NAK, and the 
pertinent pipe is not specified in the CURPIPE bits. 
Before modifying this bit after modifying the PID bits 
for the corresponding pipe from BUF to NAK, check 
that CSSTS and PBUSY are 0. However, if the PID 
bits have been modified to NAK by this module, 
checking PBUSY is not necessary.