5 bmrequest type register (bmrtr), Bmrequest type register (bmrtr) -31 – Freescale Semiconductor MCF5480 User Manual

Page 905

Advertising
background image

Memory Map/Register Definition

MCF548x Reference Manual, Rev. 3

Freescale Semiconductor

29-31

29.2.4.5

bmRequest Type Register (BMRTR)

The BMRTR records the bmRequestType field of a SETUP transaction on Endpoint 0.

5

TXZERO

Transmit a zero byte packet. This bit should only be set by the application and cleared by
the USB module.
0 NOP (default).
1 Transmit a zero-byte packet

4

Reserved, should be cleared.

3

CCOMP

Control command complete. Relevant only for control endpoints. This bit should only be
set by the application and cleared by the USB module.
0 Control command in process (default).
1 Control command completed.

2

PSTALL

Protocol stall. Relevant only for control endpoints. The PSTALL bit is set by the USB
module during control transactions if there is a protocol error. For example, an illegal
request parameter will cause the USB to issue a STALL handshake while also setting the
PSTALL bit. The application sets the PSTALL bit according to its own criteria, such as
"control pipe request not supported." The PSTALL bit is cleared by the next SETUP token
received. Setting this bit also sets USBAISR[EPSTALL].
0 Normal operation (default).
1 Protocol stall occurred on control endpoint

1

ACTIVE

Active. Indicates the endpoint is enabled by the application. This bit must be set by the
application to enable the endpoint. All endpoints are disabled by default.
0 Endpoint is not active (default).
1 Endpoint is active/enabled.

0

HALT

Halt. This bit is affected by SET_FEATURE and CLEAR_FEATURE requests. Setting or
clearing this bit sets bit 3 of the USBAISR register.
0 Endpoint is not halted (default).
1 Endpoint is halted.

7

6

5

4

3

2

1

0

R

DIR

TYPE

REC

W

Reset

0

0

0

0

0

0

0

0

Reg

Addr

MBAR + 0xB106

Figure 29-34. Endpoint n bmRequest Type Register (BMRTR)

Table 29-29. EPnOUTSR and EPnINSR Field Descriptions

Bits

Name

Description

Advertising
This manual is related to the following products: