參數(shù)資料
型號: PIC16F883
廠商: Microchip Technology Inc.
英文描述: 28/40/44-Pin, Enhanced Flash-Based 8-Bit CMOS Microcontrollers with nanoWatt Technology
中文描述: 28/40/44-Pin,增強(qiáng)基于閃存的納瓦技術(shù)的8位CMOS微控制器
文件頁數(shù): 93/288頁
文件大小: 2477K
代理商: PIC16F883
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁當(dāng)前第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁第223頁第224頁第225頁第226頁第227頁第228頁第229頁第230頁第231頁第232頁第233頁第234頁第235頁第236頁第237頁第238頁第239頁第240頁第241頁第242頁第243頁第244頁第245頁第246頁第247頁第248頁第249頁第250頁第251頁第252頁第253頁第254頁第255頁第256頁第257頁第258頁第259頁第260頁第261頁第262頁第263頁第264頁第265頁第266頁第267頁第268頁第269頁第270頁第271頁第272頁第273頁第274頁第275頁第276頁第277頁第278頁第279頁第280頁第281頁第282頁第283頁第284頁第285頁第286頁第287頁第288頁
2007 Microchip Technology Inc.
Preliminary
DS41291D-page 91
PIC16F882/883/884/886/887
8.8
Additional Comparator Features
There are three additional comparator features:
Timer1 count enable (gate)
Synchronizing output with Timer1
Simultaneous read of comparator outputs
8.8.1
COMPARATOR C2 GATING TIMER1
This feature can be used to time the duration or interval
of analog events. Clearing the T1GSS bit of the
CM2CON1 register will enable Timer1 to increment
based on the output of Comparator C2. This requires
that Timer1 is on and gating is enabled. See
Section 6.0 “Timer1 Module with Gate Control”
for
details.
It is recommended to synchronize the comparator with
Timer1 by setting the C2SYNC bit when the comparator
is used as the Timer1 gate source. This ensures Timer1
does not miss an increment if the comparator changes
during an increment.
8.8.2
SYNCHRONIZING COMPARATOR
C2 OUTPUT TO TIMER1
The Comparator C2 output can be synchronized with
Timer1 by setting the C2SYNC bit of the CM2CON1
register. When enabled, the C2 output is latched on the
falling edge of the Timer1 clock source. If a prescaler is
used with Timer1, the comparator output is latched after
the prescaling function. To prevent a race condition, the
comparator output is latched on the falling edge of the
Timer1 clock source and Timer1 increments on the
rising edge of its clock source. See the Comparator
Block Diagram (Figures 8-2 and 8-3) and the Timer1
Block Diagram (Figure 6-1) for more information.
8.8.3
SIMULTANEOUS COMPARATOR
OUTPUT READ
The MC1OUT and MC2OUT bits of the CM2CON1
register are mirror copies of both comparator outputs.
The ability to read both outputs simultaneously from a
single register eliminates the timing skew of reading
separate registers.
REGISTER 8-3:
Note 1:
Obtaining the status of C1OUT or C2OUT
by reading CM2CON1 does not affect the
comparator interrupt mismatch registers.
CM2CON1: COMPARATOR C2 CONTROL REGISTER 1
R-0
R-0
R/W-0
C1RSEL
R/W-0
C2RSEL
U-0
U-0
R/W-1
T1GSS
R/W-0
C2SYNC
MC1OUT
bit 7
MC2OUT
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
bit 6
bit 5
MC1OUT:
Mirror Copy of C1OUT bit
MC2OUT:
Mirror Copy of C2OUT bit
C1RSEL:
Comparator C1 Reference Select bit
1
= CVREF routed to C1VREF input of Comparator C1
0
= Absolute voltage reference (0.6) routed to C1VREF input of Comparator C1 (or 1.2V precision
reference on parts so equipped)
C2RSEL:
Comparator C2 Reference Select bit
1
= CVREF routed to C2VREF input of Comparator C2
0
= Absolute voltage reference (0.6) routed to C2VREF input of Comparator C2 (or 1.2V precision
reference on parts so equipped)
Unimplemented:
Read as ‘
0
T1GSS:
Timer1 Gate Source Select bit
1
= Timer1 gate source is T1G
0
= Timer1 gate source is SYNCC2OUT.
C2SYNC:
Comparator C2 Output Synchronization bit
1
= Output is synchronous to falling edge of Timer1 clock
0
= Output is asynchronous
bit 4
bit 3-2
bit 1
bit 0
相關(guān)PDF資料
PDF描述
PIC16FR54A FlexROM Based CMOS Microcontoller Series(18個I/O,512ROM,帶WDT的微控制器)
PIC16FR58A FlexROM Based CMOS Microcontoller Series(28個I/O,2KROM,帶WDT的微控制器)
PIC16FR54 FlexROM Based CMOS Microcontoller Series(18個I/O,512ROM,帶WDT的微控制器)
PIC16FR55 FlexROM Based CMOS Microcontoller Series(28個I/O,512ROM,帶WDT的微控制器)
PIC16FR56 FlexROM Based CMOS Microcontoller Series(18個I/O,1KROM,帶WDT的微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC16F883-E/ML 功能描述:8位微控制器 -MCU 7KB Flash 256 RAM 25 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小: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
PIC16F883-E/SO 功能描述:8位微控制器 -MCU 7KB Flash 256 RAM 25 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小: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
PIC16F883-E/SP 功能描述:8位微控制器 -MCU 7KB Flash 256 RAM 25 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小: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
PIC16F883-E/SS 功能描述:8位微控制器 -MCU 7KB Flash 256 RAM 25 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小: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
PIC16F883-I/ML 功能描述:8位微控制器 -MCU 7KB Flash 256 RAM 25 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小: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