10.3.4 UDPHS Interrupt Status Register

Name: UDPHS_INTSTA
Offset: 0x14
Reset: 0x00000000
Property: Read-only

Bit 3130292827262524 
 DMA_7DMA_6DMA_5DMA_4DMA_3DMA_2DMA_1  
Access RRRRRRR 
Reset 0000000 
Bit 2322212019181716 
 EPT_15EPT_14EPT_13EPT_12EPT_11EPT_10EPT_9EPT_8 
Access RRRRRRRR 
Reset 00000000 
Bit 15141312111098 
 EPT_7EPT_6EPT_5EPT_4EPT_3EPT_2EPT_1EPT_0 
Access RRRRRRRR 
Reset 00000000 
Bit 76543210 
 UPSTR_RESENDOFRSMWAKE_UPENDRESETINT_SOFMICRO_SOFDET_SUSPDSPEED 
Access RRRRRRRR 
Reset 00000000 

Bits 25, 26, 27, 28, 29, 30, 31 – DMA_x DMA Channel x Interrupt

ValueDescription
0 Reset when the UDPHS_DMASTATUSx interrupt source is cleared.
1 Set by hardware when an interrupt is triggered by the DMA Channelx and this endpoint interrupt is enabled by the DMA_x bit in UDPHS_IEN.

Bits 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23 – EPT_x Endpoint x Interrupt (cleared upon USB reset)

ValueDescription
0 Reset when the UDPHS_EPTSTAx interrupt source is cleared.
1 Set by hardware when an interrupt is triggered by the UDPHS_EPTSTAx register and this endpoint interrupt is enabled by the EPT_x bit in UDPHS_IEN.

Bit 7 – UPSTR_RES Upstream Resume Interrupt

ValueDescription
0 Cleared by setting the UPSTR_RES bit in UDPHS_CLRINT.
1 Set by hardware when the UDPHS controller is sending a resume signal called “upstream resume”. This triggers a UDPHS interrupt when the UPSTR_RES bit is set in UDPHS_IEN.

Bit 6 – ENDOFRSM End Of Resume Interrupt

ValueDescription
0 Cleared by setting the ENDOFRSM bit in UDPHS_CLRINT.
1 Set by hardware when the UDPHS controller detects a good end of resume signal initiated by the host. This triggers a UDPHS interrupt when the ENDOFRSM bit is set in UDPHS_IEN.

Bit 5 – WAKE_UP Wake Up CPU Interrupt

ValueDescription
0 Cleared by setting the WAKE_UP bit in UDPHS_CLRINT.
1 Set by hardware when the UDPHS controller is in SUSPEND state and is re-activated by a filtered non-idle signal from the UDPHS line (not by an upstream resume). This triggers a UDPHS interrupt when the WAKE_UP bit is set in UDPHS_IEN register. When receiving this interrupt, the user has to enable the device controller clock prior to operation.
Note: this interrupt is generated even if the device controller clock is disabled.

Bit 4 – ENDRESET End Of Reset Interrupt

ValueDescription
0 Cleared by setting the ENDRESET bit in UDPHS_CLRINT.
1 Set by hardware when an End Of Reset has been detected by the UDPHS controller. This triggers a UDPHS interrupt when the ENDRESET bit is set in UDPHS_IEN.

Bit 3 – INT_SOF Start Of Frame Interrupt

Note: The Micro Start Of Frame Interrupt (MICRO_SOF), and the Start Of Frame Interrupt (INT_SOF) are not generated at the same time.
ValueDescription
0 Cleared by setting the INT_SOF bit in UDPHS_CLRINT.
1 Set by hardware when an UDPHS Start Of Frame PID (SOF) has been detected (every 1 ms) or synthesized by UDPHS. This triggers a UDPHS interrupt when the INT_SOF bit is set in UDPHS_IEN register. In case of detected SOF, in High Speed mode, the MICRO_FRAME_NUMBER field is cleared in UDPHS_FNUM register and the FRAME_NUMBER field is updated.

Bit 2 – MICRO_SOF Micro Start Of Frame Interrupt

Note: The Micro Start Of Frame Interrupt (MICRO_SOF), and the Start Of Frame Interrupt (INT_SOF) are not generated at the same time.
ValueDescription
0 Cleared by setting the MICRO_SOF bit in UDPHS_CLRINT register.
1 Set by hardware when an UDPHS micro start of frame PID (SOF) has been detected (every 125 us) or synthesized by UDPHS. This triggers a UDPHS interrupt when the MICRO_SOF bit is set in UDPHS_IEN. In case of detected SOF, the MICRO_FRAME_NUM field in UDPHS_FNUM register is incremented and the FRAME_NUMBER field does not change.

Bit 1 – DET_SUSPD Suspend Interrupt

ValueDescription
0 Cleared by setting the DET_SUSPD bit in UDPHS_CLRINT register.
1 Set by hardware when a UDPHS Suspend (Idle bus for three frame periods, a J state for 3 ms) is detected. This triggers a UDPHS interrupt when the DET_SUSPD bit is set in UDPHS_IEN register.

Bit 0 – SPEED Speed Status

ValueDescription
0 Reset by hardware when the hardware is in Full Speed mode.
1 Set by hardware when the hardware is in High Speed mode.