Endpoint Size Register 1 (Epszr1) - Renesas H8S/2158 User Manual

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

Section 18 Universal Serial Bus Interface (USB)
18.3.2

Endpoint Size Register 1 (EPSZR1)

EPSZR1 specifies the sizes of the FIFO (number of bytes) used in USB function core endpoints 1
and 2.
To use both endpoints 1 and 2 in this LSI, the size of FIFOs used for endpoints 1 and 2 must be
specified as 16 bytes. To use only endpoint 1 in this LSI, the size of FIFO used for endpoint 1
must be specified as 16 bytes or 32 bytes. If the size of FIFO used for endpoint 1 is specified as 32
bytes, the FIFO for endpoint 2 must be specified as 0 bytes.
EPSZR1 is initialized to H'44 by a system reset or function software reset (see section 18.3.16,
USB Control Registers 0 and 1 (USBCR0, USBCR1)).
Bit
Bit Name
Initial Value R/W
7
EP1SZ3
0
6
EP1SZ2
1
5
EP1SZ1
0
4
EP1SZ0
0
3
EP2SZ3
0
2
EP2SZ2
1
1
EP2SZ1
0
0
EP2SZ0
0
Legend:
X: Don't care
Rev. 3.00 Jan 25, 2006 page 558 of 872
REJ09B0286-0300
Description
R/W
EP1 FIFO Size
R/W
0000 : Setting prohibited
R/W
0001 : Setting prohibited
R/W
0010 : Setting prohibited
0011 : Setting prohibited
0100 : FIFO size, 16 bytes
0101 : FIFO size, 32 bytes
0110 : Setting prohibited
0111 : Setting prohibited
1XXX: Setting prohibited
R/W
EP2 FIFO Size
R/W
0000 : FIFO size, 0 byte
R/W
0001 : Setting prohibited
R/W
0010 : Setting prohibited
0011 : Setting prohibited
0100 : FIFO size, 16 bytes
0101 : Setting prohibited
0110 : Setting prohibited
0111 : Setting prohibited
1XXX: Setting prohibited

Advertisement

Table of Contents
loading

Table of Contents