beautypg.com

Rainbow Electronics AT89C5131 User Manual

Page 140

background image

140

AT89C5131

4136A–USB–03/03

Table 92. UBYCTHX Register
UBYCTHX (S:E3h)
USB Byte Count High Register X (X = EPNUM set in UEPNUM Register UEPNUM

(S:C7h) USB Endpoint Number)

Reset Value = 00h

7

6

5

4

3

2

1

0

-

-

-

-

-

-

BYCT9

BYCT8

Bit Number Bit Mnemonic Description

7-2

-

Reserved
The value read from these bits is always 0. Do not set these bits.

2-0

BYCT[10:8]

Byte Count MSB
Most Significant Byte of the byte count of a received data packet. The Least
significant part is provided by UBYCTLX Register UBYCTLX (S:E2h) USB
Byte Count Low Register X (X = EPNUM set in UEPNUM Register UEPNUM
(S:C7h) USB Endpoint Number) (see Figure 91 on page 139)
.