PIC16F785-E/SS Microchip Technology, PIC16F785-E/SS Datasheet - Page 94

20 PIN, 3.5 KB STD FLASH, 128 RAM, 18 I/O PB FREE,

PIC16F785-E/SS

Manufacturer Part Number
PIC16F785-E/SS
Description
20 PIN, 3.5 KB STD FLASH, 128 RAM, 18 I/O PB FREE,
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F785-E/SS

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
20-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT20SS1-1 - SOCKET TRANSITION 20DIP 20SSOPAC162060 - HEADER INTRFC MPLAB ICD2 20PIN
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PIC16F785/HV785
13.5
The PWM output signal can be made active-high or
active-low by setting or resetting the corresponding
POL bit (see Register 13-3 and Register 13-4). When
POL is ‘1’ the active output state is V
‘0’ the active output state is V
13.6
When the PWM is enabled, the PWM outputs may be
configured for auto-shutdown by setting the PASEN bit
(see Register 13-1). V
C1OUT pin will cause a shutdown event if auto-shut-
down is enabled. An auto-shutdown event immediately
places the PWM outputs in the inactive state (see
Section 13.5 “Active PWM Output Level”) and the
PWM phase and period counters are reset and held to
zero.
FIGURE 13-1:
DS41249E-page 92
C1OUT
C2OUT
Note 1:
F
OSC
Active PWM Output Level
Auto-Shutdown and Auto-Restart
Reset dominant.
BLANK1
PWMPH1<C1EN>
PWMPH1<C2EN>
BLANK2
PWMPH2<C1EN>
PWMPH2<C2EN>
TWO-PHASE PWM SIMPLIFIED BLOCK DIAGRAM
IL
PWMP<1:0>
÷1,2,4,8
Prescale
on the RA2/AN2/T0CKI/INT/
OH
.
OL
. When POL is
pwm_clk
PWMPH1<4:0>
PWMPH2<4:0>
SHUTDOWN
PWMASE
PASEN
PH1EN
PH2EN
SHUTDOWN
PH1EN
PH2EN
Phase
Counter
5
The PWMASE bit (see Register 13-2) is set by hard-
ware when a shutdown event occurs. If automatic
restarts are not enabled (PRSEN = 0, see
Register 13-1), PWM operation will not resume until the
PWMASE bit is cleared by firmware after the shutdown
condition clears. The PWMASE bit can not be cleared
as long as the shutdown condition exists. If automatic
restarts are not enabled, the auto-shutdown mode can
be forced by writing a ‘1’ to the PWMASE bit.
If automatic restarts are enabled (PRSEN = 1), the
PWMASE bit is automatically cleared and PWM
operation resumes when the auto-shutdown event
clears (V
pwm_count
5
5
Res
PER<4:0>
SHUTDOWN
IH
on the RA2/AN2/T0CKI/INT/C1OUT pin).
5
S
S
R
R
(1)
(1)
Q
Q
pha1
pha2
0
1
© 2008 Microchip Technology Inc.
MASTER
PWMPH2<POL>
PWMPH1<POL>
M
S
RC1/AN5/C12IN1-/PH1
RC4/C2OUT/PH2
RB7/SYNC

Related parts for PIC16F785-E/SS