![Nuvoton NuMicro NUC029 Series Скачать руководство пользователя страница 467](http://html1.mh-extra.com/html/nuvoton/numicro-nuc029-series/numicro-nuc029-series_technical-reference-manual_1720306467.webp)
NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
467
of
497
Rev 1.00
N
U
MICRO
®
N
UC02
9L
E
E
/N
UC029
S
E
E
T
E
CHN
ICA
L R
E
F
E
R
E
NC
E
M
A
NU
A
L
Maximal Payload Register (USB_MXPLDx)
Register
Offset
R/W
Description
Reset Value
USB_MXPLD0
0x504 R/W
Endpoint 0 Maximal Payload Register
0x0000_0000
USB_MXPLD1
0x514 R/W
Endpoint 1 Maximal Payload Register
0x0000_0000
USB_MXPLD2
0x524 R/W
Endpoint 2 Maximal Payload Register
0x0000_0000
USB_MXPLD3
0x534 R/W
Endpoint 3 Maximal Payload Register
0x0000_0000
USB_MXPLD4
0x544 R/W
Endpoint 4 Maximal Payload Register
0x0000_0000
USB_MXPLD5
0x554 R/W
Endpoint 5 Maximal Payload Register
0x0000_0000
USB_MXPLD6
0x564 R/W
Endpoint 6 Maximal Payload Register
0x0000_0000
USB_MXPLD7
0x574 R/W
Endpoint 7 Maximal Payload Register
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
Reserved
MXPLD
7
6
5
4
3
2
1
0
MXPLD
Bits
Description
[31:9]
Reserved
Reserved.
[8:0]
MXPLD
Maximal Payload
Define the data length which is transmitted to host (IN token) or the actual data length
which is received from the host (OUT token). It also used to indicate that the endpoint is
ready to be transmitted in IN token or received in OUT token.
(1) When the register is written by CPU,
For IN token, the value of MXPLD is used to define the data length to be transmitted and
indicate the data buffer is ready.
For OUT token, it means that the controller is ready to receive data from the host and the
value of MXPLD is the maximal data length comes from host.
(2) When the register is read by CPU,
For IN token, the value of MXPLD is indicated by the data length be transmitted to host
For OUT token, the value of MXPLD is indicated the actual data length receiving from
host.
Note:
Once MXPLD is written, the data packets will be transmitted/received immediately
after IN/OUT token arrived.