Datasheet
Section 16 USB Function Module (USB)
R01UH0309EJ0500 Rev. 5.00 Page 979 of 1408
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
16.3.30 Endpoint Information Register (EPIR)
This register sets the information for each endpoint. Each endpoint needs five bytes to store the
information. Writing data should be done in sequence starting at logical endpoint 0. Make sure to
write data of 20 bytes (five bytes multiplied by four endpoints) to this register. The information
should be written to this register only once at a power-on reset and no data should be written after
that. Description of writing data for one endpoint is shown below.
Although this register consists of one register to which data is written sequentially for one address,
the write data for the endpoint 0 is described as EPIR00 to EPIR04 (EPIR endpoint number in
write order) to make the explanation understood easier. Write should start at EPIR00.
The endpoint numbers should not be overlapped except the one not in use.
• EPIR00
Bit Bit Name
Initial
Value R/W Description
7 to 4 D7 to D4 Undefined W Endpoint Number
[Enable setting range]
0 to 3
3, 2 D3, D2
Undefined
W
Endpoint Configuration Number
[Enable setting range]
0 or 1
1, 0 D1, D0 Undefined W Endpoint Interface Number
[Enable setting range]
0 to 3