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

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
M
MCLR ................................................................................ 110
Memory Organization............................................................ 9
Microchip Internet Web Site .............................................. 175
Migrating from other PICmicro Devices ............................ 168
MPLAB ASM30 Assembler, Linker, Librarian ................... 136
MPLAB ICD 2 In-Circuit Debugger ................................... 137
MPLAB ICE 2000 High-Performance Universal
MPLAB ICE 4000 High-Performance Universal
MPLAB Integrated Development Environment Software .. 135
MPLAB PM3 Device Programmer .................................... 137
MPLINK Object Linker/MPLIB Object Librarian ................ 136
O
OPA2CON Register ............................................................ 76
OPCODE Field Descriptions ............................................. 127
Operational Amplifier (OPA) Module................................... 75
OPTION_REG Register ...................................................... 16
OSCCON Register .............................................................. 33
Oscillator
Oscillator Specifications .................................................... 149
Oscillator Start-up Timer (OST)
Oscillator Switching
P
Packaging ......................................................................... 162
PCL and PCLATH ............................................................... 21
PCON Register ................................................................. 112
PICSTART Plus Development Programmer ..................... 138
PIE1 Register ...................................................................... 18
Pin Diagram ...................................................................... 2, 3
Pinout Descriptions
PIR1 Register...................................................................... 19
PORTA................................................................................ 35
PORTB................................................................................ 42
© 2006 Microchip Technology Inc.
Internal ...................................................................... 110
Data .............................................................................. 9
Data EEPROM Memory............................................ 103
Program ........................................................................ 9
In-Circuit Emulator .................................................... 137
In-Circuit Emulator .................................................... 137
AC Specifications...................................................... 157
Associated Registers .................................................. 77
DC Specifications...................................................... 156
Associated Registers .................................................. 33
Specifications............................................................ 152
Fail-Safe Clock Monitor............................................... 31
Two-Speed Clock Start-up.......................................... 30
Stack ........................................................................... 21
PIC16F684.................................................................... 6
Additional Pin Functions ............................................. 36
Associated Registers .................................................. 41
Pin Descriptions and Diagrams................................... 38
RA0 ............................................................................. 38
RA1 ............................................................................. 38
RA2 ............................................................................. 39
RA3 ............................................................................. 39
RA4 ............................................................................. 40
RA5 ............................................................................. 40
Specifications............................................................ 151
Associated Registers .................................................. 44
Pin Descriptions and Diagrams................................... 43
RB4 ............................................................................. 43
Interrupt-on-change ............................................ 37
Weak Pull-up ...................................................... 36
Preliminary
PORTC ............................................................................... 45
Power-Down Mode (Sleep)............................................... 123
Power-up Timer (PWRT) .................................................. 110
Power-up Timing Delays................................................... 112
Precision Internal Oscillator Parameters .......................... 150
Prescaler
Program Memory .................................................................. 9
Programming, Device Instructions.................................... 127
PWM. See Two Phase PWM
PWMCLK Register.............................................................. 94
PWMCON0 Register........................................................... 93
PWMCON1 Register......................................................... 101
PWMPH1 Register.............................................................. 95
PWMPH2 Register.............................................................. 96
R
Reader Response............................................................. 176
Read-Modify-Write Operations ......................................... 127
REFCON (VR control) ........................................................ 72
Register
Registers
RB5............................................................................. 43
RB6............................................................................. 43
RB7............................................................................. 43
Associated Registers............................................ 33, 48
Pin Descriptions and Diagrams .................................. 46
RC0 ............................................................................ 46
RC1 ............................................................................ 46
RC2 ............................................................................ 47
RC3 ............................................................................ 47
RC4 ............................................................................ 47
RC5 ............................................................................ 48
RC6 ............................................................................ 46
RC7 ............................................................................ 46
Specifications ........................................................... 151
Specifications ........................................................... 152
Shared WDT/Timer0................................................... 50
Switching Prescaler Assignment ................................ 50
Map and Stack.............................................................. 9
IOCA (Interrupt-on-Change) ....................................... 37
WPUA (Weak Pull-up PORTA)................................... 36
ADCON0 (A/D Control 0)............................................ 83
ADCON1 (A/D Control 1)............................................ 84
ANSEL (Analog Select) .......................... 93, 94, 96, 101
ANSEL0 (Analog Select 0) ......................................... 82
ANSEL1 (Analog Select 1) ......................................... 82
CCP1CON (CCP Operation) ...................................... 57
CCPR1H..................................................................... 57
CCPR1L ..................................................................... 57
CM1CON0 (C1 Control) ............................................. 65
CM1CON0 (C2 Control)
CM2CON1 (C2 control) .............................................. 68
CONFIG (Configuration Word) ................................. 108
Data Memory Map ...................................................... 10
EEADR (EEPROM Address) .................................... 103
EECON1 (EEPROM Control 1) ................................ 104
EECON2 (EEPROM Control 2) ................................ 104
EEDAT (EEPROM Data) .......................................... 103
INTCON (Interrupt Control) ........................................ 17
IOCA (Interrupt-on-change PORTA) .......................... 37
Op Amp 2 Control Register (OPA2CON) ................... 76
OPTION_REG (Option) .............................................. 16
OSCCON (Oscillator Control)..................................... 33
PCON (Power Control) ............................................. 112
PIE1 (Peripheral Interrupt Enable 1) .......................... 18
PIC16F785/HV785
CM2CON0 .......................................................... 67
DS41249D-page 175

Related parts for PIC16F785-I/P