SN8F2270B Series
USB 2.0 Low-Speed 8-Bit Micro-Controller
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
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.
093H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
EP2NAK
_INT_EN
R/W
Bit 0
EP1NAK
_INT_EN
R/W
USB_INT_EN REG_EN DN_UP_EN
Read/Write
After reset
R/W
1
R/W
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
Bit 7
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.
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.
9.5.5 USB endpoint’s ACK handshaking flag REGISTER
The status of endpoint’s ACK transaction.
094H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
EP2_ACK EP1_ACK
EP_ACK
Read/Write
After reset
R/W
0
R/W
0
Bit [1:0] EPn_ACK [1:0]: EP1~EP2 ACK transaction. n= 1, 2. The bit is set whenever the endpoint that completes
with an ACK received.
0 = the endpoint (interrupt pipe) doesn’t complete with an ACK.
1 = the endpoint (interrupt pipe) complete with an ACK.
SONiX TECHNOLOGY CO., LTD
Page 85
Version 1.2