Infineon /XMC4200 /USB0 /DCTL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as DCTL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (RmtWkUpSig)RmtWkUpSig 0 (value1)SftDiscon 0 (value1)GNPINNakSts 0 (value1)GOUTNakSts 0 (SGNPInNak)SGNPInNak 0 (CGNPInNak)CGNPInNak 0 (SGOUTNak)SGOUTNak 0 (CGOUTNak)CGOUTNak 0 (value1)GMC0 (value1)IgnrFrmNum 0 (NakOnBble)NakOnBble 0 (value1)EnContOnBNA

IgnrFrmNum=value1, EnContOnBNA=value1, GOUTNakSts=value1, GNPINNakSts=value1, SftDiscon=value1, GMC=value1

Description

Device Control Register

Fields

RmtWkUpSig

Remote Wakeup Signaling

SftDiscon

Soft Disconnect

0 (value1): Normal operation. When this bit is cleared after a soft disconnect, the core drives a device connect event to the USB host. When the device is reconnected, the USB host restarts device enumeration.

1 (value2): The core drives a device disconnect event to the USB host.

GNPINNakSts

Global Non-periodic IN NAK Status

0 (value1): A handshake is sent out based on the data availability in the transmit FIFO.

1 (value2): A NAK handshake is sent out on all non-periodic IN endpoints, irrespective of the data availability in the transmit FIFO.

GOUTNakSts

Global OUT NAK Status

0 (value1): A handshake is sent based on the FIFO Status and the NAK and STALL bit settings.

1 (value2): No data is written to the RxFIFO, irrespective of space availability. Sends a NAK handshake on all packets, except on SETUP transactions. All isochronous OUT packets are dropped.

SGNPInNak

Set Global Non-periodic IN NAK

CGNPInNak

Clear Global Non-periodic IN NAK

SGOUTNak

Set Global OUT NAK

CGOUTNak

Clear Global OUT NAK

GMC

Global Multi Count

0 (value1): Invalid.

1 (value2): 1 packet.

2 (value3): 2 packets.

3 (value4): 3 packets.

IgnrFrmNum

Ignore frame number for isochronous endpoints in case of Scatter/Gather DMA

0 (value1): Scatter/Gather enabled: The core transmits the packets only in the frame number in which they are intended to be transmitted. Scatter/Gather disabled: Periodic transfer interrupt feature is disabled; the application must program transfers for periodic endpoints every frame

1 (value2): Scatter/Gather enabled: The core ignores the frame number, sending packets immediately as the packets are ready. Scatter/Gather disabled: Periodic transfer interrupt feature is enabled; the application can program transfers for multiple frames for periodic endpoints.

NakOnBble

Set NAK automatically on babble

EnContOnBNA

Enable continue on BNA

0 (value1): After receiving BNA interrupt, the core disables the endpoint. When the endpoint is re-enabled by the application, the core starts processing from the DOEPDMA descriptor.

1 (value2): After receiving BNA interrupt, the core disables the endpoint. When the endpoint is re-enabled by the application, the core starts processing from the descriptor that received the BNA interrupt.

Links

()