Download Print this page

Renesas H8S Family Hardware Manual page 906

Advertisement

Section 22 USB Function Module (USB)
• EPIR04
Bit
Bit Name
7 to 0
D7 to D0
The endpoint number is the endpoint number the USB host uses. The endpoint FIFO number
corresponds to the endpoint number described in this manual. Thus data transfer between the USB
host and the endpoint FIFO can be enabled by putting the endpoint number and the endpoint FIFO
number in one-to-one correspondence. Note that the setting value is subject to a limitation
described below.
Since each endpoint FIFO number is optimized by the exclusive software that corresponds to the
transfer system, direction, and the maximum packet size, make sure to set the endpoint FIFO
number to the data described in table 22.2.
1. The endpoint FIFO number 1 cannot designate other than the maximum packed size of 8 bytes,
control transfer method, and out transfer direction.
2. The endpoint number 0 and the endpoint FIFO number must have one-on one relationship.
3. The maximum packet size for the endpoint FIFO number 0 is 8 bytes only.
4. The endpoint FIFO number 0 can specify only the maximum packet size and the data for the
rest should be all 0.
5. The maximum packet size for the endpoint FIFO numbers 1 and 2 is limited to 64 bytes.
6. The maximum packet size for the endpoint FIFO numbers 3 is limited to 8 bytes.
7. The maximum number of endpoint information setting is ten.
8. Up to ten endpoint information setting should be made.
9. Write 0 to the endpoints not in use.
Table 22.2 shows the example of limitations for the maximum packet size, the transfer method,
and the transfer direction.
Table 22.2 Example of Limitations for Setting Values
Endpoint FIFO Number
0
1
2
3
Rev. 1.00 Mar. 12, 2008 Page 858 of 1178
REJ09B0403-0100
Initial
Value
R/W
Description
Undefined W
Endpoint FIFO Number
[Possible setting range]
0 to 3
Maximum Packet Size
8 bytes
64 bytes
64 bytes
8 bytes
Transfer Method
Control
Bulk
Bulk
Interrupt
Transfer Direction
Out
In
In

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472