Table 17-30. Incsr1 Register; Table 17-31. Incsr1 Fields; Control Status Register 1 For In Ep 1, 2, And 3 (Incsr1) - Sharp LH79524 User Manual

Table of Contents

Advertisement

LH79524/LH79525 User's Guide

17.2.3.4 Control Status Register 1 for IN EP 1, 2, and 3 (INCSR1)

The INCSR1 register maintains the control and status bits for IN endpoints. Software
should only access this register for an IN endpoint after the endpoint has been configured
via INCSR2. The INDEX register must be used to write and read INCSR1.
BIT
FIELD
RESET
RW
BIT
FIELD
RESET
TYPE
ADDR
BITS
31:7
6
5
4

Table 17-30. INCSR1 Register

31
30
29
28
0
0
0
0
RO
RO
RO
RO
RO
15
14
13
12
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.
Clear Data Toggle The Serial Interface Engine (SIE) toggles the Data
PID sequence identifier for USB transactions with multiple data packets.
In the case of an error condition that requires the USB transaction to be
re-synchronized, this bit must be programmed to 1 by software to reset
the data toggle so that the SIE will transmit a DATA0 packet identifier on
CLRTOG
the succeeding transfer. This bit is automatically cleared to 0 when the
USB Device reads it.
1 = Data Toggle bit cleared
0 = No effect on Data Toggle
STALL Send Acknowledge The USB block programs this bit to 1 when
a STALL handshake is issued to an IN token by the USB Host, in re-
sponse to software programming the SEND_STALL bit to 1. When the
USB issues a STALL handshake, IN_PKT_RDY is cleared to 0. Clear this
SENT_STALL
bit by writing a 0 to it.
1 = STALL handshake issued by USB to an in IN token in response to
software setting the SEND_STALL bit
0 = Normal operation
Send STALL Handshake to USB Software must program this bit to 1
to issue a STALL handshake to the next IN token. The USB reads the bit
and issues a STALL handshake. Software must program the bit to 0 to
SEND_STALL
end the STALL condition.
1 = Issue a STALL handshake to the USB Host
0 = End the STALL condition
27
26
25
24
23
///
0
0
0
0
0
RO
RO
RO
RO
11
10
9
8
7
///
0
0
0
0
0
RO
RO
RO
RO
0xFFFF5000 + 0x044

Table 17-31. INCSR1 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
RW
17
16
0
0
RO
RO
1
0
0
0
RW
RW
17-23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lh79525

Table of Contents