Renesas R5S72621 Manual Do Utilizador

Página de 2152
 
Section 26   USB 2.0 Host/Function Module 
Page 1434 of 2108 
 
R01UH0134EJ0400  Rev. 4.00 
 
 Sep 
24, 
2014 
SH7262 Group, SH7264 Group
Bit Bit 
Name 
Initial 
Value R/W  Description 
SHTNAK 
R/W 
Pipe Disabled at End of Transfer 
Specifies whether to modify PID to NAK upon the 
end of transfer when the selected pipe is in the 
receiving direction.  
0: Pipe continued at the end of transfer 
1: Pipe disabled at the end of transfer 
This bit is valid when the selected pipe is PIPE1 to 
PIPE5 in the receiving direction.  
When this bit has been set to 1 for the selected pipe 
in the receiving direction, this module modifies the 
PID bits corresponding to the selected pipe to NAK 
on determining the end of the transfer. This module 
determines that the transfer has ended on any of the 
following conditions. 
  A short packet (including a zero-length packet) is 
successfully received. 
  The transaction counter is used and the number 
of packets specified by the counter are 
successfully received. 
Modify these bits while CSSTS is 0 and PID is NAK. 
Before modifying these bits after modifying the PID 
bits for the selected 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. 
This bit should be cleared to 0 for the pipe in the 
transmitting direction. 
6, 5 
 All 
Reserved 
These bits are always read as 0. The write value 
should always be 0.