h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 632

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 18 Universal Serial Bus Interface (USB)
Note:
Rev. 3.00 Jan 25, 2006 page 580 of 872
REJ09B0286-0300
Bit
0
Bit Name Initial Value R/W
EP0OTF
* Only 0 can be written to clear the flag.
0
R/(W) * Endpoint 0 Host Output Transfer Failure Flag
Description
Indicates that the endpoint 0 host output transfer has
been completed abnormally.
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 in TSFR0 is not set and the EP0OTF flag
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 endpoint 0 is in a transfer wait state.
[Clearing conditions]
1: Indicates that the endpoint 0 host output transfer
[Setting conditions]
(OUT transaction or SETUP transaction) has been
completed abnormally.
0 is written to EP0OTF after EP0OTF = 1 has been
read.
Endpoint 0 has received a SETUP token.
Data cannot be sent because the FIFO is full after an
OUT token has been received.
Data cannot be sent because EP0OTC = 0 after an
OUT token has been received (NAK transmission).
A communication error occurs after the OUT token
has been received.
A received command can be processed in the USB
function core (only when the SETICNT bit is cleared
to 0) after a SETUP token has been received.

Related parts for h8s-2158