09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Bit 25 HCINT: Host channels interrupt<br />

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

core (in host mode). The application must read the OTG_FS_HAINT register to determine<br />

the exact number of the channel on which the interrupt occurred, and then read the<br />

corresponding OTG_FS_HCINTx register to determine the exact cause of the interrupt. The<br />

application must clear the appropriate status bit in the OTG_FS_HCINTx register to clear<br />

this bit.<br />

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

Bit 24 HPRTINT: Host port interrupt<br />

The core sets this bit to indicate a change in port status of one of the OTG_FS controller<br />

ports in host mode. The application must read the OTG_FS_HPRT register to determine the<br />

exact event that caused this interrupt. The application must clear the appropriate status bit in<br />

the OTG_FS_HPRT register to clear this bit.<br />

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

Bits 23:22 Reserved, must be kept at reset value.<br />

Bit 21 IPXFR: Incomplete periodic transfer<br />

In host mode, the core sets this interrupt bit when there are incomplete periodic transactions<br />

still pending, which are scheduled for the current frame.<br />

INCOMPISOOUT: Incomplete isochronous OUT transfer<br />

In device mode, the core sets this interrupt to indicate that there is at least one isochronous<br />

OUT endpoint on which the transfer is not completed in the current frame. This interrupt is<br />

asserted along with the End of periodic frame interrupt (EOPF) bit in this register.<br />

Bit 20 IISOIXFR: Incomplete isochronous IN transfer<br />

The core sets this interrupt to indicate that there is at least one isochronous IN endpoint on<br />

which the transfer is not completed in the current frame. This interrupt is asserted along with<br />

the End of periodic frame interrupt (EOPF) bit in this register.<br />

Note: Only accessible in device mode.<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 device mode). The application must read the OTG_FS_DAINT register to<br />

determine the exact number of the OUT endpoint on which the interrupt occurred, and then<br />

read the corresponding OTG_FS_DOEPINTx register to determine the exact cause of the<br />

interrupt. The application must clear the appropriate status bit in the corresponding<br />

OTG_FS_DOEPINTx register to clear this bit.<br />

Note: Only accessible in device 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 device mode). The application must read the OTG_FS_DAINT register to determine<br />

the exact number of the IN endpoint on which the interrupt occurred, and then read the<br />

corresponding OTG_FS_DIEPINTx register to determine the exact cause of the interrupt.<br />

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

OTG_FS_DIEPINTx register to clear this bit.<br />

Note: Only accessible in device 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 OTG_FS_DCFG<br />

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

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

Doc ID 018909 Rev 3 1056/1416

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

Saved successfully!

Ooh no, something went wrong!