Datasheet

© 2008 Microchip Technology Inc. DS41249E-page 197
PIC16F785/HV785
M
MCLR................................................................................110
Internal......................................................................110
.............................................................................................. 9
Data ..............................................................................9
Data EEPROM Memory............................................ 103
Program ........................................................................ 9
.......................................... 201, 193, 138, 139, 137, 139, 138
O
OPA2CON Register ............................................................ 76
OPCODE Field Descriptions............................................. 127
Operational Amplifier (OPA) Module
AC Specifications.............................................. 158, 159
Associated Registers .................................................. 77
DC Specifications...................................................... 158
OPTION_REG Register......................................................17
OSCCON Register.............................................................. 33
Oscillator
Associated Registers .................................................. 34
Oscillator Specifications....................................................151
Oscillator Start-up Timer (OST)
Specifications............................................................154
Oscillator Switching
Fail-Safe Clock Monitor............................................... 31
Two-Speed Clock Start-up.......................................... 30
OSCTUNE
Oscillator Tuning Register (Address 90h) ................... 28
P
Packaging ......................................................................... 187
PCL and PCLATH............................................................... 21
Stack........................................................................... 21
PCON
Power Control Register (Address
8Eh) ....................................................................20
PCON Register ................................................................. 112
PICSTART Plus Development Programmer ..................... 140
PIE1 Register...................................................................... 18
Pin Diagram ......................................................................2, 3
Pinout Descriptions
PIC16F684.................................................................... 6
PIR1 Register...................................................................... 19
PORTA................................................................................35
Additional Pin Functions ............................................. 36
Interrupt-on-change ............................................37
Weak Pull-up ...................................................... 36
Associated Registers .................................................. 41
Pin Descriptions and Diagrams...................................38
RA0............................................................................. 38
RA1............................................................................. 38
RA2............................................................................. 39
RA3............................................................................. 39
RA4............................................................................. 40
RA5............................................................................. 40
Specifications............................................................152
PORTB................................................................................42
Associated Registers .................................................. 44
Pin Descriptions and Diagrams...................................43
RB4............................................................................. 43
RB5............................................................................. 43
RB6............................................................................. 43
RB7............................................................................. 43
PORTC ............................................................................... 45
Associated Registers ............................................ 34, 48
Pin Descriptions and Diagrams .................................. 46
RC0 ............................................................................ 46
RC1 ............................................................................ 46
RC2 ............................................................................ 47
RC3 ............................................................................ 47
RC4 ............................................................................ 47
RC5 ............................................................................ 48
RC6 ............................................................................ 46
RC7 ............................................................................ 46
Specifications ........................................................... 152
Power-Down Mode (Sleep)............................................... 123
Power-up Timer (PWRT) .................................................. 110
Specifications ........................................................... 154
Power-up Timing Delays................................................... 112
Precision Internal Oscillator Parameters .......................... 153
Prescaler
Shared WDT/Timer0................................................... 50
Switching Prescaler Assignment ................................ 50
Program Memory.................................................................. 9
Map and Stack.............................................................. 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............................................................. 202
Read-Modify-Write Operations ......................................... 127
REFCON (VR Control)........................................................ 73
Register
INTCON INTERRUPT CONTROL REGISTER (AD-
DRESS
0Bh, 8Bh, 10Bh or 183h).................................... 17
IOCA (Interrupt-on-Change) ....................................... 37
WPUA (Weak Pull-up PORTA)................................... 36
Registers
ADCON0 (A/D Control 0)............................................ 83
ADCON1 (A/D Control 1)............................................ 84
ANSEL (Analog Select) ................................ 93, 94, 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)
CM2CON0.......................................................... 67
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 REGISTER .......................................... 16
OPTION_REG (Option).............................................. 17
OSCCON (Oscillator Control)..................................... 33
PCON (Power Control)............................................. 112
PIE1 (Peripheral Interrupt Enable 1) .......................... 18