ST STM32F205 series Reference Manual page 1028

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F205 series:
Table of Contents

Advertisement

USB on-the-go full-speed (OTG_FS)
Bit 31 EPENA: Endpoint enable
– Endpoint disabled
– Transfer completed
Bit 30 EPDIS: Endpoint disable
Bits 29:28 Reserved, must be kept at reset value.
Bit 27 SNAK: Set NAK
Bit 26 CNAK: Clear NAK
A write to this bit clears the NAK bit for the endpoint.
Bits 25:22 TXFNUM: TxFIFO number
Bit 21 STALL: STALL handshake
Bit 20 Reserved, must be kept at reset value.
Bits 19:18 EPTYP: Endpoint type
Bit 17 NAKSTS: NAK status
Bit 16 Reserved, must be kept at reset value.
1028/1378
The application sets this bit to start transmitting data on the endpoint 0.
The core clears this bit before setting any of the following interrupts on this endpoint:
The application sets this bit to stop transmitting data on an endpoint, even before the
transfer for that endpoint is complete. The application must wait for the Endpoint disabled
interrupt before treating the endpoint as disabled. The core clears this bit before setting the
Endpoint disabled interrupt. The application must set this bit only if Endpoint enable is
already set for this endpoint.
A write to this bit sets the NAK bit for the endpoint.
Using this bit, the application can control the transmission of NAK handshakes on an
endpoint. The core can also set this bit for an endpoint after a SETUP packet is received on
that endpoint.
This value is set to the FIFO number that is assigned to IN endpoint 0.
The application can only set this bit, and the core clears it when a SETUP token is received
for this endpoint. If a NAK bit, a Global IN NAK or Global OUT NAK is set along with this bit,
the STALL bit takes priority.
Hardcoded to '00' for control.
Indicates the following:
0: The core is transmitting non-NAK handshakes based on the FIFO status
1: The core is transmitting NAK handshakes on this endpoint.
When this bit is set, either by the application or core, the core stops transmitting data, even
if there are data available in the TxFIFO. Irrespective of this bit's setting, the core always
responds to SETUP data packets with an ACK handshake.
RM0033 Rev 8
RM0033

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F205 series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f207 seriesStm32f215 seriesStm32f217 series

Table of Contents