read as 鈥?鈥?/div>
-n = Value at POR reset
EP_CTL_DIS EP_OUT_EN EP_IN_EN EP_STALL
bit 7-4:
Unimplemented:
Read as 鈥?鈥?
bit 3-1:
EP_CTL_DIS, EP_OUT_EN, EP_IN_EN:
These three bits define if an endpoint is enabled and the direc-
tion of the endpoint. The endpoint enable/direction control is defined as follows:
EP_CTL_DIS EP_OUT_EN
X
X
X
1
0
0
0
1
1
1
EP_IN_EN
0
1
0
1
1
Endpoint Enable/Direction Control
Disable Endpoint
Enable Endpoint for IN tokens only
Enable Endpoint for OUT tokens only
Enable Endpoint for IN and OUT tokens
Enable Endpoint for IN, OUT, and SETUP tokens
bit 0:
EP_STALL:
When this bit is set it indicates that the endpoint is stalled. This bit has priority over all other
control bits in the Endpoint Enable register, but is only valid if EP_IN_EN=1 or EP_OUT_EN=1. Any access
to this endpoint will cause the USB to return a STALL handshake. The EP_STALL bit can be set or cleared
by the SIE. Refer to the USB 1.1 Specification, Sections 4.4.4 and 8.5.2 for more details on the STALL
protocol.
漏
1999 Microchip Technology Inc.
Advanced Information
DS41124A-page 67