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

PIC16F886-I/SS 参数 Datasheet PDF下载

PIC16F886-I/SS图片预览
型号: PIC16F886-I/SS
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚,增强基于闪存的8位CMOS微控制器采用纳瓦技术 [28/40/44-Pin, Enhanced Flash-Based 8-Bit CMOS Microcontrollers with nanoWatt Technology]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管时钟
文件页数/大小: 288 页 / 5120 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F886-I/SS的Datasheet PDF文件第38页浏览型号PIC16F886-I/SS的Datasheet PDF文件第39页浏览型号PIC16F886-I/SS的Datasheet PDF文件第40页浏览型号PIC16F886-I/SS的Datasheet PDF文件第41页浏览型号PIC16F886-I/SS的Datasheet PDF文件第43页浏览型号PIC16F886-I/SS的Datasheet PDF文件第44页浏览型号PIC16F886-I/SS的Datasheet PDF文件第45页浏览型号PIC16F886-I/SS的Datasheet PDF文件第46页  
PIC16F882/883/884/886/887  
3.2  
Additional Pin Functions  
RA0 also has an Ultra Low-Power Wake-up option. The  
next three sections describe these functions.  
3.2.1  
ANSEL REGISTER  
The ANSEL register (Register 3-3) is used to configure  
the Input mode of an I/O pin to analog. Setting the  
appropriate ANSEL bit high will cause all digital reads  
on the pin to be read as ‘0’ and allow analog functions  
on the pin to operate correctly.  
The state of the ANSEL bits has no affect on digital out-  
put functions. A pin with TRIS clear and ANSEL set will  
still operate as a digital output, but the Input mode will  
be analog. This can cause unexpected behavior when  
executing read-modify-write instructions on the  
affected port.  
REGISTER 3-3:  
ANSEL: ANALOG SELECT REGISTER  
R/W-1  
ANS7(2)  
bit 7  
R/W-1  
ANS6(2)  
R/W-1  
ANS5(2)  
R/W-1  
ANS4  
R/W-1  
ANS3  
R/W-1  
ANS2  
R/W-1  
ANS1  
R/W-1  
ANS0  
bit 0  
Legend:  
R = Readable bit  
-n = Value at POR  
W = Writable bit  
‘1’ = Bit is set  
U = Unimplemented bit, read as ‘0’  
‘0’ = Bit is cleared x = Bit is unknown  
bit 7-0  
ANS<7:0>: Analog Select bits  
Analog select between analog or digital function on pins AN<7:0>, respectively.  
1= Analog input. Pin is assigned as analog input(1)  
0= Digital I/O. Pin is assigned to port or special function.  
.
Note 1: Setting a pin to an analog input automatically disables the digital input circuitry, weak pull-ups, and  
interrupt-on-change if available. The corresponding TRIS bit must be set to Input mode in order to allow  
external control of the voltage on the pin.  
2: Not implemented on PIC16F883/886.  
DS41291D-page 40  
Preliminary  
© 2007 Microchip Technology Inc.  
 复制成功!