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

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-5:
FIGURE 13-5:
© 2006 Microchip Technology Inc.
Note
F
PWMPH1<4:0>
C1OUT
PWMPH1<C2EN>
PWMPH2<4:0>
PWMPH1<C1EN>
C2OUT
OSC
1:
bit 7
bit 6-5
bit 4-0
Reset dominant.
5
PWMCON1: PWM CONTROL REGISTER 1 (ADDRESS: 110h)
COMPLEMENTARY OUTPUT PWM BLOCK DIAGRAM
Prescale
Unimplemented: Read as ‘0’
COMOD<1:0>: Complementary Mode Select bits
00 = Normal two-phase operation. Complementary mode is disabled.
01 = Complementary operation. Duty cycle is terminated by C1OUT or C2OUT.
10 = Complementary operation. Duty cycle is terminated by PWMPH2<4:0> = pwm_count.
11 = Complementary operation. Duty cycle is terminated by PWMPH2<4:0> = pwm_count or C1OUT or
CMDLY<4:0>: Complementary Drive Dead Time bits (typical)
00000 =
00001 =
00010 =
••••• =
11111 =
Legend:
R = Readable bit
-n = Value at POR
bit 7
5
PS<1:0>
Note 1: PWMCON0<1:0> must be set to ‘11’ for Complementary mode operation.
U-0
C2OUT.
Delay = 0
Delay = 5 ns
Delay = 10 ns
• • •
Delay = 155 ns
COMOD1
COMOD<1:0>
R/W-0
pwm_clk
COMOD0
11
10
01
R/W-0
PASEN
PWMASE
PH1EN
PH2EN
Preliminary
Phase
W = Writable bit
‘1’ = Bit is set
Counter
5
Shutdown
Res
pwm_count
CMDLY<4:0>
CMDLY4
R/W-0
pwm_reset
Delay
delay
(1)
5
5
pwm_reset
Shutdown
5
PER<4:0>
PIC16F785/HV785
CMDLY3
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-0
S
R
S
R
(1)
(1)
CMDLY2
R/W-0
Q
Q
0
1
MASTER
PWMPH1<POL>
PWMPH2<POL>
pha1
pha2
M
S
RC1/AN5/C12IN1-/PH1
RC4/C2OUT/PH2
x = Bit is unknown
CMDLY1
R/W-0
DS41249D-page 101
RB7/SYNC
CMDLY0
R/W-0
bit 0

Related parts for PIC16F785-I/P