English
Language : 

C8051F340-GQR Datasheet, PDF (165/276 Pages) Silicon Laboratories – Full Speed USB Flash MCU Family
C8051F340/1/2/3/4/5/6/7/8/9/A/B/C/D
USB Register
Name
IN1INT
OUT1INT
CMINT
IN1IE
OUT1IE
CMIE
FADDR
POWER
FRAMEL
FRAMEH
INDEX
CLKREC
FIFOn
E0CSR
EINCSRL
EINCSRH
EOUTCSRL
EOUTCSRH
E0CNT
EOUTCNTL
EOUTCNTH
Table 16.2. USB0 Controller Registers
USB Register
Address
0x02
0x04
0x06
0x07
0x09
0x0B
0x00
0x01
0x0C
0x0D
0x0E
0x0F
0x20–0x23
0x11
0x12
0x14
0x15
0x16
0x17
Description
Page Number
Interrupt Registers
Endpoint0 and Endpoints1-3 IN Interrupt Flags
173
Endpoints1-3 OUT Interrupt Flags
173
Common USB Interrupt Flags
174
Endpoint0 and Endpoints1-3 IN Interrupt Enables
175
Endpoints1-3 OUT Interrupt Enables
175
Common USB Interrupt Enables
176
Common Registers
Function Address
169
Power Management
171
Frame Number Low Byte
172
Frame Number High Byte
172
Endpoint Index Selection
165
Clock Recovery Control
166
Endpoints0-3 FIFOs
168
Indexed Registers
Endpoint0 Control / Status
179
Endpoint IN Control / Status Low Byte
182
Endpoint IN Control / Status High Byte
183
Endpoint OUT Control / Status Low Byte
185
Endpoint OUT Control / Status High Byte
186
Number of Received Bytes in Endpoint0 FIFO
180
Endpoint OUT Packet Count Low Byte
186
Endpoint OUT Packet Count High Byte
186
USB Register Definition 16.4. INDEX: USB0 Endpoint Index
R
R
R
R
R/W
R/W
R/W
R/W
Reset Value
-
-
-
-
EPSEL
00000000
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0 USB Address:
0x0E
Bits7–4: Unused. Read = 0000b; Write = don’t care.
Bits3–0: EPSEL: Endpoint Select
These bits select which endpoint is targeted when indexed USB0 registers are accessed.
INDEX
0x0
0x1
0x2
0x3
0x4–0xF
Target Endpoint
0
1
2
3
Reserved
Rev. 1.3
165