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

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
REGISTER 13-3:
© 2006 Microchip Technology Inc.
bit 7
bit 6
bit 5
bit 4-0
PWMPH1: PWM PHASE 1 CONTROL REGISTER (ADDRESS: 113h)
POL: PH1 Output Polarity bit
1 = PH1 Pin is active-low
0 = PH1 Pin is active-high
C2EN: Comparator 2 Enable bit
When COMOD<1:0> = 00
When COMOD<1:0> = X1
When COMOD<1:0> = 10
C1EN: Comparator 1 Enable bit
When COMOD<1:0> = 00
When COMOD<1:0> = X1
When COMOD<1:0> = 10
PH<4:0>: PWM Phase bits
When COMOD<1:0> = 00
When COMOD<1:0> = X1 or 1X
Legend:
R = Readable bit
-n = Value at POR
bit 7
R/W-0
Note 1: See PWMCON1 register (Register 13-5).
POL
00000 = PH1 starts 1 pwm_clk period after falling edge of SYNC pulse. All other PH1
00001 = PH1 is delayed by 1 pwm_clk pulse
••••• = • • •
11111 = PH1 is delayed by 31 pwm_clk pulses
00000 = Complementary drive starts 1 pwm_clk period after falling edge of SYNC pulse.
00001 = Complementary drive start is delayed by 1 pwm_clk pulse
••••• = • • •
11111 = Complementary drive start is delayed by 31 pwm_clk pulses
C2EN has no effect
1 = PH1 is reset when C1OUT goes high
0 = PH1 ignores Comparator 1
1 = Complementary drive terminates when C1OUT goes high
0 = Comparator 1 is ignored
C1EN has no effect
1 = PH1 is reset when C2OUT goes high
0 = PH1 ignores Comparator 2
1 = Complementary drive terminates when C2OUT goes high
0 = Comparator 2 is ignored
delays are expressed relative to this time.
All other delays are expressed relative to this time.
R/W-0
C2EN
R/W-0
C1EN
(1)
(1)
(1)
(1)
(1)
(1)
(1)
Preliminary
W = Writable bit
‘1’ = Bit is set
(1)
R/W-0
PH4
PIC16F785/HV785
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-0
PH3
R/W-0
PH2
x = Bit is unknown
R/W-0
PH1
DS41249D-page 95
R/W-0
PH0
bit 0

Related parts for PIC16F785-I/P