45 / 51 page

CY7C65013
CY7C65113
Document #: 38-08002 Rev. *B
Page 45 of 51
19.0
Register Summary
Address
Register Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Read/Write/B
oth/–[7]
Default/
Reset
0x00
Port 0 Data
P0.7
P0.6
P0.5
P0.4
P0.3
P0.2
P0.1
P0.0
BBBBBBBB
11111111
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
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
Enable
P0.6 Intr
Enable
P0.5 Intr
Enable
P0.4 Intr
Enable
P0.3 Intr
Enable
P0.2 Intr
Enable
P0.1 Intr
Enable
P0.0 Intr
Enable
WWWWWWWW
00000000
0x05
Port 1 Interrupt Enable
P1.7 Intr
Enable
P1.6 Intr
Enable
P1.5 Intr
Enable
P1.4 Intr
Enable
Reserved
P1.2 Intr
Enable
P1.1 Intr
Enable
P1.0 Intr
Enable
WWWWWWWW
00000000
0x06
Port 2 Interrupt Enable
P2.7 Intr
Enable
P2.6 Intr
Enable
P2.5 Intr
Enable
P2.4 Intr
Enable
P2.3 Intr
Enable
Reserved
Reserved
Reserved
WWWWWWWW
00000000
0x07
Port 3 Interrupt Enable
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
P3.1 Intr
Enable
P3.0 Intr
Enable
WWWWWWWW
00000000
0x08
GPIO Configuration
Port 3
Config Bit 1
Port 3
Config Bit 0
Port 2
Config Bit 1
Port 2
Config Bit 0
Port 1
Config Bit 1
Port 1
Config Bit 0
Port 0
Config Bit 1
Port 0
Config Bit 0
BBBBBBBB
00000000
0x09
HAPI/I2C Configuration
I2C Position
Reserved
Reserved
Reserved
Reserved
Reserved
I2C Port
Width
Reserved
BBBBBBBB
00000000
0x10
USB Device Address A
Device
Address A
Enable
Device
Address A
Bit 6
Device
Address A
Bit 5
Device
Address A
Bit 4
Device
Address A
Bit 3
Device
Address A
Bit 2
Device
Address A
Bit 1
Device
Address A
Bit 0
BBBBBBBB
00000000
0x11
EP A0 Counter
Register
Data 0/1
Toggle
Data Valid
Byte Count
Bit 5
Byte Count
Bit 4
Byte Count
Bit 3
Byte Count
Bit 2
Byte Count
Bit 1
Byte Count
Bit 0
BBBBBBBB
00000000
0x12
EP A0 Mode Register
Endpoint0
SETUP
Received
Endpoint0
IN
Received
Endpoint0
OUT
Received
ACK
Mode Bit 3
Mode Bit 2
Mode Bit 1
Mode Bit 0
BBBBBBBB
00000000
0x13
EP A1 Counter
Register
Data 0/1
Toggle
Data Valid
Byte Count
Bit 5
Byte Count
Bit 4
Byte Count
Bit 3
Byte Count
Bit 2
Byte Count
Bit 1
Byte Count
Bit 0
BBBBBBBB
00000000
0x14
EP A1 Mode Register
STALL
-
-
ACK
Mode Bit 3
Mode Bit 2
Mode Bit 1
Mode Bit 0
BBBBBBBB
00000000
0x15
EP A2 Counter
Register
Data 0/1
Toggle
Data Valid
Byte Count
Bit 5
Byte Count
Bit 4
Byte Count
Bit 3
Byte Count
Bit 2
Byte Count
Bit 1
Byte Count
Bit 0
BBBBBBBB
00000000
0x16
EP A2 Mode Register
STALL
-
-
ACK
Mode Bit 3
Mode Bit 2
Mode Bit 1
Mode Bit 0
BBBBBBBB
00000000
0x1F
USB Status and Control
Endpoint
Size
Endpoint
Mode
D+
Upstream
D–
Upstream
Bus Activity
Control
Bit 2
Control
Bit 1
Control
Bit 0
BBRRBBBB
-0xx0000
0x20
Global Interrupt Enable
Reserved
I2C
Interrupt
Enable
GPIO
Interrupt
Enable
Reserved
USB Hub
Interrupt
Enable
1.024-ms
Interrupt
Enable
128-
µs
Interrupt
Enable
USB Bus
RESET
Interrupt
Enable
-BBBBBBB
-0000000
0x21
Endpoint Interrupt
Enable
Reserved
Reserved
Reserved
EPB1
Interrupt
Enable
EPB0
Interrupt
Enable
EPA2
Interrupt
Enable
EPA1
Interrupt
Enable
EPA0
Interrupt
Enable
---BBBBB
---00000
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
----rrrr
----0000
0x28
I2C Control and Status
MSTR
Mode
Continue/
Busy
Xmit
Mode
ACK
Addr
ARB Lost/
Restart
Received
Stop
I2C
Enable
BBBBBBBB
00000000
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
0x40
USB Device Address B
Device
Address B
Enable
Device
Address B
Bit 6
Device
Address B
Bit 5
Device
Address B
Bit 4
Device
Address B
Bit 3
Device
Address B
Bit 2
Device
Address B
Bit 1
Device
Address B
Bit 0
BBBBBBBB
00000000
0x41
EP B0 Counter Register
Data 0/1
Toggle
Data Valid
Byte Count
Bit 5
Byte Count
Bit 4
Byte Count
Bit 3
Byte Count
Bit 2
Byte Count
Bit 1
Byte Count
Bit 0
BBBBBBBB
00000000
0x42
EP B0 Mode Register
Endpoint 0
SETUP
Received
Endpoint 0
IN
Received
Endpoint 0
OUT
Received
ACK
Mode Bit 3
Mode Bit 2
Mode Bit 1
Mode Bit 0
BBBBBBBB
00000000
0x43
EP B1 Counter Register
Data 0/1
Toggle
Data Valid
Byte Count
Bit 5
Byte Count
Bit 4
Byte Count
Bit 3
Byte Count
Bit 2
Byte Count
Bit 1
Byte Count
Bit 0
BBBBBBBB
00000000
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.