English
Language : 

C541U Datasheet, PDF (30/63 Pages) Siemens Semiconductor Group – 8 BIT CMOS MICROCONTROLLER
C541U
USB Full-Speed Registers
Two different kinds of registers are implemented for full speed operation in the USB module. The
global registers (GEPIR, EPSEL, ADROFF, USBVAL) describe the basic functionality of the
complete USB module and can be accessed via unique SFR addresses. For reduction of the
number of SFR addresses which are needed to control the USB module inside the C541U, device
registers and endpoint registers are mapped into an SFR address block of seven SFR addresses
(C1H to C7H). The endpoint specific functionality of the USB module is controlled via the device
registers DCR, DPWDR, DIER, DIRR and the frame number registers. An endpoint register set is
available for each endpoint (n=0..4) and describes the functionality of the selected endpoint. Figure
13 explains the structure of the USB module registers.
Global Registers
GEPIR(D6H)
D 0 0 .4 .3 .2 .1 .0
ADROFF(D4H)
0 0 .5 .4 .3 .2 .1 .0
USBVAL(D3H)
.7 .6 .5 .4 .3 .2 .1 .0
EPSEL(D2H)
.7 0 0 0 0 .2 .1 .0
Decoder
Device
Registers
C1H DCR
C2H DPWDR
C3H DIER
C4H DIRR
C5H reserved
C6H FNRL
C7H FNRH
Endpoint 0
Registers
C1H EPBC0
C2H EPBS0
C3H EPIE0
C4H EPIR0
C5H EPBA0
C6H EPLEN0
C7H reserved
Endpoint 1
Registers
C1H EPBC1
C2H EPBS1
C3H EPIE1
C4H EPIR1
C5H EPBA1
C6H EPLEN1
C7H reserved
Endpoint 2
Registers
C1H EPBC2
C2H EPBS2
C3H EPIE2
C4H EPIR2
C5H EPBA2
C6H EPLEN2
C7H reserved
Endpoint 3
Registers
C1H EPBC3
C2H EPBS3
C3H EPIE3
C4H EPIR3
C5H EPBA3
C6H EPLEN3
C7H reserved
Endpoint 4
Registers
C1H EPBC4
C2H EPBS4
C3H EPIE4
C4H EPIR4
C5H EPBA4
C6H EPLEN4
C7H reserved
Figure 13
Register Structure of the USB Module
Semiconductor Group
28