欢迎访问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文件第58页浏览型号PIC16C745-I/SO的Datasheet PDF文件第59页浏览型号PIC16C745-I/SO的Datasheet PDF文件第60页浏览型号PIC16C745-I/SO的Datasheet PDF文件第61页浏览型号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/765  
10.5.1.3 USB Error Interrupt Status Register (UEIR)  
interrupt bit has been set it must be cleared by writing  
a zero to the respective interrupt bit. Each bit is set as  
soon as the error condition is detected. Thus, the inter-  
rupt will typically not correspond with the end of a  
token being processed.  
The USB Error Interrupt Status Register (UEIR) con-  
tains bits for each of the error sources within the USB.  
Each of these bits are enabled by their respective error  
enable bits (UEIE). The result is OR’ed together and  
sent to the ERROR bit of the UIR register. Once an  
REGISTER 10-3: USB ERROR INTERRUPT FLAGS STATUS REGISTER (UEIR: 192h)  
R/C-0  
R/C-0  
R/C-0  
R/C-0  
R/C-0  
R/C-0  
R/C-0  
R/C-0  
BTS_ERR OWN_ERR WRT_ERR BTO_ERR DFN8 CRC16 CRC5 PID_ERR  
R = Readable bit  
C = Clearable bit  
U = Unimplemented  
bit, read as ‘0’  
-n = Value at POR  
reset  
bit7  
bit0  
bit 7:  
bit 6:  
BTS_ERR: A bit stuff error has been detected.  
OWN_ERR: This bit is set if the USB is processing a token and the OWN bit within the BDT is equal to 0  
(signifying that the microprocessor owns the BDT and the SIE does not have access to the BDT). If process-  
ing an IN TOKEN this would cause a transmit data underflow condition. Processing an OUT or SETUP  
TOKEN would cause a receive data overflow condition.  
bit 5:  
bit 4:  
WRT_ERR: Write Error. A write by the MCU to the USB Buffer Descriptor Table or Buffer area was unsuc-  
cessful.  
BTO_ERR: This bit is set if a bus turnaround time-out error has occurred. This USB uses a bus turnaround  
timer to keep track of the amount of time elapsed between the token and data phases of a SETUP or OUT  
TOKEN or the data and handshake phases of a IN TOKEN. If more than 17-bit times are counted from the  
previous EOP before a transition from IDLE, a bus turnaround time-out error will occur.  
bit 3:  
DFN8: The data field received was not 8 bits. The USB Specification 1.1 specifies that data field must be an  
integral number of bytes. If the data field was not an integral number of bytes this bit will be set.  
bit 2:  
bit 1:  
CRC16: The CRC16 failed.  
CRC5: This interrupt will detect CRC5 error in the token packets generated by the host. If set the token  
packet was rejected due to a CRC5 error.  
bit 0:  
PID_ERR: The PID check field failed.  
Note 1: Bits can only be modified when UCTRL.SUSPND = 0.  
DS41124A-page 62  
Advanced Information  
1999 Microchip Technology Inc.  
 复制成功!