поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

41594B датащи(PDF) 151 Page - Microchip Technology

номер детали 41594B
подробное описание детали  8-Bit Flash Microcontroller with nanoWatt XLP Technology
PDF  372 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  MICROCHIP [Microchip Technology]
домашняя страница  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

41594B датащи(HTML) 151 Page - Microchip Technology

Back Button 41594B Datasheet HTML 147Page - Microchip Technology 41594B Datasheet HTML 148Page - Microchip Technology 41594B Datasheet HTML 149Page - Microchip Technology 41594B Datasheet HTML 150Page - Microchip Technology 41594B Datasheet HTML 151Page - Microchip Technology 41594B Datasheet HTML 152Page - Microchip Technology 41594B Datasheet HTML 153Page - Microchip Technology 41594B Datasheet HTML 154Page - Microchip Technology 41594B Datasheet HTML 155Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 151 / 372 page
background image
 2011-2012 Microchip Technology Inc.
Preliminary
DS41594B-page 151
PIC12LF1840T48A
19.2
Comparator Control
The comparator has two control registers: CM1CON0
and CM1CON1.
The CM1CON0 register (see Register 19-1) contains
Control and Status bits for the following:
• Enable
•Output selection
• Output polarity
• Speed/Power selection
• Hysteresis enable
• Output synchronization
The CM1CON1 register (see Register 19-2) contains
Control bits for the following:
• Interrupt enable
• Interrupt edge polarity
• Positive input channel selection
• Negative input channel selection
19.2.1
COMPARATOR ENABLE
Setting the C1ON bit of the CM1CON0 register enables
the comparator for operation. Clearing the C1ON bit
disables the comparator resulting in minimum current
consumption.
19.2.2
COMPARATOR OUTPUT
SELECTION
The output of the comparator can be monitored by
reading either the C1OUT bit of the CM1CON0 register
or the MC1OUT bit of the CMOUT register. In order to
make the output available for an external connection,
the following conditions must be true:
• C1OE bit of the CM1CON0 register must be set
• Corresponding TRIS bit must be cleared
• C1ON bit of the CM1CON0 register must be set
19.2.3
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 C1POL bit of the CM1CON0 register.
Clearing the C1POL bit results in a non-inverted output.
Table 19-1 shows the output state versus input
conditions, including polarity control.
19.2.4
COMPARATOR SPEED/POWER
SELECTION
The trade-off between speed or power can be opti-
mized during program execution with the C1SP control
bit. The default state for this bit is ‘1’ which selects the
normal speed mode. Device power consumption can
be optimized at the cost of slower comparator propaga-
tion delay by clearing the C1SP bit to ‘0’.
Note 1: The C1OE bit of the CM1CON0 register
overrides the PORT data latch. Setting
the C1ON bit of the CM1CON0 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.
TABLE 19-1:
COMPARATOR OUTPUT
STATE VS. INPUT
CONDITIONS
Input Condition
C1POL
C1OUT
C1VN > C1VP
00
C1VN < C1VP
01
C1VN > C1VP
11
C1VN < C1VP
10



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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