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.

<strong>RM0090</strong> USB on-the-go high-speed (OTG_HS)<br />

Bit 19 OEPINT: OUT endpoint interrupt<br />

The core sets this bit to indicate that an interrupt is pending on one of the OUT endpoints of<br />

the core (in peripheral mode). The application must read the device all endpoints interrupt<br />

(OTG_HS_DAINT) register to determine the exact number of the OUT endpoint on which the<br />

interrupt occurred, and then read the corresponding device OUT Endpoint-x Interrupt<br />

(OTG_HS_DOEPINTx) register to determine the exact cause of the interrupt. The<br />

application must clear the appropriate status bit in the corresponding OTG_HS_DOEPINTx<br />

register to clear this bit.<br />

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

Bit 18 IEPINT: IN endpoint interrupt<br />

The core sets this bit to indicate that an interrupt is pending on one of the IN endpoints of the<br />

core (in peripheral mode). The application must read the device All Endpoints Interrupt<br />

(OTG_HS_DAINT) register to determine the exact number of the IN endpoint on which the<br />

interrupt occurred, and then read the corresponding device IN Endpoint-x interrupt<br />

(OTG_HS_DIEPINTx) register to determine the exact cause of the interrupt. The application<br />

must clear the appropriate status bit in the corresponding OTG_HS_DIEPINTx register to<br />

clear this bit.<br />

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

Bits 17:16 Reserved, must be kept at reset value.<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_HS_DCFG) has been reached in the current frame.<br />

Note: Only accessible in peripheral 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 peripheral 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_HS_DSTS) register to obtain the enumerated speed.<br />

Note: Only accessible in peripheral 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 peripheral 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 peripheral 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 peripheral mode.<br />

Bits 9:8 Reserved, must be kept at reset value.<br />

Doc ID 018909 Rev 3 1192/1416

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

Saved successfully!

Ooh no, something went wrong!