© 2007 Microchip Technology Inc. DS41250F-page 321
PIC16F917/916/914/913
RF0 ............................................................................. 82
RF1 ............................................................................. 82
RF2 ............................................................................. 82
RF3 ............................................................................. 82
RF4 ............................................................................. 82
RF5 ............................................................................. 82
RF6 ............................................................................. 82
RF7 ............................................................................. 82
PORTF Register ................................................................. 81
PORTG
Associated Registers .................................................. 86
Pin Descriptions and Diagrams................................... 85
Registers..................................................................... 84
RG0............................................................................. 85
RG1............................................................................. 85
RG2............................................................................. 85
RG3............................................................................. 85
RG4............................................................................. 85
RG5............................................................................. 85
PORTG Register................................................................. 84
Power-Down Mode (Sleep) ............................................... 236
Power-on Reset ................................................................ 222
Power-up Timer (PWRT) .................................................. 222
Specifications............................................................ 269
Precision Internal Oscillator Parameters........................... 267
Prescaler
Shared WDT/Timer0 ................................................. 100
Switching Prescaler Assignment............................... 100
Product Identification System ........................................... 327
Program Memory ................................................................ 23
Map and Stack (PIC16F913/914) ............................... 23
Map and Stack (PIC16F916/917/946) ........................ 23
Paging......................................................................... 40
Programmable Low-Voltage Detect (PLVD) Module ........ 171
PLVD Operation........................................................ 171
Programming, Device Instructions .................................... 241
R
R/W bit .............................................................................. 194
RCREG ............................................................................. 128
RCSTA Register ............................................................... 131
Reader Response ............................................................. 326
Read-Modify-Write Operations ......................................... 241
Receive Overflow Indicator bit (SSPOV) .......................... 195
Registers
ADCON0 (ADC Control 0) ........................................ 180
ADCON1 (ADC Control 1) ........................................ 181
ADRESH (ADC Result High) with ADFM = 0)........... 182
ADRESH (ADC Result High) with ADFM = 1)........... 182
ADRESL (ADC Result Low) with ADFM = 0) ............ 182
ADRESL (ADC Result Low) with ADFM = 1) ............ 182
ANSEL (Analog Select)............................................... 43
CCPxCON (CCP Operation)..................................... 212
CMCON0 (Comparator Control 0) ............................ 116
CMCON1 (Comparator Control 1) ............................ 117
CONFIG1 (Configuration Word Register 1) .............. 220
EEADRH (EEPROM Address High Byte) ................. 188
EEADRL (EEPROM Address Low Byte)................... 188
EECON1 (EEPROM Control 1)................................. 189
EEDATH (EEPROM Data High Byte) ....................... 188
EEDATL (EEPROM Data Low Byte)......................... 188
INTCON (Interrupt Control)......................................... 34
IOCB (PORTB Interrupt-on-change)........................... 54
LCDCON (LCD Control)............................................ 145
LCDDATAx (LCD Data) ............................................ 147
LCDPS (LCD Prescaler Select) ................................ 146
LCDSEn (LCD Segment Enable) ............................. 147
LVDCON (Low-Voltage Detect Control) ................... 173
OPTION_REG (OPTION) ................................... 33, 101
OSCCON (Oscillator Control)..................................... 88
OSCTUNE (Oscillator Tuning).................................... 92
PCON (Power Control Register)................................. 39
PCON (Power Control) ............................................. 224
PIE1 (Peripheral Interrupt Enable 1) .......................... 35
PIE2 (Peripheral Interrupt Enable 2) .......................... 36
PIR1 (Peripheral Interrupt Register 1) ........................ 37
PIR2 (Peripheral Interrupt Request 2) ........................ 38
PORTA ....................................................................... 44
PORTB ....................................................................... 54
PORTC ....................................................................... 62
PORTD ....................................................................... 71
PORTE ....................................................................... 76
PORTF ....................................................................... 81
PORTG....................................................................... 84
RCSTA (Receive Status and Control) ...................... 131
Reset Values ............................................................ 226
Reset Values (Special Registers) ............................. 229
Special Function Register Map
PIC16F913/916 .................................................. 25
PIC16F914/917 .................................................. 26
PIC16F946 ......................................................... 27
Special Register Summary
Bank 0 ................................................................ 28
Bank 1 ................................................................ 29
Bank 2 ................................................................ 30
Bank 3 ................................................................ 31
SSPCON (Sync Serial Port Control) Register .......... 195
SSPSTAT (Sync Serial Port Status) Register .......... 194
STATUS ..................................................................... 32
T1CON ..................................................................... 105
T2CON ..................................................................... 108
TRISA (Tri-State PORTA) .......................................... 44
TRISB (Tri-State PORTB) .......................................... 54
TRISC (Tri-State PORTC) .......................................... 62
TRISD (Tri-State PORTD) .......................................... 71
TRISE (Tri-State PORTE) .......................................... 76
TRISF (Tri-State PORTF)........................................... 81
TRISG (Tri-State PORTG).......................................... 84
TXSTA (Transmit Status and Control)...................... 130
VRCON (Voltage Reference Control)....................... 118
WDTCON (Watchdog Timer Control) ....................... 235
WPUB (Weak Pull-up PORTB)................................... 55
Reset ................................................................................ 221
Revision History................................................................ 315
S
S (Start) bit ....................................................................... 194
Slave Select Synchronization ........................................... 199
SMP bit ............................................................................. 194
Software Simulator (MPLAB SIM) .................................... 252
SPBRG ............................................................................. 132
Special Event Trigger ....................................................... 178
Special Function Registers................................................. 24
SPI Mode .................................................................. 193, 199
Associated Registers ................................................ 201
Bus Mode Compatibility............................................ 201
Effects of a Reset ..................................................... 201
Enabling SPI I/O....................................................... 197
Master Mode............................................................. 198
Master/Slave Connection ......................................... 197
Serial Clock (SCK pin).............................................. 193
Serial Data In (SDI pin)............................................. 193