Datasheet

2−12
2.5.2 IEPBCNT_0: Input Endpoint-0 Byte Count Register
76 5 43210
NAK RSV RSV RSV C
3
C
2
C
1
C
0
R/W R/O R/O R/O R/W R/W R/W R/W
BIT NAME RESET FUNCTION
3−0 C[3:0] 0000 Byte count:
0000b ³ Count = 0
L
0111b ³ Count = 7
1000b ³ Count = 8
1001b to 1111b are reserved. (If used, defaults to 8)
6−4 RSV 0 Reserved = 0
7 NAK 1 NAK= 0 Buffer contains a valid packet for host-in transaction.
NAK= 1 Buffer is empty (host-in request is NAK).
2.5.3 OEPCNFG_0: Output Endpoint-0 Configuration Register
76 5 43210
UBME
RSV TOGLE RSV STALL USBIE RSV RSV
R/W R/O R/O R/O R/W R/W R/O R/O
BIT NAME RESET FUNCTION
1−0 RSV 0 Reserved = 0
2 USBIE 0
USB interrupt enable on transaction completion. Set/clear by MCU.
2
USBIE
0
USBIE = 0 No interrupt
USBIE = 1 Interrupt on transaction completion
3 STALL 0
USB stall condition indication. Set/clear by 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 RSV 0 Reserved = 0
5 TOGLE 0 USB toggle bit. This bit reflects the toggle sequence bit of DATA0, DATA1.
6 RSV 0 Reserved = 0
7 UBME 0
UBM enable/disable bit. Set/clear by MCU.
7
UBME
0
UBME = 0 UBM cannot use this endpoint.
UBME = 1 UBM can use this endpoint.