...the world's most energy friendly microcontrollers
2016-04-28 - Giant Gecko Family - d0053_Rev1.20
403
www.silabs.com
Bit
Name
Reset
Access
Description
For bulk and interrupt endpoints writing this field sets the Endpoint Data PID / Even or Odd Frame (DPIDEOF) field in this register
to DATA1ODD. For isochronous endpoints writing this field sets the Endpoint Data PID / Even or Odd Frame (DPIDEOF) field to
odd (DATA1ODD).
28
SETD0PIDEF
0
W1
Set DATA0 PID / Even Frame
For bulk and interrupt endpoints writing this field sets the Endpoint Data PID / Even or Odd Frame (DPIDEOF) field in this register
to DATA0EVEN. For isochronous endpoints writing this field sets the Endpoint Data PID / Even or Odd Frame (DPIDEOF) field to
odd (DATA0EVEN).
27
SNAK
0
W1
Set NAK
A write to this bit sets the NAK bit for the endpoint. Using this bit, the application can control the transmission of NAK handshakes
on an endpoint. The core can also set this bit for an endpoint after a SETUP packet is received on that endpoint.
26
CNAK
0
W1
Clear NAK
A write to this bit clears the NAK bit for the endpoint.
25:22
Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
21
STALL
0
RW1H
STALL Handshake
For non-control, non-isochronous endpoints: The application sets this bit to stall all tokens from the USB host to this endpoint. If a
NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the STALL bit takes priority. Only the application
can clear this bit, never the core.
For control endpoints: The application can only set this bit, and the core clears it, when a SETUP token is received for this endpoint.
If a NAK bit, Global Non-periodic IN NAK, or Global OUT NAK is set along with this bit, the STALL bit takes priority. Irrespective of
this bit's setting, the core always responds to SETUP data packets with an ACK handshake.
20
SNP
0
RW
Snoop Mode
This bit configures the endpoint to Snoop mode. In Snoop mode, the core does not check the correctness of OUT packets before
transferring them to application memory.
19:18
EPTYPE
0x0
RW
Endpoint Type
This is the transfer type supported by this logical endpoint.
Value
Mode
Description
0
CONTROL
Control Endpoint.
1
ISO
Isochronous Endpoint.
2
BULK
Bulk Endpoint.
3
INT
Interrupt Endpoint.
17
NAKSTS
0
R
NAK Status
When this bit is 0 the core is transmitting non-NAK handshakes based on the FIFO status. When this bit is 1 the core is transmitting
NAK handshakes on this endpoint. When either the application or the core sets this bit the core stops receiving any data on an OUT
endpoint, even if there is space in the RxFIFO to accommodate the incoming packet. Irrespective of this bit's setting, the core always
responds to SETUP data packets with an ACK handshake.
16
DPIDEOF
0
R
Endpoint Data PID / Even-odd Frame
For interrupt/bulk endpoints: Contains the PID of the packet to be received or transmitted on this endpoint. The application must
program the PID of the first packet to be received or transmitted on this endpoint, after the endpoint is activated. The application use
the SETD1PIDOF and SETD0PIDEF fields of this register to program either DATA0 or DATA1 PID.
For isochronous endpoints: Indicates the frame number in which the core transmits/receives isochronous data for this endpoint. The
application must program the even/odd frame number in which it intends to transmit/receive isochronous data for this endpoint using
the SETD1PIDOF and SETD0PIDEF fields in this register.
Value
Mode
Description
0
DATA0EVEN
DATA0 PID / Even Frame.
1
DATA1ODD
DATA1 PID / Odd Frame.
15
USBACTEP
0
RW
USB Active Endpoint
Indicates whether this endpoint is active in the current configuration and interface. The core clears this bit for all endpoints after
detecting a USB reset. After receiving the SetConfiguration and SetInterface commands, the application must program endpoint
registers accordingly and set this bit.
14:11
Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
10:0
MPS
0x000
RW
Maximum Packet Size
The application must program this field with the maximum packet size for the current logical endpoint. This value is in bytes.
Summary of Contents for Giant Gecko EFM32GG
Page 842: ......