Usb Register Access; Figure 23.2. Usb0 Register Access Scheme - Silicon Laboratories C8051T620 Manual

Full speed usb eprom mcu family
Hide thumbs Also See for C8051T620:
Table of Contents

Advertisement

23.3. USB Register Access

The USB0 controller registers listed in Table 23.2 are accessed through two SFRs: USB0 Address
(USB0ADR) and USB0 Data (USB0DAT). The USB0ADR register selects which USB register is targeted
by reads/writes of the USB0DAT register. See Figure 23.2.
Endpoint control/status registers are accessed by first writing the USB register INDEX with the target end-
point number. Once the target endpoint number is written to the INDEX register, the control/status registers
associated with the target endpoint may be accessed. See the "Indexed Registers" section of Table 23.2
for a list of endpoint control/status registers.
Important Note: The USB clock must be active when accessing USB registers.
8051
SFRs
USB0DAT
USB0ADR
C8051T620/1/6/7 & C8051T320/1/2/3

Figure 23.2. USB0 Register Access Scheme

Rev. 1.2
USB Controller
Interrupt
Registers
FIFO
Access
Common
Registers
Index
Register
Endpoint0 Control/
Status Registers
Endpoint1 Control/
Status Registers
Endpoint2 Control/
Status Registers
Endpoint3 Control/
Status Registers
163

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the C8051T620 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents