29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

RM0008<br />

USB on-the-go full-speed (OTG_FS)<br />

Bit 15 EOPF: End of periodic frame interrupt<br />

Indicates that the period specified in the periodic frame interval field of the Device<br />

configuration register (PFIVL bit in OTG_FS_DCFG) has been reached in the current frame.<br />

Note: Only accessible in Device mode.<br />

Bit 14 ISOODRP: Isochronous OUT packet dropped interrupt<br />

The core sets this bit when it fails to write an isochronous OUT packet into the RxFIFO<br />

because the RxFIFO does not have enough space to accommodate a maximum size packet<br />

for the isochronous OUT endpoint.<br />

Note: Only accessible in Device mode.<br />

Bit 13 ENUMDNE: Enumeration done<br />

The core sets this bit to indicate that speed enumeration is complete. The application must<br />

read the Device Status (OTG_FS_DSTS) register to obtain the enumerated speed.<br />

Note: Only accessible in Device mode.<br />

Bit 12 USBRST: USB reset<br />

The core sets this bit to indicate that a reset is detected on the USB.<br />

Note: Only accessible in Device mode.<br />

Bit 11 USBSUSP: USB suspend<br />

The core sets this bit to indicate that a suspend was detected on the USB. The core enters the<br />

Suspended state when there is no activity on the data lines for a period of 3 ms.<br />

Note: Only accessible in Device mode.<br />

Bit 10 ESUSP: Early suspend<br />

The core sets this bit to indicate that an Idle state has been detected on the USB for 3 ms.<br />

Note: Only accessible in Device mode.<br />

Bits 9:8 Reserved<br />

Bit 7 GONAKEFF: Global OUT NAK effective<br />

Indicates that the Set global OUT NAK bit in the Device control register (SGONAK bit in<br />

OTG_FS_DCTL), set by the application, has taken effect in the core. This bit can be cleared by<br />

writing the Clear global OUT NAK bit in the Device control register (CGONAK bit in<br />

OTG_FS_DCTL).<br />

Note: Only accessible in Device mode.<br />

Bit 6 GINAKEFF: Global IN non-periodic NAK effective<br />

Indicates that the Set global non-periodic IN NAK bit in the Device control register (SGINAK bit<br />

in OTG_FS_DCTL), set by the application, has taken effect in the core. That is, the core has<br />

sampled the Global IN NAK bit set by the application. This bit can be cleared by clearing the<br />

Clear global non-periodic IN NAK bit in the Device control register (CGINAK bit in<br />

OTG_FS_DCTL).<br />

This interrupt does not necessarily mean that a NAK h<strong>and</strong>shake is sent out on the USB. The<br />

STALL bit takes precedence over the NAK bit.<br />

Note: Only accessible in Device mode.<br />

Bit 5 NPTXFE: Non-periodic TxFIFO empty<br />

This interrupt is asserted when the non-periodic TxFIFO is either half or completely empty, <strong>and</strong><br />

there is space for at least one entry to be written to the non-periodic transmit request queue.<br />

The half or completely empty status is determined by the non-periodic TxFIFO empty level bit<br />

in the core AHB configuration register (TXFELVL bit in OTG_FS_GAHBCFG).<br />

Bit 4 RXFLVL: RxFIFO non-empty<br />

Indicates that there is at least one packet pending to be read from the RxFIFO.<br />

Note: Accessible in both Host <strong>and</strong> Device modes.<br />

Doc ID 13902 Rev 9 733/995

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!