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

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
Resets ............................................................................... 109
Revision History ................................................................ 168
RRF Instruction ................................................................. 133
S
SLEEP
Software Simulator (MPLAB SIM)..................................... 136
Special Event Trigger.......................................................... 89
Special Function Registers ................................................... 9
Specifications .................................................................... 157
Status Register............................................................ 15, 108
SUBLW Instruction............................................................ 134
SUBWF Instruction............................................................ 134
SWAPF Instruction............................................................ 134
T
Time-out Sequence........................................................... 112
Timer0 ................................................................................. 49
Timer1 ................................................................................. 51
DS41249D-page 176
PIR1 (Peripheral Interrupt Register 1) ........................ 19
PORTA........................................................................ 35
PORTB........................................................................ 42
PORTC ....................................................................... 45
PWMCLK (PWM clock control) ................................... 94
PWMCON0 (PWM control 0) ...................................... 93
PWMCON1 (PWM control 1) .................................... 101
PWMPH1 (PWM Phase 1 control) .............................. 95
PWMPH2 (PWM Phase 2 control) .............................. 96
REFCON (VR control)................................................. 72
Reset Values............................................................. 114
Reset Values (special registers) ............................... 116
Special Function Registers ........................................... 9
Special Register Summary ............................. 12, 13, 14
Status .................................................................. 15, 108
T1CON (Timer1 Control)............................................. 53
T2CON (Timer2 Control)............................................. 55
TRISA (Tri-state PORTA) ........................................... 36
TRISB (Tri-state PORTB) ........................................... 42
TRISC (Tri-state PORTC) ........................................... 45
WDTCON (Watchdog Timer Control)........................ 122
WPUA (Weak Pull-up PORTA) ................................... 36
Power-On Reset ....................................................... 110
Instruction ................................................................. 133
Power-Down Mode ................................................... 123
Wake-Up ................................................................... 123
Wake-Up using interrupts ......................................... 123
Associated Registers .................................................. 50
External Clock ............................................................. 50
Interrupt....................................................................... 49
Operation .................................................................... 49
Prescaler ..................................................................... 50
Specifications ............................................................ 153
Associated Registers .................................................. 54
Asynchronous Counter Mode ..................................... 54
Interrupt....................................................................... 52
Modes of Operations................................................... 52
Operation During Sleep .............................................. 54
Oscillator ..................................................................... 54
Prescaler ..................................................................... 52
Specifications ............................................................ 153
Timer1 Gate
TMR1H Register ......................................................... 51
TMR1L Register .......................................................... 51
Reading and Writing ........................................... 54
Inverting Gate ..................................................... 52
Selecting Source................................................. 52
Preliminary
Timer2................................................................................. 55
Timing Diagrams
Timing Parameter Symbology .......................................... 148
TRIS Instruction ................................................................ 134
TRISA Register................................................................... 36
TRISB Register................................................................... 42
TRISC Register................................................................... 45
Two Phase PWM ................................................................ 91
Two-Phase PWM
Two-Speed Clock Start-up Mode........................................ 30
V
Voltage Reference (VR)
Voltage Reference Output (V
Voltage References ............................................................ 70
Associated Registers .................................................. 56
Operation .................................................................... 55
Postscaler ................................................................... 55
PR2 Register .............................................................. 55
Prescaler .................................................................... 55
TMR2 Register............................................................ 55
TMR2 to PR2 Match Interrupt............................... 55, 56
A/D Conversion......................................................... 159
A/D Conversion (Sleep Mode) .................................. 160
Brown-out Reset (BOR)............................................ 152
Brown-out Reset Situations ...................................... 111
Capture/Compare/PWM (CCP) ................................ 154
CLKOUT and I/O ...................................................... 150
External Clock........................................................... 148
Fail-Safe Clock Monitor (FSCM)................................. 32
INT Pin Interrupt ....................................................... 119
Reset, WDT, OST and Power-up Timer ................... 151
Time-out Sequence
Timer0 and Timer1 External Clock ........................... 153
Timer1 Incrementing Edge ......................................... 52
Two Phase PWM
Two Speed Start-up.................................................... 31
Two-Phase PWM
Wake-up from Interrupt............................................. 124
Activating .................................................................... 91
Active Output Level .................................................... 92
Associated Registers ................................................ 102
Auto-shutdown............................................................ 92
Clock control (PWMCLK)............................................ 94
Control Register 0 (PWMCON0)................................. 93
Control Register 1 (PWMCON1)............................... 101
Master/Slave Operation .............................................. 91
Output Blanking .......................................................... 91
Phase 1 control (PWMPH1)........................................ 95
Phase 2 control (PWMPH1)........................................ 96
PWM Duty Cycle......................................................... 91
PWM Frequency ......................................................... 91
PWM Period................................................................ 91
PWM Phase................................................................ 91
PWM Phase resolution ............................................... 91
Shutdown.................................................................... 92
Dead Time Delay ...................................................... 157
Specifications ........................................................... 155
Specifications ........................................................... 156
Associated Registers .................................................. 73
Case 1 .............................................................. 113
Case 2 .............................................................. 113
Case 3 .............................................................. 113
Complementary Output .................................... 102
Start-up............................................................... 97
Auto-Shutdown ................................................... 97
© 2006 Microchip Technology Inc.
REF
) B
UFFER

Related parts for PIC16F785-I/P