Renesas H8S/2158 User Manual page 629

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

Bit
Bit Name Initial Value R/W
0
EP0OTS
0
Note:
* Only 0 can be written to clear the flag.
Section 18 Universal Serial Bus Interface (USB)
Description
R/(W) * Endpoint 0 Host Output Transfer Success Flag
Indicates that the endpoint 0 host output transfer has
been completed normally.
Endpoint 0 host output transfer has two transactions:
OUT transaction and SETUP transaction. Data
transmission in these transactions are the same, but flag
handling in these transactions differ.
Since most of the commands sent by a SETUP
transaction are processed in the USB function core, the
EP0OTS flag is not set and the EP0OTF flag in TFFR0 is
set to 1. For a command that cannot be processed in the
USB core, the EP0OTS flag is set to 1. Note that neither
the EP0OTS nor the EP0OTF flag is set to 1 if the
SEICNT bit in USBMDCR is set to 1 regardless of
whether the command can be processed in the USB core
or not.
0: Indicates that the end point 0 is in a host output
transfer wait state.
[Clearing conditions]
0 is written to EP0OTS after EP0OTS = 1 has been
read.
Endpoint 0 has received a SETUP token.
1: Indicates that the endpoint 0 host output transfer (OUT
transaction or SETUP transaction) has been
completed normally.
[Setting conditions]
An ACK handshake has been achieved (ACK
transmission) after OUT token reception and data
transfer.
A received command needs to be processed in the
slave CPU after a SETUP token has been received
(only when the SETICNT bit is cleared to 0).
Rev. 3.00 Jan 25, 2006 page 575 of 872
REJ09B0286-0300

Advertisement

Table of Contents
loading

Table of Contents