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

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-1:
© 2006 Microchip Technology Inc.
bit 7
bit 6
bit 5
bit 4
bit 3-2
bit 1
bit 0
PWMCON0: PWM CONTROL REGISTER 0 (ADDRESS: 111h)
PRSEN: PWM Restart Enable bit
1 = Upon auto-shutdown, the PWMASE shutdown bit clears automatically once the shutdown
0 = Upon auto-shutdown, the PWMASE must be cleared in firmware to restart the PWM.
PASEN: PWM Auto-Shutdown Enable bit
0 = PWM auto-shutdown is disabled
1 = V
BLANK2: PH2 Blanking bit
1 = The PH2 pin is active for a minimum of 1/2 of an F
0 = The PH2 pin is reset as soon as the comparator trigger is active
BLANK1: PH1 Blanking bit
1 = The PH1 pin is active for a minimum of 1/2 of an F
0 = The PH1 pin is reset as soon as the comparator trigger is active
SYNC<1:0>: SYNC Pin Function bits
0X = SYNC pin not used for PWM. PWM acts as its own master. RB7/SYNC pin is available
10 = SYNC pin acts as system slave, receiving the PWM counter reset pulse
11 = SYNC pin acts as system master, driving the PWM counter reset pulse
PH2EN: PH2 Pin Enabled bit
1 = The PH2 pin is driven by the PWM signal
0 = The PH2 pin is not used for PWM functions
PH1EN: PH1 Pin Enabled bit
1 = The PH1 pin is driven by the PWM signal
0 = The PH1 pin is not used for PWM functions
Legend:
R = Readable bit
-n = Value at POR
bit 7
PRSEN
R/W-0
Note 1: Blanking is disabled when operating in complementary mode. See COMOD<1:0>
condition goes away. The PWM restarts automatically.
IL
for general purpose I/O.
on INT pin will cause auto-shutdown event
bits in the PWMCON1 register (Register 13-5) for more information.
PASEN
R/W-0
BLANK2
R/W-0
(1)
(1)
Preliminary
W = Writable bit
‘1’ = Bit is set
BLANK1
R/W-0
PIC16F785/HV785
SYNC1
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-0
OSC
OSC
clock period after it is set
clock period after it is set
SYNC0
R/W-0
x = Bit is unknown
PH2EN
R/W-0
DS41249D-page 93
PH1EN
R/W-0
bit 0

Related parts for PIC16F785-I/P