English
Language : 

7643_06 Datasheet, PDF (239/424 Pages) Renesas Technology Corp – 8-BIT SINGLE-CHIP MICROCOMPUTER
7643 Group
APPLICATION
2.6 USB
(10) USB endpoint x (x = 0 to 2) IN max. packet size register
This register specifies the maximum packet size (MAXP) of an endpoint x (x = 0 to 2) IN packet.
Modify the contents of this register when the SET_DESCRIPTOR command is received from the
host CPU. The IN maximum packet sizes (MAXP) are as follows:
- When using endpoints 0, 2: MAXP = n
- When using endpoint 1: MAXP = n*8 (n: the value set in this register)
When not using this register, clear “0” to this register.
Figure 2.6.16 shows the structure of the USB endpoinx (x = 0 to 2) IN max. packet size register.
USB endpoint x IN max. packet size register
b7 b6 b5 b4 b3 b2 b1 b0
USB endpoint x IN max. packet size register
(IN_MAXP: address 5B16)
b
Functions
0 The maximum packet size (MAXP) of endpoint x IN is contained.
1 qMAXP = n for endpoints 0, 2
2 qMAXP = n ✕ 8 for endpoint 1
3 “n” is a written value into this register.
4
5
6
7
Note: The value is “0116” in the endpoint 1 used.
The value is “0816” in the endpoint 0 or 2 used.
At reset R W
(Note)
(Note)
(Note)
(Note)
(Note)
(Note)
(Note)
(Note)
Fig. 2.6.16 Structure of USB endpoint x (x=0 to 2) IN max. packet size register
Rev.2.00 Aug 28, 2006 page 118 of 202
REJ09B0133-0200