09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

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.

USB on-the-go full-speed (OTG_FS) <strong>RM0090</strong><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 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<br />

the 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, must be kept at reset value.<br />

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

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

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

by writing the Clear global OUT NAK bit in the OTG_FS_DCTL 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 OTG_FS_DCTL register<br />

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

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

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

bit in OTG_FS_DCTL).<br />

This interrupt does not necessarily mean that a NAK handshake 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,<br />

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

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

level bit in the OTG_FS_GAHBCFG register (TXFELVL bit in OTG_FS_GAHBCFG).<br />

Note: Accessible in host mode only.<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 and device modes.<br />

1057/1416 Doc ID 018909 Rev 3

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

Saved successfully!

Ooh no, something went wrong!