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 />

OTG_HS core interrupt register (OTG_HS_GINTSTS)<br />

Address offset: 0x014<br />

Reset value: 0x0400 0020<br />

This register interrupts the application for system-level events in the current mode<br />

(peripheral mode or host mode).<br />

Some of the bits in this register are valid only in host mode, while others are valid in<br />

peripheral mode only. This register also indicates the current mode. To clear the interrupt<br />

status bits of the rc_w1 type, the application must write 1 into the bit.<br />

The FIFO status interrupts are read-only; once software reads from or writes to the FIFO<br />

while servicing these interrupts, FIFO interrupt conditions are cleared automatically.<br />

The application must clear the OTG_HS_GINTSTS register at initialization before<br />

unmasking the interrupt bit to avoid any interrupts generated prior to initialization.<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

WKUINT<br />

SRQINT<br />

DISCINT<br />

CIDSCHG<br />

Reserved<br />

PTXFE<br />

HCINT<br />

HPRTINT<br />

Reserved<br />

DATAFSUSP<br />

IPXFR/INCOMPISOOUT<br />

IISOIXFR<br />

OEPINT<br />

IEPINT<br />

rc_w1 r r r rc_w1 r r rc_w1 r r r r<br />

Reserved<br />

EOPF<br />

ISOODRP<br />

Bit 31 WKUPINT: Resume/remote wakeup detected interrupt<br />

In peripheral mode, this interrupt is asserted when a resume is detected on the USB. In host<br />

mode, this interrupt is asserted when a remote wakeup is detected on the USB.<br />

Note: Accessible in both peripheral and host modes.<br />

Bit 30 SRQINT: Session request/new session detected interrupt<br />

In host mode, this interrupt is asserted when a session request is detected from the device.<br />

In peripheral mode, this interrupt is asserted when V BUS is in the valid range for a B-device<br />

device. Accessible in both peripheral and host modes.<br />

Bit 29 DISCINT: Disconnect detected interrupt<br />

Asserted when a device disconnect is detected.<br />

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

Bit 28 CIDSCHG: Connector ID status change<br />

The core sets this bit when there is a change in connector ID status.<br />

Note: Accessible in both peripheral and host modes.<br />

Bit 27 Reserved, must be kept at reset value.<br />

Bit 26 PTXFE: Periodic TxFIFO empty<br />

Asserted when the periodic transmit FIFO is either half or completely empty and there is<br />

space for at least one entry to be written in the periodic request queue. The half or<br />

completely empty status is determined by the periodic TxFIFO empty level bit in the Core<br />

AHB configuration register (PTXFELVL bit in OTG_HS_GAHBCFG).<br />

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

ENUMDNE<br />

USBRST<br />

USBSUSP<br />

ESUSP<br />

Doc ID 018909 Rev 3 1190/1416<br />

Reserved<br />

BOUTNAKEFF<br />

GINAKEFF<br />

NPTXFE<br />

RXFLVL<br />

SOF<br />

rc_w1<br />

OTGINT<br />

r<br />

MMIS<br />

rc_w1<br />

CMOD<br />

r

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

Saved successfully!

Ooh no, something went wrong!