欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC16C745-I/SO 参数 Datasheet PDF下载

PIC16C745-I/SO图片预览
型号: PIC16C745-I/SO
PDF下载: 下载PDF文件 查看货源
内容描述: IC- 8-BIT MCU\n [IC-8-BIT MCU ]
分类和应用: 微控制器和处理器外围集成电路光电二极管PC可编程只读存储器时钟
文件页数/大小: 158 页 / 2499 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16C745-I/SO的Datasheet PDF文件第63页浏览型号PIC16C745-I/SO的Datasheet PDF文件第64页浏览型号PIC16C745-I/SO的Datasheet PDF文件第65页浏览型号PIC16C745-I/SO的Datasheet PDF文件第66页浏览型号PIC16C745-I/SO的Datasheet PDF文件第68页浏览型号PIC16C745-I/SO的Datasheet PDF文件第69页浏览型号PIC16C745-I/SO的Datasheet PDF文件第70页浏览型号PIC16C745-I/SO的Datasheet PDF文件第71页  
PIC16C745/765  
10.5.1.10 USB Endpoint Control Register (EPCn)  
The Endpoint Control Registers contains the endpoint  
control bits for each of the 6 endpoints available on  
USB for a decoded address. These four bits define the  
control necessary for any one endpoint. Endpoint 0  
(ENDP0) is associated with control pipe 0 which is  
required by USB for all functions (IN, OUT, and  
SETUP). Therefore, after a USB_RST interrupt has  
been received the microprocessor should set ENDPT0  
to contain 06h.  
REGISTER 10-9: USB ENDPOINT CONTROL REGISTER (UEPn: 198H-19Ah)  
U-0  
U-0  
U-0  
U-0  
R/W-0  
R/W-0  
R/W-0  
R/W-0  
EP_CTL_DIS EP_OUT_EN EP_IN_EN EP_STALL  
R = Readable bit  
W = Writable bit  
bit7  
bit0  
U = Unimplementedbit,  
read as ‘0’  
-n = Value at POR reset  
bit 7-4: Unimplemented: Read as ’0’.  
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 EP_IN_EN Endpoint Enable/Direction Control  
X
X
X
1
0
0
1
1
1
0
1
0
1
1
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  
0
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  
 复制成功!