SN8F2250B Series
USB 2.0 Full-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
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
Bit [2:0] EPnNAK_INT_EN [2: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 5
SOF_INT_EN: USB SIE’s SOF packet receive interrupt enable.
Clear the bit and the bit 7 of INTEN register (0x C9)
= Disable USB SIE’s SOF interrupt request.
Set the bit and the bit 7 of INTEN register (0x C9) to 1
= Enable USB SIE’s SOF interrupt request. The
Bit 6
Bit 7
DP_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.
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
EP3_ACK EP2_ACK EP1_ACK
EP_ACK
Read/Write
After reset
R/W
0
R/W
0
R/W
0
Bit [2:0] EPn_ACK [2:0]: EP1~EP3 ACK transaction. n= 1, 2, 3. 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 105
Version 1.1