Table 17-40. Outcount0 Register; Table 17-41. Outcount0 Fields; Table 17-42. Outcount1 Register; Table 17-43. Outcount1 Fields - Sharp LH79524 User Manual

Table of Contents

Advertisement

Universal Serial Bus Device
17.2.3.9 Count 0 Register (OUTCOUNT0)
OUTCOUNT0 is a read-only register that indicates the number of received data bytes in
the Endpoint 0 FIFO. The value returned is valid while CSR0:OUT_PKT_RDY is 1.
BIT
FIELD
RESET
RW
BIT
FIELD
RESET
TYPE
ADDR
BITS
31:7
6:0
17.2.3.10 Count 1 Register (OUTCOUNT1)
The OUTCOUNT1 is a read-only register that holds the lower 8 bits of the number of
received data bytes in the packet in the FIFO associated with the currently-selected OUT
endpoint. The value returned is valid while OUTCSR1:OUT_PKT_RDY is 1.
BIT
FIELD
RESET
RW
BIT
FIELD
RESET
TYPE
ADDR
BITS
31:8
7:0
17-30

Table 17-40. OUTCOUNT0 Register

31
30
29
28
27
0
0
0
0
RO
RO
RO
RO
RO
15
14
13
12
11
///
0
0
0
0
RO
RO
RO
RO
RO

Table 17-41. OUTCOUNT0 Fields

NAME
///
Reserved Reading returns 0. Write the reset value.
Count of OUT EP0 Packet Bytes Number of bytes in the packet
OUTCOUNT0
ready to be unloaded by software.

Table 17-42. OUTCOUNT1 Register

31
30
29
28
27
0
0
0
0
RO
RO
RO
RO
RO
15
14
13
12
11
///
0
0
0
0
RO
RO
RO
RO
RO

Table 17-43. OUTCOUNT1 Fields

NAME
///
Reserved Reading returns 0. Write the reset value.
Count of OUT EP1 or EP2 Packet Bytes This contains the lower 8 bits
OUTCOUNT1
of the number of bytes in the packet ready to be unloaded by software.
26
25
24
23
///
0
0
0
0
0
RO
RO
RO
RO
10
9
8
7
0
0
0
0
0
RO
RO
RO
RO
0xFFFF5000 + 0x058
(with the INDEX register set to 0)
26
25
24
23
///
0
0
0
0
0
RO
RO
RO
RO
10
9
8
7
0
0
0
0
0
RO
RO
RO
RO
0xFFFF5000 + 0x058
(with the INDEX register set to 1 or 2)
FUNCTION
Version 1.0
LH79524/LH79525 User's Guide
22
21
20
19
0
0
0
0
RO
RO
RO
RO
RO
6
5
4
3
OUTCOUNT0
0
0
0
0
RO
RO
RO
RO
RO
FUNCTION
22
21
20
19
0
0
0
0
RO
RO
RO
RO
RO
6
5
4
3
OUTCOUNT1
0
0
0
0
RO
RO
RO
RO
RO
18
17
16
0
0
0
RO
RO
2
1
0
0
0
0
RO
RO
18
17
16
0
0
0
RO
RO
2
1
0
0
0
0
RO
RO

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lh79525

Table of Contents