參數(shù)資料
型號(hào): PIC12HV615
廠商: Microchip Technology Inc.
英文描述: 8-Pin Flash-Based, 8-Bit CMOS Microcontrollers
中文描述: 8引腳閃存的基礎(chǔ)上,8位CMOS微控制器
文件頁數(shù): 57/168頁
文件大?。?/td> 1347K
代理商: PIC12HV615
2006 Microchip Technology Inc.
Preliminary
DS41302A-page 55
PIC12F609/615/12HV609/615
8.3
Comparator Control
The comparator has two control and Configuration reg-
isters: CMCON0 and CMCON1. The CMCON1 register
is used for controlling the interaction with Timer1 and
simultaneously reading the comparator output.
The CMCON0 register (Register 8-1) contain the
control and Status bits for the following:
Enable
Input selection
Reference selection
Output selection
Output polarity
8.3.1
Setting the CMON bit of the CMCON0 register enables
the comparator for operation. Clearing the CMON bit
disables the comparator for minimum current
consumption.
COMPARATOR ENABLE
8.3.2
The CMCH bit of the CMCON0 register directs one of
four analog input pins to the comparator inverting input.
COMPARATOR INPUT SELECTION
8.3.3
COMPARATOR REFERENCE
SELECTION
Setting the CMR bit of the CMxCON0 register directs
an internal voltage reference or an analog input pin to
the non-inverting input of the comparator. See
Section 8.10 “Comparator Voltage Reference”
for
more information on the internal voltage reference
module.
8.3.4
COMPARATOR OUTPUT
SELECTION
The output of the comparator can be monitored by
reading either the COUT bit of the CMCON0 register. In
order to make the output available for an external
connection, the following conditions must be true:
CMOE bit of the CMxCON0 register must be set
Corresponding TRIS bit must be cleared
CMON bit of the CMCON0 register must be set.
Note 1:
The CMOE bit overrides the PORT data
latch. Setting the CMON has no impact
on the port override.
2:
The internal output of the comparator is
latched with each instruction cycle.
Unless otherwise specified, external
outputs are not latched.
8.3.5
COMPARATOR OUTPUT POLARITY
Inverting the output of the comparator is functionally
equivalent to swapping the comparator inputs. The
polarity of the comparator output can be inverted by
setting the CMPOL bit of the CMCON0 register. Clear-
ing CMPOL results in a non-inverted output. A com-
plete table showing the output state versus input
conditions and the polarity bit is shown in Table 8-1.
TABLE 8-1:
OUTPUT STATE VS. INPUT
CONDITIONS
8.4
Comparator Response Time
The comparator output is indeterminate for a period of
time after the change of an input source or the selection
of a new reference voltage. This period is referred to as
the response time. The response time of the compara-
tor differs from the settling time of the voltage refer-
ence. Therefore, both of these times must be
considered when determining the total response time
to a comparator input change. See
Section 15.0
“Electrical Specifications”
for more details.
Note:
To use CIN+ and CIN- pins as analog
inputs, the appropriate bits must be set in
the ANSEL register and the corresponding
TRIS bits must also be set to disable the
output drivers.
Input Conditions
CMPOL
COUT
CMV
IN
- > CMV
IN
+
CMV
IN
- < CMV
IN
+
CMV
IN
- > CMV
IN
+
CMV
IN
- < CMV
IN
+
Note:
COUT refers to both the register bit and
output pin.
0
0
0
1
1
1
1
0
相關(guān)PDF資料
PDF描述
PIC16C505-04 14-Pin, 8-Bit CMOS Microcontroller
PIC16C505 14-Pin, 8-Bit CMOS Microcontroller(每個(gè)I/O口有25mA驅(qū)動(dòng)/吸收電流,12個(gè)I/O口,帶WDT的微控制器)
PIC16C54C EPROM/ROM-Based 8-Bit CMOS Microcontroller(18引腳、12個(gè)I/O端口、512位EPROM/ROM的8位CMOS微控制器)
PIC16C54 EPROM/ROM-Based 8-Bit CMOS Microcontroller Series(每個(gè)I/O口有20mA吸收,25mA驅(qū)動(dòng),12個(gè)I/O,2.5V的微控制器)
PIC16CR54B EPROM/ROM-Based 8-Bit CMOS Microcontroller Series(每個(gè)I/O口有20mA吸收,25mA驅(qū)動(dòng),12個(gè)I/O,2.5V的微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC12HV615-E/MD 功能描述:8位微控制器 -MCU 2KB Flash 64 RAM RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC12HV615-E/MF 功能描述:8位微控制器 -MCU 1.75KB Flash 64B RAM 6 I/O 8MHz INT OSC RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC12HV615-E/MS 功能描述:8位微控制器 -MCU 2KB Flash 64 RAM RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC12HV615-E/P 功能描述:8位微控制器 -MCU 2KB Flash 64 RAM RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC12HV615-E/SN 功能描述:8位微控制器 -MCU 2KB Flash 64 RAM RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT