176
PSoC CY8CTMG20x and CY8CTST200 TRM, Document No. 001-53603 Rev. *C
Full-Speed USB
20.3.9
EPx_CNT0 Register
The Endpoint Count Register 0 (EPx_CNT0) is used for con-
figuring endpoints 1 through 8.
Bit 7: Data Toggle.
This bit selects the data packet's toggle
state. For IN transactions, firmware must set this bit to the
expected state. For OUT transactions, the hardware sets
this bit to the state of the received Data Toggle bit. ‘0‘ is
DATA0. ‘1‘ is DATA1.
Bit 6: Data Valid.
This bit is used for OUT transactions only
and is read only. It is cleared to '0' if CRC, bit stuffing errors,
or PID errors occur. This bit does not update for some end-
point mode settings. ‘0‘ is error in data received. ‘1‘ is no
error.
Bit 0: Count MSB.
This bit is the one MSb of a 9-bit
counter. The LSb are the Data Count[7:0] bits of the
EPx_CNT1 register. Refer to the
for
more information.
For additional information, refer to the
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
0,40h
EP1_CNT0
Data Toggle
Data Valid
Count MSB
# : 0
0,42h
EP2_CNT0
Data Toggle
Data Valid
Count MSB
# : 0
0,44h
EP3_CNT0
Data Toggle
Data Valid
Count MSB
# : 0
0,46h
EP4_CNT0
Data Toggle
Data Valid
Count MSB
# : 0
0,48h
EP5_CNT0
Data Toggle
Data Valid
Count MSB
# : 0
0,4Ah
EP6_CNT0
Data Toggle
Data Valid
Count MSB
# : 0
0,4Ch
EP7_CNT0
Data Toggle
Data Valid
Count MSB
# : 0
0,4Eh
EP8_CNT0
Data Toggle
Data Valid
Count MSB
# : 0
Summary of Contents for PSoC CY8CTMG20 Series
Page 4: ...4 Contents Overview Feedback...
Page 26: ...26 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C Section B PSoC Core Feedback...
Page 82: ...82 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C Sleep and Watchdog Feedback...
Page 134: ...134 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C I2C Slave Feedback...
Page 142: ...142 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C System Resets Feedback...
Page 160: ...160 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C SPI Feedback...
Page 182: ...182 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C Full Speed USB Feedback...
Page 302: ...302 PSoC CY8CTMG20x and CY8CTST200 TRM Document No 001 53603 Rev C Glossary Feedback...