PIC16C782 Microchip Technology Inc., PIC16C782 Datasheet - Page 96

no-image

PIC16C782

Manufacturer Part Number
PIC16C782
Description
8-bit Cmos Microcontrollers With A/d, D/a, Opamp, Comparators And Psmc
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C782/JW
Manufacturer:
AD
Quantity:
580
PIC16C781/782
12.1.2.2
Comparator C2 has one additional feature: its output
can be synchronized to the Timer1 clock input. Setting
C2SYNC (CM2CON1<0>) synchronizes the output of
Comparator 2 to the falling edge of Timer 1’s clock input
(see Figure 12-1 and Register 12-3).
REGISTER 12-3:
DS41171A-page 94
bit 7
bit 6
bit 5-1
bit 0
Control Register CM2CON1
COMPARATOR C2 CONTROL REGISTER1 (CM2CON1: 11Bh)
MC1OUT: Mirror Copy of C1OUT (CM1CON0<6>)
MC2OUT: Mirror Copy of C2OUT (CM2CON0<6>)
Unimplemented: Read as ’0’
C2SYNC: C2 Output Synchronous Mode bit
1 = C2 output is synchronous to falling edge of TMR1 clock
0 = C2 output is asynchronous
bit 7
Legend:
R = Readable bit
- n = Value at POR
MC1OUT MC2OUT
R-0
R-0
U-0
Preliminary
W = Writable bit
’1’ = Bit is set
U-0
The CM2CON1 register also contains mirror copies of
both comparator outputs, MC1OUT and MC2OUT
(CM2CON1<7:6>). The ability to read both outputs
simultaneously from a single register eliminates the
timing skew of reading separate registers.
U-0
U = Unimplemented bit, read as ‘0’
’0’ = Bit is cleared
U-0
2001 Microchip Technology Inc.
x = Bit is unknown
U-0
C2SYNC
R/W-0
bit 0

Related parts for PIC16C782