SN8F2270B Series
USB 2.0 Low-Speed 8-Bit Micro-Controller
9.5.10 USB DATA POINTER REGISTER
USB FIFO address pointer. Use the point to set the FIFO address for reading data from USB FIFO and writing data to
USB FIFO.
0A3H
UDP0
Read/Write
After reset
Bit 7
UDP07
R/W
0
Bit 6
UDP06
R/W
0
Bit 5
UDP05
R/W
0
Bit 4
UDP04
R/W
0
Bit 3
UDP03
R/W
0
Bit 2
UDP02
R/W
0
Bit 1
UDP01
R/W
0
Bit 0
UDP00
R/W
0
Address [07]~address [00]: data buffer for endpoint 0.
Address [17]~address [10]: data buffer for endpoint 1.
Address [1F]~address [18]: data buffer for endpoint 2.
0A4H
Bit 7
WE0
R/W
0
Bit 6
RD0
R/W
0
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
UDP0_H
Read/Write
After reset
Bit [6]
Bit [7]
RE0: Read data from USB FIFO’s control bit.
0 = Read disable.
1 = Read enable.
WE0: Write data to USB FIFO’s control bit.
0 = Write disable.
1 = Write enable.
9.5.11 USB DATA READ/WRITE REGISTER
0A5H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
UDR0_R
Read/Write
After reset
UDR0_R7 UDR0_R6 UDR0_R5 UDR0_R4 UDR0_R3 UDR0_R2 UDR0_R1 UDR0_R0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
UDR0_R: Read the data from USB FIFO which UDP0 register point to.
0A6H Bit 7 Bit 6 Bit 5 Bit 4 Bit 3
Bit 2
Bit 1
Bit 0
UDR0_W UDR0_W7 UDR0_W6 UDR0_W5 UDR0_W4 UDR0_W3 UDR0_W2 UDR0_W1 UDR0_W0
Read/Write
After reset
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
UDR0_W: Write the data to USB FIFO which UDP0 register point to.
9.5.12 USB ENDPOINT OUT TOKEN DATA BYTES COUNTER
Endpoint 1’s OUT TOKEN DATA BYTES COUNTER.
0A7H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
EP1OUT_CNT
Read/Write
After reset
-
-
-
-
-
-
-
-
-
-
-
-
UEP1OC3 UEP1OC2 UEP1OC1 UEP1OC0
R/W
0
R/W
0
R/W
0
R/W
0
Bit [4:0] UEP1Cn: Bytes counter of EP1 token data. Reset by firmware.
Endpoint 2’s OUT TOKEN DATA BYTES COUNTER.
0A8H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
EP2OUT_CNT
Read/Write
After reset
-
-
-
-
-
-
-
-
-
-
-
-
UEP2OC3 UEP2OC2 UEP2OC1 UEP2OC0
R/W
0
R/W
0
R/W
0
R/W
0
Bit [4:0] UEP2Cn: Bytes counter of EP2 token data. Reset by firmware.
SONiX TECHNOLOGY CO., LTD
Page 88
Version 1.2