stm32 /stm32h7rs /STM32H7S /OTG_HS /OTG_DOEPTSIZ4

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as OTG_DOEPTSIZ4

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0XFRSIZ0PKTCNT0 (B_0x0_ISOCHRONOUS_OUT_ENDPOINTS)RXDPID

RXDPID=B_0x0_ISOCHRONOUS_OUT_ENDPOINTS

Description

OTG device OUT endpoint 4 transfer size register

Fields

XFRSIZ

Transfer size This field contains the transfer size in bytes for the current endpoint. The core only interrupts the application after it has exhausted the transfer size amount of data. The transfer size can be set to the maximum packet size of the endpoint, to be interrupted at the end of each packet. The core decrements this field every time a packet is read from the Rx FIFO and written to the external memory.

PKTCNT

Packet count Indicates the total number of USB packets that constitute the transfer size amount of data for this endpoint. This field is decremented every time a packet (maximum size or short packet) is written to the Rx FIFO.

RXDPID

Received data PID This is the data PID received in the last packet for this endpoint. STUPCNT[1:0]: SETUP packet count This field specifies the number of back-to-back SETUP data packets the endpoint can receive.

0 (B_0x0_ISOCHRONOUS_OUT_ENDPOINTS): DATA0

1 (B_0x1_ISOCHRONOUS_OUT_ENDPOINTS): DATA2

2 (B_0x2_ISOCHRONOUS_OUT_ENDPOINTS): DATA1

3 (B_0x3_ISOCHRONOUS_OUT_ENDPOINTS): MDATA

Links

()