CY7C65113C
19.0Register Summary
| Address | Register Name | Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 | Read/Write/B | Default/ | |
|
|
|
|
|
|
|
|
|
|
| Reset | ||
|
|
|
|
|
|
|
|
|
|
|
|
| |
1 | 0x00 | Port 0 Data | P0.7 | P0.6 | P0.5 | P0.4 | P0.3 | P0.2 | P0.1 | P0.0 | BBBBBBBB | 11111111 | |
0 AND |
|
|
|
|
|
|
|
|
|
|
|
| |
0x01 | Port 1 Data | P1.7 | P1.6 | P1.5 | P1.4 | P1.3 | P1.2 | P1.1 | P1.0 | BBBBBBBB | 11111111 | ||
|
|
|
|
|
|
|
|
|
|
|
| ||
0x02 | Port 2 Data | P2.7 | P2.6 | P2.5 | P2.4 | P2.3 | P2.2 | P2.1 | P2.0 | BBBBBBBB | 11111111 | ||
PORTS |
|
|
|
|
|
|
|
|
|
|
|
| |
0x03 | Port 3 Data | P3.7 | P3.6 | P3.5 | P3.4 | P3.3 | P3.2 | P3.1 | P3.0 | BBBBBBBB | 11111111 | ||
|
|
|
|
|
|
|
|
|
|
|
| ||
0x04 | Port 0 Interrupt Enable | P0.7 Intr | P0.6 Intr | P0.5 Intr | P0.4 Intr | P0.3 Intr | P0.2 Intr | P0.1 Intr | P0.0 Intr | WWWWWWWW | 00000000 | ||
|
| Enable | Enable | Enable | Enable | Enable | Enable | Enable | Enable |
|
| ||
GPIO CONFIGURATION |
|
|
|
| |||||||||
0x05 | Port 1 Interrupt Enable | P1.7 Intr | P1.6 Intr | P1.5 Intr | P1.4 Intr | Reserved | P1.2 Intr | P1.1 Intr | P1.0 Intr | WWWWWWWW | 00000000 | ||
|
| Enable | Enable | Enable | Enable |
| Enable | Enable | Enable |
|
| ||
0x08 | GPIO Configuration | Reserved | Reserved | Reserved | Reserved | Port 1 | Port 1 | Port 0 | Port 0 | BBBBBBBB | 00000000 | ||
|
|
|
|
|
| Config Bit 1 | Config Bit 0 | Config Bit 1 | Config Bit 0 |
|
| ||
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
C | 0x09 | HAPI/I2C Configuration | I2C Position | Reserved | Reserved | Reserved | Reserved | Reserved | I2C Port | Reserved | BBBBBBBB | 00000000 | |
|
|
|
|
|
|
|
| Width |
|
|
| ||
2 |
|
|
|
|
|
|
|
|
|
|
| ||
HAPI I |
|
|
|
|
|
|
|
|
|
|
|
| |
CONFIGURATION | 0x10 | USB Device Address A | Device | Device | Device | Device | Device | Device | Device | Device | BBBBBBBB | 00000000 | |
|
| Address A | Address A | Address A | Address A | Address A | Address A | Address A | Address A |
|
| ||
|
| Enable | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
|
| ||
0x11 | EP A0 Counter | Data 0/1 | Data Valid | Byte Count | Byte Count | Byte Count | Byte Count | Byte Count | Byte Count | BBBBBBBB | 00000000 | ||
| Register | Toggle |
| Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
|
| ||
0x12 | EP A0 Mode Register | Endpoint0 | Endpoint0 | Endpoint0 | ACK | Mode Bit 3 | Mode Bit 2 | Mode Bit 1 | Mode Bit 0 | BBBBBBBB | 00000000 | ||
|
| SETUP | IN | OUT |
|
|
|
|
|
|
| ||
|
| Received | Received | Received |
|
|
|
|
|
|
| ||
A2 |
|
|
|
|
|
|
|
|
| ||||
0x13 | EP A1 Counter | Data 0/1 | Data Valid | Byte Count | Byte Count | Byte Count | Byte Count | Byte Count | Byte Count | BBBBBBBB | 00000000 | ||
AND | |||||||||||||
| Register | Toggle |
| Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
|
| ||
|
|
|
|
|
|
|
|
|
|
|
| ||
AI | 0x14 | EP A1 Mode Register | STALL | - | - | ACK | Mode Bit 3 | Mode Bit 2 | Mode Bit 1 | Mode Bit 0 | BBBBBBBB | 00000000 | |
A0, | 0x15 | EP A2 Counter | Data 0/1 | Data Valid | Byte Count | Byte Count | Byte Count | Byte Count | Byte Count | Byte Count | BBBBBBBB | 00000000 | |
| Register | Toggle |
| Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
|
| ||
ENDPOINT |
|
|
|
| |||||||||
0x16 | EP A2 Mode Register | STALL | - | - | ACK | Mode Bit 3 | Mode Bit 2 | Mode Bit 1 | Mode Bit 0 | BBBBBBBB | 00000000 | ||
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
| |
USB- CS | 0x1F | USB Status and Control | Endpoint | Endpoint | D+ | D– | Bus Activity | Control | Control | Control | BBRRBBBB | ||
|
| Size | Mode | Upstream | Upstream |
| Bit 2 | Bit 1 | Bit 0 |
|
| ||
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
| |
INTERRUPT | 0x20 | Global Interrupt Enable | Reserved | I2C | GPIO | Reserved | USB Hub | USB Bus | |||||
|
|
| Interrupt | Interrupt |
| Interrupt | Interrupt | Interrupt | RESET |
|
| ||
|
|
| Enable | Enable |
| Enable | Enable | Enable | Interrupt |
|
| ||
|
|
|
|
|
|
|
|
| Enable |
|
| ||
0x21 | Endpoint Interrupt | Reserved | Reserved | Reserved | EPB1 | EPB0 | EPA2 | EPA1 | EPA0 | ||||
| Enable |
|
|
| Interrupt | Interrupt | Interrupt | Interrupt | Interrupt |
|
| ||
|
|
|
|
|
| Enable | Enable | Enable | Enable | Enable |
|
| |
TIMER | 0x24 | Timer (LSB) | Timer Bit 7 | Timer Bit 6 | Timer Bit 5 | Timer Bit 4 | Timer Bit 3 | Timer Bit 2 | Timer Bit 1 | Timer Bit 0 | RRRRRRRR | 00000000 | |
|
|
|
|
|
|
|
|
|
|
|
| ||
0x25 | Timer (MSB) | Reserved | Reserved | Reserved | Reserved | Timer Bit 11 | Timer Bit 10 | Time Bit 9 | Timer Bit 8 | ||||
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
| |
| 0x28 | I2C Control and Status | MSTR | Continue/ | Xmit | ACK | Addr | ARB Lost/ | Received | I2C | BBBBBBBB | 00000000 | |
C |
|
| Mode | Busy | Mode |
|
| Restart | Stop | Enable |
|
| |
2 |
|
|
|
|
|
|
|
|
|
|
|
| |
I |
|
|
|
|
|
|
|
|
|
|
|
| |
| 0x29 | I2C Data | I2C Data 7 | I2C Data 6 | I2C Data 5 | I2C Data 4 | I2C Data 3 | I2C Data 2 | I2C Data 1 | I2C Data 0 | BBBBBBBB | XXXXXXXX | |
CONFIGURATION | 0x40 | USB Device Address B | Device | Device | Device | Device | Device | Device | Device | Device | BBBBBBBB | 00000000 | |
|
| Address B | Address B | Address B | Address B | Address B | Address B | Address B | Address B |
|
| ||
|
| Enable | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
|
| ||
0x41 | EP B0 Counter Register | Data 0/1 | Data Valid | Byte Count | Byte Count | Byte Count | Byte Count | Byte Count | Byte Count | BBBBBBBB | 00000000 | ||
|
| Toggle |
| Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
|
| ||
0x42 | EP B0 Mode Register | Endpoint 0 | Endpoint 0 | Endpoint 0 | ACK | Mode Bit 3 | Mode Bit 2 | Mode Bit 1 | Mode Bit 0 | BBBBBBBB | 00000000 | ||
|
| SETUP | IN | OUT |
|
|
|
|
|
|
| ||
|
| Received | Received | Received |
|
|
|
|
|
|
| ||
B1 |
|
|
|
|
|
|
|
|
| ||||
0x43 | EP B1 Counter Register | Data 0/1 | Data Valid | Byte Count | Byte Count | Byte Count | Byte Count | Byte Count | Byte Count | BBBBBBBB | 00000000 | ||
B0, | |||||||||||||
|
| Toggle |
| Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
|
| ||
ENDPOINT |
|
|
|
|
|
|
|
|
|
|
|
| |
0x44 | EP B1 Mode Register | STALL | - | - | ACK | Mode Bit 3 | Mode Bit 2 | Mode Bit 1 | Mode Bit 0 | BBBBBBBB | 00000000 | ||
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
Note:
7.B: Read and Write; W: Write; R: Read.
Document #: | Page 43 of 49 |
[+] Feedback