PIC16F785-I/P Microchip Technology Inc., PIC16F785-I/P Datasheet - Page 98

no-image

PIC16F785-I/P

Manufacturer Part Number
PIC16F785-I/P
Description
MCU, 8-Bit, 2KW Flash, 128 RAM, 18 I/O, DIP-20
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F785-I/P

A/d Inputs
12-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
17
Memory Type
Flash
Number Of Bits
8
Package Type
20-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
PIC16F785/HV785
REGISTER 13-4:
DS41249D-page 96
bit 7
bit 6
bit 5
bit 4-0
PWMPH2: PWM PHASE 2 CONTROL REGISTER (ADDRESS: 114h)
POL: PH2 Output Polarity bit
1 = PH2 Pin is active low
0 = PH2 Pin is active high
C2EN: Comparator 2 Enable bit
When COMOD<1:0> = 00
When COMOD<1:0> = 1X or X1
C1EN: Comparator 1 Enable bit
When COMOD<1:0> = 00
When COMOD<1:0> = 1X or X1
PH<4:0>: PWM Phase bits
When COMOD<1:0> = 00
When COMOD<1:0> = 1X
When COMOD<1:0> = 01
bit 7
Legend:
R = Readable bit
-n = Value at POR
R/W-0
Note 1: See PWMCON1 register (Register 13-5).
POL
1 = PH2 is reset when C2OUT goes high
0 = PH2 ignores Comparator 2
C2EN has no effect
1 = PH2 is reset when C1OUT goes high
0 = PH2 ignores Comparator 1
C1EN has no effect
00000 = PH2 starts 1 pwm_clk period after falling edge of SYNC pulse. All other PH2
00001 = PH2 is delayed by 1 pwm_clk pulse
••••• = • • •
11111 = PH2 is delayed by 31 pwm_clk pulses
00000 = Complementary drive terminates 1 pwm_clk period after falling edge of SYNC
00001 = Complementary drive termination is delayed by 1 pwm_clk pulse
••••• = • • •
11111 = Complementary drive termination is delayed by 31 pwm_clk pulses
PH<4:0> has no effect.
R/W-0
C2EN
delays are expressed relative to this time.
pulse. All other PH2 delays are expressed relative to this time.
R/W-0
C1EN
(1)
(1)
(1)
(1)
(1)
Preliminary
W = Writable bit
‘1’ = Bit is set
(1)
(1)
R/W-0
PH4
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-0
PH3
R/W-0
PH2
© 2006 Microchip Technology Inc.
x = Bit is unknown
R/W-0
PH1
R/W-0
PH0
bit 0

Related parts for PIC16F785-I/P