Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC18F23K20-E/ML Datasheet(PDF) 287 Page - Microchip Technology

Part # PIC18F23K20-E/ML
Description  28/40/44-Pin Flash Microcontrollers with nanoWatt XLP Technology
PDF  456 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F23K20-E/ML Datasheet(HTML) 287 Page - Microchip Technology

Back Button PIC18F23K20-E/ML Datasheet HTML 283Page - Microchip Technology PIC18F23K20-E/ML Datasheet HTML 284Page - Microchip Technology PIC18F23K20-E/ML Datasheet HTML 285Page - Microchip Technology PIC18F23K20-E/ML Datasheet HTML 286Page - Microchip Technology PIC18F23K20-E/ML Datasheet HTML 287Page - Microchip Technology PIC18F23K20-E/ML Datasheet HTML 288Page - Microchip Technology PIC18F23K20-E/ML Datasheet HTML 289Page - Microchip Technology PIC18F23K20-E/ML Datasheet HTML 290Page - Microchip Technology PIC18F23K20-E/ML Datasheet HTML 291Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 287 / 456 page
background image
 2010 Microchip Technology Inc.
DS41303G-page 287
PIC18F2XK20/4XK20
20.8
Additional Comparator Features
There are two additional comparator features:
• Simultaneous read of comparator outputs
• Internal reference selection
20.8.1
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.
20.8.2
INTERNAL REFERENCE
SELECTION
There are two internal voltage references available to
the non-inverting input of each comparator. One of
these is the 1.2V Fixed Voltage Reference (FVR) and
the other is the variable Comparator Voltage Reference
(CVREF). The CxRSEL bit of the CM2CON register
determines which of these references is routed to the
Comparator Voltage reference output (CXVREF). Fur-
ther routing to the comparator is accomplished by the
CxR bit of the CMxCON0 register. See Section 21.1
“Comparator Voltage Reference” and Figure 20-2
and Figure 20-3 for more detail.
Note 1: Obtaining the status of C1OUT or C2OUT
by reading CM2CON1 does not affect the
comparator interrupt mismatch registers.
REGISTER 20-3:
CM2CON1: COMPARATOR 2 CONTROL REGISTER 1
R-0
R-0
R/W-0
R/W-0
U-0
U-0
U-0
U-0
MC1OUT
MC2OUT
C1RSEL
C2RSEL
—
—
—
—
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
MC1OUT: Mirror Copy of C1OUT bit
bit 6
MC2OUT: Mirror Copy of C2OUT bit
bit 5
C1RSEL: Comparator C1 Reference Select bit
1
= CVREF routed to C1VREF input
0
= FVR (1.2 Volt fixed voltage reference) routed to C1VREF input
bit 4
C2RSEL: Comparator C2 Reference Select bit
1
= CVREF routed to C2VREF input
0
= FVR (1.2 Volt fixed voltage reference) routed to C2VREF input
bit 3-0
Unimplemented: Read as ‘0’



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 Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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