SN8F2270B Series
USB 2.0 Low-Speed 8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 89
Version 1.3
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 4
BUS_RST:
USB bus reset.
0 = Non-USB bus reset.
1 = Set to 1 by hardware when USB bus reset request.
9.5.3 USB DATA COUNT REGISTER
The USB EP0 OUT token data byte counter.
092H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
EP0OUT_CNT
UEP0OC4
UEP0OC3
UEP0OC2 UEP0OC1
UEP0OC0
Read/Write
R/W
R/W
R/W
R/W
R/W
After
reset
0 0 0 0 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.
093H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
USB_INT_EN REG_EN DN_UP_EN
EP2NAK
_INT_EN
EP1NAK
_INT_EN
Read/Write R/W R/W
R/W R/W
After reset
1
0
0
0
Bit [1:0]
EPnNAK_INT_EN [1:0]:
EP1~EP3 NAK transaction interrupts enable control bits
.
n = 1, 2, 3.
0 = Disable NAK transaction interrupt request.
1 = Enable NAK transaction interrupt request.
Bit 6
DN_UP_EN:
D- internal 1.5k ohm pull up resistor control bit.
0 = Disable D- pull up 1.5k ohm to 3.3volts.
1 = Enable D- pull up 1.5k ohm to 3.3volts.
Bit 7
REG_EN:
3.3volts Regulator control bit.
0 = Disable regulator output 3.3volts.
1 = Enable regulator output 3.3volts. This bit must enable when using USB function and I/O port 0, port5.