Renesas R5S72621 User Manual

Page of 2152
 
Section 26   USB 2.0 Host/Function Module 
R01UH0134EJ0400  Rev. 4.00  
 
Page 1467 of 2108 
Sep 24, 2014 
 
 
 
SH7262 Group, SH7264 Group 
Bit Bit 
Name 
Initial  
Value R/W  Description 
15 to 0 
TRNCNT[15:0]  All 0 
R/W 
This module increments the value of these bits by 
one when all of the following conditions are satisfied 
on receiving the packet.  
  TRENB is 1. 
  (TRNCNT set value  current counter value + 1) 
on receiving the packet. 
  The payload of the received packet agrees with 
the set value in the MXPS bits. 
This module clears the value of these bits to 0 when 
any of the following conditions are satisfied. 
  All the following conditions are satisfied. 
TRENB is 1. 
(TRNCNT set value = current counter value + 1) 
on receiving the packet. 
The payload of the received packet agrees with 
the set value in the MXPS bits. 
  All the following conditions are satisfied. 
TRENB is 1. 
This module has received a short packet. 
  The following condition is satisfied. 
The TRCLR bit has been set to 1. 
For the pipe in the transmitting direction, set these 
bits to 0. 
When the transaction counter is not used, set these 
bits to 0. 
Modify these bits while CSSTS is 0, PID is NAK, and 
TRENB is 0. 
Before modifying these bits 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. 
To modify the value of these bits, set TRNCNT to 1 
before setting TRENB to 1.