stm32 /stm32h7rs /STM32H7S /OTG_HS /OTG_DOEPTSIZ0

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_DOEPTSIZ0

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 0XFRSIZ0 (PKTCNT)PKTCNT 0STUPCNT

Description

OTG device OUT endpoint 0 transfer size register

Fields

XFRSIZ

Transfer size Indicates the transfer size in bytes for endpoint 0. The core interrupts the application only 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 This field is decremented to zero after a packet is written into the Rx FIFO.

STUPCNT

SETUP packet count This field specifies the number of back-to-back SETUP data packets the endpoint can receive.

1 (B_0x1): 1 packet

2 (B_0x2): 2 packets

3 (B_0x3): 3 packets

Links

()