EasyManuals Logo

Cypress EZ-USB FX3 User Manual

Cypress EZ-USB FX3
660 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #428 background imageLoading...
Page #428 background image
EZ-USB FX3 Technical Reference Manual, Document Number: 001-76074 Rev. *F 428
HOST_TOGGLE
0xE003200C
10.14.4 HOST_TOGGLE
Data Toggle for Endpoints Register
Power-up and USB Reset all the endpoints data toggle will reset to ‘0’. In general, hardware maintains all the data toggle bits,
which are toggled between data packet transfers. The firmware might need to reset or set data toggle bit only following condi-
tions:
â–  After a configuration changes (that is, after the host issues a Set Configuration request).
■ After an interface’s alternate setting changes (that is, after the host issues a Set Interface request).
â–  After the host sends a Clear Feature - Endpoint Stall request to an endpoint.
To change the value of the toggle bit, software must first write ENDPOINT and IO, then poll for VALID=1, then write to R or S,
then poll again for VALID=1.
8VALID Indicates Q is valid for selected endpoint, may be polled in software.
After writing to R/S, indicates write completion.
This bit must be cleared by software to initiate an operation.
7Q Current value of toggle bit for EP selected in IO/ENDPOINT
6S Write ‘1’ to set data toggle to ‘1’ When both R and S are set, behavior is undefined.
5R Write ‘1’ to reset data toggle to ‘0’. When both R and S are set, behavior is undefined.
continued on next page
HOST_TOGGLE Data Toggle for Endpoints Register 0xE003200C
b31 b30 b29 b28 b27 b26 b25 b24
HOST_TOGGLE Data Toggle for Endpoints Register
b23 b22 b21 b20 b19 b18 b17 b16
HOST_TOGGLE Data Toggle for Endpoints Register
b15 b14 b13 b12 b11 b10 b9 b8
VALID
R/W0C
R/W1S
0
HOST_TOGGLE Data Toggle for Endpoints Register
b7 b6 b5 b4 b3 b2 b1 b0
Q S R IO ENDPOINT[3:0]
R R/W R/W R/W R/W R/W R/W R/W
R/WRRRRRRR
00000000
Bit Name Description

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cypress EZ-USB FX3 and is the answer not in the manual?

Cypress EZ-USB FX3 Specifications

General IconGeneral
BrandCypress
ModelEZ-USB FX3
CategoryController
LanguageEnglish

Related product manuals