Semiconductor Group
6-74
1999-04-01
On-Chip Peripheral Components
C541U
The endpoint base address register defines the location and size (start address and length) of the
endpoint specific buffers in the USB memory. See also figure 6-31 for an example of EPBAn and
EPLENn register setup.
Endpoint n Base Address Register EPBAn, n=0-4 (Address C5H)
Reset Value : 00H
Endpoint n Buffer Length Register EPLENn, n=0-4 (Address C6H) Reset Val.: 0XXXXXXXB
The USB buffer allocation and organization is described in detail in section 6.4.3.
Bit
Function
PAGEn
Buffer page for endpoint n (single buffer mode only)
In single buffer mode, the endpoint n can be either located on USB memory buffer
page 0 (PAGEn=0) or on USB memory buffer page 1 (PAGEn=1) by clearing or
setting this bit. In dual buffer mode this bit has no effect.
Note: The SETUP token is always stored on USB memory buffer page 0 at
address 00H to 07H
.
An6-An3
Endpoint n buffer start address
The bits 0 to 3 of EPBAn are the address bits A6 to A3 of the USB memory buffer
start address for endpoint n. A7 and A2-A0 of the resulting USB memory buffer
start address are set to 0.
Ln6-Ln0
Endpoint n buffer length
The bits 0 to 6 if EPLENn define the length of the USB memory buffer for endpoint
n and cannot be written if DINIT=1.
0
Reserved for future use. For compatiblity, these bits have to be ignored in all read
accesses and written with zero in all write accesses.
MSB
LSB
EPBAn
PAGEn
0
0
0
An6
An5
An4
An3
7
6
5
4
3
2
1
0
Bit No.
r
r
r
r
rw
rw
rw
rw
C5H
EPLENn
0
Ln6
Ln5
Ln4
Ln3
Ln2
Ln1
Ln0
r
rw
rw
rw
rw
rw
rw
rw
C6H
Содержание C541U
Страница 1: ... 8 LW 026 0LFURFRQWUROOHU 8VHU V 0DQXDO http www siem ens d Sem iconductor ...
Страница 7: ......
Страница 21: ...Semiconductor Group 2 6 1997 10 01 Fundamental Structure C541U ...
Страница 37: ...Semiconductor Group 4 6 1997 10 01 External Bus Interface C541U ...
Страница 133: ...Semiconductor Group 6 88 1999 04 01 On Chip Peripheral Components C541U ...
Страница 163: ...Semiconductor Group 8 8 1997 10 01 Fail Safe Mechanisms C541U ...
Страница 185: ...Semiconductor Group 10 14 1997 10 01 OTP Memory Operation C541U ...
Страница 192: ...Semiconductor Group 12 7 Index C541U ...