Datasheet
2−9
2.4.6 OEPSIZXY_n: Output Endpoint X-/Y-Byte Count (n = 1 to 3)
76 5 43210
RSV S
6
S
5
S
4
S
3
S
2
S
1
S
0
R/O R/W R/W R/W R/W R/W R/W R/W
BIT NAME RESET FUNCTION
6−0 S[6:0] x X- and Y-buffer size:
000 0000b ³ Count = 0
000 0001b ³ Count = 1 byte
L
011 1111b ³ Count = 63 bytes
100 0000b ³ Count = 64 bytes
Any value ≥ 100 0001b produces unpredictable results.
7 RSV x Reserved = 0
2.4.7 IEPCNF_n: Input Endpoint Configuration (n = 1 to 3)
76 5 43210
UBME
ISO TOGLE DBUF STALL USBIE RSV RSV
R/W R/W R/W R/W R/W R/W R/O R/O
BIT NAME RESET FUNCTION
1−0 RSV x Reserved = 0
2 USBIE x
USB interrupt enable on transaction completion
2
USBIE
x
USBIE = 0 No interrupt
USBIE = 1 Interrupt on transaction completion
3 STALL 0
USB stall condition indication. Set by UBM, but can be set/cleared by the MCU.
3
STALL
0
STALL = 0 No stall
STALL = 1 USB stall condition. If set by the MCU, a STALL handshake is initiated and the bit is cleared
automatically.
4 DBUF x
Double buffer enable
4
DBUF
x
DBUF = 0 Primary buffer only (X-buffer only)
DBUF = 1 Toggle bit selects buffer
5 TOGLE x USB toggle bit. This bit reflects the toggle sequence bit of DATA0, DATA1
6 ISO x ISO = 0 Non-isochronous transfer. This bit must be cleared by the MCU because only
non-isochronous transfer is supported.
7 UBME x
UBM enable/disable bit. Set/clear by MCU.
7
UBME
x
UBME = 0 UBM cannot use this endpoint.
UBME = 1 UBM can use this endpoint.
2.4.8 IEPBBAX_n: Input Endpoint X-Buffer Base-Address (n = 1 to 3)
76 5 43210
A
10
A
9
A
8
A
7
A
6
A
5
A
4
A
3
R/W R/W R/W R/W R/W R/W R/W R/W
BIT NAME RESET FUNCTION
7−0 A[10:3] x A[10:3] of X-buffer base address (padded with 3 LSB of zeros for a total of 11 bits). This value is set by the
MCU. UBM or DMA uses this value as the start-address of a given transaction. Furthermore, UBM or DMA
does not change this value at the end of a transaction.