Endpoint – Freescale Semiconductor MCF5480 User Manual

Page 903

Advertising
background image

Memory Map/Register Definition

MCF548x Reference Manual, Rev. 3

Freescale Semiconductor

29-29

29.2.4.3

Endpoint n Interface Number Register (EP0IFR, EPnOUTIFR, EPnINIFR)

These registers identify which interface each particular endpoint is a member of. They should be updated

by the USB application before enabling the USB device for the first time and again following a

configuration change (that is, upon the reception of a SET_CONFIGURATION or SET_INTERFACE

request).

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

R

0

0

0

ADDTRANS

MAXPKTSZ

W

Reset

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Reg

Addr

MBAR + 0xB14A (EP1NPSR); 0xB17A (EP2NPSR); 0xB1AA (EP3INPSR); 0xB1DA (EP4INPSR);

0xB20A (EP5INPSR); 0xB23A (EP6INPSR)

Figure 29-29. Endpoint n Max Packet Size Register IN (EPnINMPSR)

Table 29-27. EPnOUTMPSR and EPnINMPSR Field Descriptions

Bits

Name

Description

15–13

Reserved, should be cleared.

12–11

ADDTRANS Additional transactions. For high-speed isochronous and interrupt endpoints only. This is

the number of additional transaction opportunities per microframe.
00 0 additional transactions (1 total)
01 1 additional transaction (2 total)
10 2 additional transactions (3 total)
11 Reserved

10–0

MAXPKTSZ Maximum packet size. This is the maximum packet size in bytes. The packet size must not

exceed the USB 2.0 specification for the selected endpoint type and device speed.

7

6

5

4

3

2

1

0

R

IFNUM

W

Reset

0

0

0

0

0

0

0

0

Reg

Addr

MBAR + 0xB104(EP0OUTIFR); 0xB134(EP1OUTIFR); 0xB164(EP2OUTIFR);

0xB194(EP3OUTIFR); 0xB1C4(EP4OUTIFR); 0xB1F4(EP5OUTIFR);

0xB224(EP6OUTIFR)

Figure 29-30. Endpoint n Interface Number Register OUT (EPnOUTIFR)

Advertising
This manual is related to the following products: