Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

PIC12LF1501 Datasheet(PDF) 131 Page - Microchip Technology

No. de pieza PIC12LF1501
Descripción Electrónicos  14-Pin Flash, 8-Bit Microcontrollers
PDF  352 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  MICROCHIP [Microchip Technology]
Página de inicio  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC12LF1501 Datasheet(HTML) 131 Page - Microchip Technology

Back Button PIC12LF1501 Datasheet HTML 127Page - Microchip Technology PIC12LF1501 Datasheet HTML 128Page - Microchip Technology PIC12LF1501 Datasheet HTML 129Page - Microchip Technology PIC12LF1501 Datasheet HTML 130Page - Microchip Technology PIC12LF1501 Datasheet HTML 131Page - Microchip Technology PIC12LF1501 Datasheet HTML 132Page - Microchip Technology PIC12LF1501 Datasheet HTML 133Page - Microchip Technology PIC12LF1501 Datasheet HTML 134Page - Microchip Technology PIC12LF1501 Datasheet HTML 135Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 131 / 352 page
background image
 2011-2015 Microchip Technology Inc.
DS40001607D-page 131
PIC16(L)F1503
FIGURE 17-2:
SINGLE COMPARATOR
17.2
Comparator Control
Each comparator has two control registers: CMxCON0
and CMxCON1.
The CMxCON0 registers (see Register 17-1) contain
Control and Status bits for the following:
• Enable
•Output selection
• Output polarity
• Speed/Power selection
• Hysteresis enable
• Output synchronization
The CMxCON1 registers (see Register 17-2) contain
Control bits for the following:
• Interrupt enable
• Interrupt edge polarity
• Positive input channel selection
• Negative input channel selection
17.2.1
COMPARATOR ENABLE
Setting the CxON bit of the CMxCON0 register enables
the comparator for operation. Clearing the CxON bit
disables the comparator resulting in minimum current
consumption.
17.2.2
COMPARATOR POSITIVE INPUT
SELECTION
Configuring the CxPCH<1:0> bits of the CMxCON1
register directs an internal voltage reference or an
analog pin to the non-inverting input of the comparator:
• CxIN+ analog pin
• DAC1_output
• FVR_buffer2
•VSS
See Section 13.0 “Fixed Voltage Reference (FVR)”
for more information on the Fixed Voltage Reference
module.
See Section 16.0 “5-Bit Digital-to-Analog Converter
(DAC) Module”
for more information on the DAC input
signal.
Any time the comparator is disabled (CxON = 0), all
comparator inputs are disabled.
17.2.3
COMPARATOR NEGATIVE INPUT
SELECTION
The CxNCH<2:0> bits of the CMxCON0 register direct
one of the input sources to the comparator inverting
input.
17.2.4
COMPARATOR OUTPUT
SELECTION
The output of the comparator can be monitored by
reading either the CxOUT bit of the CMxCON0 register
or the MCxOUT bit of the CMOUT register. In order to
make the output available for an external connection,
the following conditions must be true:
• CxOE bit of the CMxCON0 register must be set
• Corresponding TRIS bit must be cleared
• CxON bit of the CMxCON0 register must be set
The
synchronous
comparator
output
signal
(CxOUT_sync) is available to the following peripheral(s):
• Configurable Logic Cell (CLC)
• Analog-to-Digital Converter (ADC)
•Timer1
The
asynchronous
comparator
output
signal
(CxOUT_async) is available to the following peripheral(s):
• Complementary Waveform Generator (CWG)
+
VIN+
VIN-
Output
Output
VIN+
VIN-
Note:
The black areas of the output of the
comparator represents the uncertainty
due to input offsets and response time.
Note:
To use CxIN+ and CxINx- pins as analog
input, the appropriate bits must be set in
the ANSEL register and the correspond-
ing TRIS bits must also be set to disable
the output drivers.
Note 1:
The CxOE bit of the CMxCON0 register
overrides the PORT data latch. Setting
the CxON bit of the CMxCON0 register
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.



Html Pages

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 93 94 95 96 97 98 99 100  ...More


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com