38.7.55 USBHS Host Pipe n Mask Register (Interrupt Pipes)

This register view is relevant only if PTYPE = 0x3 in ”Host Pipe n Configuration Register”.

Name: USBHS_HSTPIPIMRn (INTPIPES)
Offset: 0x05C0 + n*0x04 [n=0..9]
Reset: 0x00000000
Property: Read/Write

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
      RSTDTPFREEZEPDISHDMA 
Access R/WR/WR/W 
Reset 000 
Bit 15141312111098 
  FIFOCON NBUSYBKE     
Access R/WR/W 
Reset 00 
Bit 76543210 
 SHORTPACKETIERXSTALLDEOVERFIENAKEDEPERREUNDERFIETXOUTERXINE 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bit 18 – RSTDT Reset Data Toggle

ValueDescription
0

0: No reset of the Data Toggle is ongoing.

1

Set when USBHS_HSTPIPIER.RSTDTS = 1. This resets the Data Toggle to its initial value for the current pipe.

Bit 17 – PFREEZE Pipe Freeze

This freezes the pipe request generation.

ValueDescription
0

Cleared when USBHS_HSTPIPIDR.PFREEZEC = 1. This enables the pipe request generation.

1

Set when one of the following conditions is met:

  • USBHS_HSTPIPIER.PFREEZES = 1
  • The pipe is not configured
  • A STALL handshake has been received on the pipe
  • An error has occurred on the pipe (USBHS_HSTPIPISR.PERRI = 1)
  • (INRQ+1) in requests have been processed
  • A Pipe Reset (USBHS_HSTPIP.PRSTx rising) has occurred
  • A Pipe Enable (USBHS_HSTPIP.PEN rising) has occurred

Bit 16 – PDISHDMA Pipe Interrupts Disable HDMA Request Enable

See the USBHS_DEVEPTIMR.EPDISHDMA bit description.

Bit 14 – FIFOCON FIFO Control

  • For OUT and SETUP pipes:
    ValueDescription
    0Cleared when USBHS_HSTPIPIDR.FIFOCONC = 1. This sends the FIFO data and switches the bank.
    1Set when the current bank is free, at the same time as USBHS_HSTPIPISR.TXOUTI or TXSTPI.
  • For IN pipes:
    ValueDescription
    0Cleared when USBHS_HSTPIPIDR.FIFOCONC = 1. This frees the current bank and switches to the next bank.
    1Set when a new IN message is stored in the current bank, at the same time as USBHS_HSTPIPISR.RXINI.

Bit 12 – NBUSYBKE Number of Busy Banks Interrupt Enable

ValueDescription
0

Cleared when USBHS_HSTPIPIDR.NBUSYBKEC = 1. This disables the Transmitted IN Data interrupt (USBHS_HSTPIPIMR.NBUSYBKE).

1

Set when USBHS_HSTPIPIER.NBUSYBKES = 1. This enables the Transmitted IN Data interrupt (USBHS_HSTPIPIMR.NBUSYBKE).

Bit 7 – SHORTPACKETIE Short Packet Interrupt Enable

If this bit is set for non-control OUT pipes, a short packet transmission is guaranteed upon ending a DMA transfer, thus signaling an end of transfer, provided that the End of DMA Buffer Output Enable (USBHS_HSTDMACONTROL.END_B_EN) bit and the Automatic Switch (USBHS_HSTPIPCFG.AUTOSW) bit = 1.

ValueDescription
0

Cleared when USBHS_HSTPIPIDR.SHORTPACKETEC = 1. This disables the Transmitted IN Data interrupt (USBHS_HSTPIPIMR.SHORTPACKETE).

1

Set when USBHS_HSTPIPIER.SHORTPACKETIES = 1. This enables the Transmitted IN Data interrupt (USBHS_HSTPIPIMR.SHORTPACKETIE).

Bit 6 – RXSTALLDE Received STALLed Interrupt Enable

ValueDescription
0

Cleared when USBHS_HSTPIPIDR.RXSTALLDEC = 1. This disables the Transmitted IN Data interrupt (USBHS_HSTPIPIMR.RXSTALLDE).

1

Set when USBHS_HSTPIPIER.RXSTALLDES= 1. This enables the Transmitted IN Data interrupt (USBHS_HSTPIPIMR.RXSTALLDE).

Bit 5 – OVERFIE Overflow Interrupt Enable

ValueDescription
0

Cleared when USBHS_HSTPIPIDR.OVERFIEC = 1. This disables the Transmitted IN Data interrupt (USBHS_HSTPIPIMR.OVERFIE).

1

Set when USBHS_HSTPIPIER.OVERFIES = 1. This enables the Transmitted IN Data interrupt (USBHS_HSTPIPIMR.OVERFIE).

Bit 4 – NAKEDE NAKed Interrupt Enable

ValueDescription
0

Cleared when USBHS_HSTPIPIDR.NAKEDEC = 1. This disables the Transmitted IN Data interrupt (USBHS_HSTPIPIMR.NAKEDE).

1

Set when USBHS_HSTPIPIER.NAKEDES = 1. This enables the Transmitted IN Data interrupt (USBHS_HSTPIPIMR.NAKEDE).

Bit 3 – PERRE Pipe Error Interrupt Enable

ValueDescription
0

Cleared when USBHS_HSTPIPIDR.PERREC = 1. This disables the Transmitted IN Data interrupt (USBHS_HSTPIPIMR.PERRE).

1

Set when USBHS_HSTPIPIER.PERRES = 1. This enables the Transmitted IN Data interrupt (USBHS_HSTPIPIMR.PERRE).

Bit 2 – UNDERFIE Underflow Interrupt Enable

ValueDescription
0

Cleared when USBHS_HSTPIPIDR.UNDERFIEC= 1. This disables the Transmitted IN Data interrupt (USBHS_HSTPIPIMR.UNDERFIE).

1

Set when USBHS_HSTPIPIER.UNDERFIES = 1. This enables the Transmitted IN Data interrupt (USBHS_HSTPIPIMR.UNDERFIE).

Bit 1 – TXOUTE Transmitted OUT Data Interrupt Enable

ValueDescription
0

Cleared when USBHS_HSTPIPIDR.TXOUTEC = 1. This disables the Transmitted IN Data interrupt (USBHS_HSTPIPIMR.TXOUTE).

1

Set when USBHS_HSTPIPIER.TXOUTES = 1. This enables the Transmitted IN Data interrupt (USBHS_HSTPIPIMR.TXOUTE).

Bit 0 – RXINE Received IN Data Interrupt Enable

ValueDescription
0

Cleared when USBHS_HSTPIPIDR.RXINEC = 1. This disables the Transmitted IN Data interrupt (USBHS_HSTPIPIMR.RXINE).

1

Set when USBHS_HSTPIPIER.RXINES= 1. This enables the Transmitted IN Data interrupt (USBHS_HSTPIPIMR.RXINE).