CY7C63310, CY7C638xx
Table 21-7. Endpoint 2 Data (EP2DATA) [0x60-0x67] [R/W]
Bit # | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Field |
|
|
| Endpoint 2 Data Buffer [7:0] |
|
|
| |
Read/Write | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W |
Default | Unknown | Unknown | Unknown | Unknown | Unknown | Unknown | Unknown | Unknown |
|
|
|
|
|
|
|
|
|
The Endpoint 2 buffer is comprised of 8 bytes located at address 0x60 to 0x67.
The three data buffers are used to hold data for both IN and OUT transactions. Each data buffer is 8 bytes long. The reset values of the Endpoint Data Registers are unknown.
Unlike past enCoRe parts the USB data buffers are only accessible in the IO space of the processor.
22. USB Mode Tables
Mode | Encoding | SETUP | IN | OUT | Comments | |
DISABLE | 0000 | Ignore | Ignore | Ignore | Ignore all USB traffic to this endpoint. Used by Data and | |
|
|
|
|
| Control endpoints. | |
NAK IN/OUT | 0001 | Accept | NAK | NAK | NAK IN and OUT token. Control endpoint only. | |
|
|
|
|
|
| |
STATUS OUT ONLY | 0010 | Accept | STALL | Check | STALL IN and ACK zero byte OUT. Control endpoint | |
|
|
|
|
| only. | |
STALL IN/OUT | 0011 | Accept | STALL | STALL | STALL IN and OUT token. Control endpoint only. | |
|
|
|
|
|
| |
STATUS IN ONLY | 0110 | Accept | TX0 byte | STALL | STALL OUT and send zero byte data for IN token. Con- | |
|
|
|
|
| trol endpoint only. | |
ACK OUT – STATUS | 1011 | Accept | TX0 byte | ACK | ACK the OUT token or send zero byte data for IN token. | |
IN |
|
|
|
| Control endpoint only. | |
ACK IN – STATUS | 1111 | Accept | TX Count | Check | Respond to IN data or Status OUT. Control endpoint | |
OUT |
|
|
|
| only. | |
|
|
|
|
|
| |
NAK OUT | 1000 | Ignore | Ignore | NAK | Send NAK handshake to OUT token. Data endpoint | |
|
|
|
|
| only. | |
ACK OUT (STALL = 0) | 1001 | Ignore | Ignore | ACK | This mode is changed by the SIE to mode 1000 on is- | |
|
|
|
|
| suance of ACK handshake to an OUT. Data endpoint | |
|
|
|
|
| only. | |
ACK OUT (STALL = 1) | 1001 | Ignore | Ignore | STALL | STALL the OUT transfer. | |
|
|
|
|
|
| |
NAK IN | 1100 | Ignore | NAK | Ignore | Send NAK handshake for IN token. Data endpoint only. | |
|
|
|
|
|
| |
ACK IN (STALL = 0) | 1101 | Ignore | TX Count | Ignore | This mode is changed by the SIE to mode 1100 after | |
|
|
|
|
| receiving ACK handshake to an IN data. Data endpoint | |
|
|
|
|
| only. | |
ACK IN (STALL = 1) | 1101 | Ignore | STALL | Ignore | STALL the IN transfer. Data endpoint only. | |
|
|
|
|
|
| |
|
|
|
|
|
| |
Reserved | 0101 | Ignore | Ignore | Ignore | These modes are not supported by SIE. Firmware must | |
|
|
|
|
| not use this mode in Control and Data endpoints. | |
Reserved | 0111 | Ignore | Ignore | Ignore | ||
| ||||||
|
|
|
|
|
| |
Reserved | 1010 | Ignore | Ignore | Ignore |
| |
|
|
|
|
|
| |
Reserved | 0100 | Ignore | Ignore | Ignore |
| |
|
|
|
|
|
| |
Reserved | 1110 | Ignore | Ignore | Ignore |
| |
|
|
|
|
|
|
22.1 Mode Column
The 'Mode' column contains the mnemonic names given to the modes of the endpoint. The mode of the endpoint is determined by the
22.2 Encoding Column
The contents of the 'Encoding' column represent the Mode Bits [3:0] of the Endpoint Mode Registers (Table
Document | Page 61 of 83 |
[+] Feedback