ST STM32G0 1 Series Reference Manual page 1305

Table of Contents

Advertisement

RM0444
Bits 25:16 COUNTn_RX[9:0]: Reception byte count
Bits 15:0 ADDRn_RX[15:0]: Reception buffer address
Channel/endpoint transmit buffer descriptor n [alternate]
(USB_CHEP_RXTXBD_n)
Address offset: n*8 + 4
This register description applies when corresponding CHEPnR register programs use of
double buffering and activates transmit buffers (otherwise refer to previous register
description).
31
30
29
Res.
Res.
Res.
Res.
15
14
13
rw
rw
rw
Bits 31:26 Reserved, must be kept at reset value.
Bits 25:16 COUNTn_TX[9:0]: Transmission byte count
Bits 15:0 ADDRn_TX[15:0]: Transmission buffer address
Universal serial bus full-speed host/device interface (USB)
These bits contain the number of bytes received by the endpoint/channel associated with the
USB_CHEPnR register during the last OUT/SETUP transaction addressed to it.
These bits point to the starting address of the packet buffer, which contains the data received
by the endpoint/channel associated with the USB_CHEPnR register at the next OUT/SETUP
token addressed to it. Bits 1 and 0 must always be written as "00" since packet memory is
word wide and all packet buffers must be word aligned.
28
27
26
25
Res.
Res.
rw
12
11
10
9
rw
rw
rw
rw
These bits contain the number of bytes to be transmitted by the endpoint/channel associated
with the USB_CHEPnR register at the next IN token addressed to it.
These bits point to the starting address of the packet buffer containing data to be transmitted
by the endpoint/channel associated with the USB_CHEPnR register at the next IN token
addressed to it. Bits 1 and 0 must always be written as "00" since packet memory is word
wide and all packet buffers must be word aligned.
24
23
22
COUNTn_TX[9:0]
rw
rw
rw
8
7
6
ADDRn_TX[15:0]
rw
rw
rw
RM0444 Rev 5
21
20
19
18
rw
rw
rw
rw
5
4
3
2
rw
rw
rw
rw
17
16
rw
rw
1
0
rw
rw
1305/1390
1307

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32G0 1 Series and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF