![SONiX TECHNOLOGY CO. SN8F22711B Скачать руководство пользователя страница 93](http://html1.mh-extra.com/html/sonix-technology-co/sn8f22711b/sn8f22711b_user-manual_1321532093.webp)
SN8F2270B Series
USB 2.0 Low-Speed 8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 93
Version 1.3
0A3H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
UDP0 UDP07 UDP06 UDP05 UDP04 UDP03 UDP02 UDP01 UDP00
Read/Write R/W
R/W
R/W R/W R/W R/W R/W R/W
After
reset
0 0 0 0 0 0 0 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
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
UDP0_H
WE0
RD0
Read/Write
R/W
R/W
After
reset
0
0
Bit [6]
RD0:
Read data from USB FIFO’s control bit.
0 = Read disable.
1 = Read enable.
Bit [7]
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 UDR0_R7 UDR0_R6 UDR0_R5
UDR0_R4
UDR0_R3
UDR0_R2 UDR0_R1
UDR0_R0
Read/Write
R/W
R/W
R/W R/W R/W R/W R/W R/W
After
reset
0 0 0 0 0 0 0 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
R/W
R/W
R/W R/W R/W R/W R/W R/W
After
reset
0 0 0 0 0 0 0 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 -
-
-
- UEP1OC3
UEP1OC2 UEP1OC1
UEP1OC0
Read/Write
-
-
-
-
R/W
R/W
R/W
R/W
After
reset
- - - - 0 0 0 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