Endpoint Configuration Example; Figure 15.26 Endpoint Configuration Example - Hitachi H8S/2215 Series Hardware Manual

Hitachi single-chip microcomputer
Table of Contents

Advertisement

15.7

Endpoint Configuration Example

Figure 15.26 shows an example of endpoint configuration. EPINFO data for the endpoint
configuration shown in figure 15.26 is shown in table 15.8. In this example, two endpoints are not
used. However, note that to load all EPINFO data from UEP1R00_0 to UEPIR22_4, dummy data
must be written to the unused endpoints. An example of dummy data is also shown in table 15.8.
Configuration 1
If endpoints are configured as shown in figure 15.26, some register names change as shown in
table 15.7. In addition, some register bit names also change as shown in table 15.8. In the example
shown in figure 15.26, register or bit names are modified for those determined based on the
Bluetooth standard as follows: EP1i→ EP3, EP2i→ EP2, EP2o→ EP1, EP4i→ EP5, EP4o→ EP6,
and EP5i→ EP4.
Rev. 3.0, 10/02, page 516 of 686
InterfaceNumber 0
InterfaceNumber 1

Figure 15.26 Endpoint Configuration Example

EP0 Control(in,out) 64 bytes
AlternateSetting 0
EP1 Bulk(out) 64 bytes
EP2 Bulk(in) 64 bytes
EP3 Interrupt(in) 32 bytes
AlternateSetting 0
EP4 Interrupt(in) 64 bytes
EP5 Bulk(in) 64 bytes
EP6 Bulk(out) 64 bytes
Unused EP
Unused EP

Advertisement

Table of Contents
loading

Table of Contents