SN8F2280 Series
USB 2.0 Full-Speed 8-Bit Micro-Controller
Bit 3
SUSPEND: indicate USB suspend status.
0 = Non-suspend status. When MCU wakeup from sleep mode by USB resume wakeup request, the bit will
changes from 1 to 0 automatically.
1 = Set to 1 by hardware when USB suspend request.
Bit 2
EP0SETUP: Endpoint 0 SETUP Token Received.
0 = Endpoint 0 has no SETUP token received.
1 = A valid SETUP packet has been received. The bit is set to 1 after the last received packet in an SETUP
transaction. While the bit is set to 1, the HOST can not write any data in to EP0 FIFO. This prevents SIE
from overwriting an incoming SETUP transaction before firmware has a chance to read the SETUP data.
Bit 1
EP0IN: Endpoint 0 IN Token Received.
0 = Endpoint 0 has no IN token received.
1 = A valid IN packet has been received. The bit is set to 1 after the last received packet in an IN
transaction.
Bit 0
EP0OUT: Endpoint 0 OUT Token Received.
0 = Endpoint 0 has no OUT token received.
1 = A valid OUT packet has been received. The bit is set to 1 after the last received packet in an OUT
transaction.
9.5.3 USB DATA COUNT REGISTER
The USB EP0 OUT token data byte counter.
093H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
EP0OUT_CNT
Read/Write
After reset
UEP0OC4 UEP0OC3 UEP0OC2 UEP0OC1 UEP0OC0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Bit [4:0] UEP0C [4:0]: USB endpoint 0 OUT token data counter.
9.5.4 USB ENABLE CONTROL REGISTER
The register control the regulator output 3.3 volts enable, SOF packet receive interrupt, NAK handshaking interrupt and
D+ internal 1.5k ohm pull up.
094H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
EP4NAK
_INT_EN
R/W
Bit 2
EP3NAK
_INT_EN
R/W
Bit 1
EP2NAK
_INT_EN
R/W
Bit 0
EP1NAK
_INT_EN
R/W
USB_INT_EN REG_EN DP_UP_EN SOF_INT_EN
Read/Write
After reset
R/W
1
R/W
0
R/W
0
0
0
0
0
Bit 7
REG_EN: 3.3volts Regulator control bit.
0 = Disable regulator output 3.3volts.
SONiX TECHNOLOGY CO., LTD
Page 107
Version 1.1