Table 17-32. Incsr2 Register; Table 17-33. Incsr2 Fields; Control Status Register 2 For In Ep 1, 2, And 3 (Incsr2) - Sharp LH79524 User Manual

Table of Contents

Advertisement

LH79524/LH79525 User's Guide

17.2.3.5 Control Status Register 2 for IN EP 1, 2, and 3 (INCSR2)

The INCSR2 register allows software to configure USB access and the function of the
IN_PKT_RDY bit. Software should configure endpoints via INCSR2 before reading the
INCSR1 register.
BIT
FIELD
RESET
RW
BIT
FIELD
RESET
TYPE
ADDR
BITS
31:8
7
6
5
4
3
FRC_DATA_TOG
2:0

Table 17-32. INCSR2 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
(with the INDEX register set to IN endpoint 1, 2, or 3)
NAME
///
Reserved Reading returns 0. Write the reset value.
Auto Set IN_PKT_RDY Bit Auto set the IN_PKT_RDY bit.
1 = IN_PKT_RDY is automatically set to 1, without intervention from software,
each time MAXP data is written. If software writes less than MAXP data, the
AUTO_SET
IN_PKT_RDY bit must be programmed to 1 by software. When two packets
are in the IN FIFO, IN_PKT_RDY will also be automatically set after the first
packet has been sent, if the second packet is the maximum packet size.
0 = Software must explicitly control the IN_PKT_RDY bit
Isochronous Mode Enable Use this bit to enable Isochronous transfers.
ISO
1 = Enable the IN endpoint for isochronous transfers
0 = Enable the IN endpoint for bulk or interrupt transfers
///
Reserved Reading returns 0. Write the reset value.
USB DMA Enable This bit enables DMA Bulk transfers for the IN endpoint.
USB_DMA_EN
1 = FIFO is accessed via the DMA
0 = FIFO is accessed via direct Reads
Force Data Toggle This bit can be used to force the endpoint IN data toggle to
switch and the data packet to be cleared from the FIFO, regardless of whether an
ACK was received. This can be used by interrupt IN endpoints that are used to
communicate rate feedback for isochronous endpoints.
1 = Force data toggle
0 = Normal operation
Reserved Reading returns 0. Write the reset value.
///
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
RW
0xFFFF5000 + 0x048

Table 17-33. INCSR2 Fields

FUNCTION
Version 1.0
Universal Serial Bus Device
22
21
20
19
18
0
0
0
0
0
RO
RO
RO
RO
RO
6
5
4
3
2
///
0
0
0
0
0
RW
RW
RW
RW
RO
17
16
0
0
RO
RO
1
0
///
0
0
RO
RO
17-25

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lh79525

Table of Contents