參數(shù)資料
型號: MCP2004-E/P
廠商: Microchip Technology
文件頁數(shù): 28/34頁
文件大?。?/td> 0K
描述: IC LIN BUS BIDIRECT 8PDIP
產品培訓模塊: Microchip MCP20xx LIN Transceiver Overview
標準包裝: 60
類型: 收發(fā)器
驅動器/接收器數(shù): 1/1
規(guī)程: LIN
電源電壓: 6 V ~ 27 V
安裝類型: 通孔
封裝/外殼: 8-DIP(0.300",7.62mm)
供應商設備封裝: 8-PDIP
包裝: 管件
PIC16F610/616/16HV610/616
DS41288F-page 34
2009 Microchip Technology Inc.
4.2
Additional Pin Functions
Every PORTA pin on the PIC16F610/616/16HV610/
616 has an interrupt-on-change option and a weak pull-
up option. The next three sections describe these
functions.
4.2.1
ANSEL REGISTER
The ANSEL register 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
output 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.
4.2.2
WEAK PULL-UPS
Each of the PORTA pins, except RA3, has an
individually configurable internal weak pull-up. Control
bits WPUAx enable or disable each pull-up. Refer to
Register 4-4. Each weak pull-up is automatically turned
off when the port pin is configured as an output. The
pull-ups are disabled on a Power-on Reset by the
RAPU bit of the OPTION register). A weak pull-up is
automatically enabled for RA3 when configured as
MCLR and disabled when RA3 is an input. There is no
software control of the MCLR pull-up.
4.2.3
INTERRUPT-ON-CHANGE
Each PORTA pin is individually configurable as an
interrupt-on-change pin. Control bits IOCAx enable or
disable the interrupt function for each pin. Refer to
Register 4-5. The interrupt-on-change is disabled on a
Power-on Reset.
For enabled interrupt-on-change pins, the values are
compared with the old value latched on the last read of
PORTA. The ‘mismatch’ outputs of the last read are
OR’d together to set the PORTA Change Interrupt Flag
bit (RAIF) in the INTCON register (Register 2-3).
This interrupt can wake the device from Sleep. The
user, in the Interrupt Service Routine, clears the
interrupt by:
a)
Any read or write of PORTA. This will end the
mismatch condition, then,
b)
Clear the flag bit RAIF.
A mismatch condition will continue to set flag bit RAIF.
Reading PORTA will end the mismatch condition and
allow flag bit RAIF to be cleared. The latch holding the
last read value is not affected by a MCLR nor BOR
Reset. After these resets, the RAIF flag will continue to
be set if a mismatch is present.
Note:
If a change on the I/O pin should occur
when any PORTA operation is being
executed, then the RAIF interrupt flag may
not get set.
REGISTER 4-3:
ANSEL: ANALOG SELECT REGISTER
R/W-1
ANS7
ANS6
ANS5
ANS4
ANS3(2)
ANS2(2)
ANS1
ANS0
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘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:
PIC16F616/HV616.
相關PDF資料
PDF描述
PX0747/P CONN JAM NUT 4POS W/PINS
HR25-9R-20SA CONN RECEPT 20POS FEMALE SLD PCB
HR25-9R-16PA CONN RECEPT 16POS MALE SLD PCB
VI-220-IW-F4 CONVERTER MOD DC/DC 5V 100W
ADV7523ABCBZ-P-RL IC TX HDMI/DVI LP
相關代理商/技術參數(shù)
參數(shù)描述
MCP2004T-E/MD 功能描述:LIN 收發(fā)器 Stand Alone LIN Transceiver RoHS:否 制造商:NXP Semiconductors 工作電源電壓: 電源電流: 最大工作溫度: 封裝 / 箱體:SO-8
MCP2004T-E/P 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:LIN J2602 Transceiver
MCP2004T-E/SN 功能描述:LIN 收發(fā)器 Stand Alone LIN Transceiver RoHS:否 制造商:NXP Semiconductors 工作電源電壓: 電源電流: 最大工作溫度: 封裝 / 箱體:SO-8
MCP200JR-100K 功能描述:RES 100K OHM 2W 5% MELF RoHS:是 類別:電阻器 >> 芯片電阻 - 表面安裝 系列:MCP 產品目錄繪圖:RHM Series Top RHM Series Side 標準包裝:5,000 系列:MCR10 電阻(歐姆):27 功率(瓦特):0.125W,1/8W 復合體:厚膜 特點:- 溫度系數(shù):±200ppm/°C 容差:±5% 封裝/外殼:0805(2012 公制) 尺寸/尺寸:0.079" L x 0.049" W(2.00mm x 1.25mm) 高度:0.026"(0.65mm) 端子數(shù):2 包裝:帶卷 (TR) 產品目錄頁面:2225 (CN2011-ZH PDF) 其它名稱:RHM27ATR
MCP200JR-100R 功能描述:RES 100 OHM 2W 5% MELF RoHS:是 類別:電阻器 >> 芯片電阻 - 表面安裝 系列:MCP 標準包裝:4,000 系列:RCL - 汽車 電阻(歐姆):30.9 功率(瓦特):1W 復合體:厚膜 特點:- 溫度系數(shù):±100ppm/°C 容差:±1% 封裝/外殼:1812(4632 公制)寬(長端),1218(3246 公制) 尺寸/尺寸:0.126" L x 0.181" W(3.20mm x 4.60mm) 高度:0.024"(0.60mm) 端子數(shù):2 包裝:帶卷 (TR)