PIC16F917/916/914/913
DS41250E-page 262 Preliminary © 2005 Microchip Technology Inc.
Pinout Description.......................................... .. .... .. .... .. .......10
PIR1 Regi ster................. ................... ................... ...............26
PIR2 Regi ster................. ................... ................... ...............27
PORTA
Associ a te d Re g i sters......................... .................. .......40
Pin Descriptions and Diagrams...................................33
RA0.............................................................................33
RA1.............................................................................34
RA2.............................................................................35
RA3.............................................................................36
RA4.............................................................................37
RA5.............................................................................38
RA6.............................................................................39
RA7.............................................................................40
Registers.....................................................................31
Specifications............................................................231
PORTA Register .................................................................32
PORTB
Additional Pin Functions .............................................41
Weak Pull-up.......................................................41
Associ a te d Re g i st e rs........ .............. ................... .........50
Interrupt-on-change ....................................................41
Pin Descriptions and Diagrams...................................44
RB0.............................................................................44
RB1.............................................................................44
RB2.............................................................................44
RB3.............................................................................44
RB4.............................................................................46
RB5.............................................................................47
RB6.............................................................................48
RB7.............................................................................49
Registers.....................................................................41
PORTB Register .................................................................42
PORTC
Associ a te d Re g i sters......................... .................. .......59
Pin Descriptions and Diagrams...................................52
RC0.............................................................................52
RC1.............................................................................52
RC2.............................................................................52
RC3.............................................................................54
RC4.............................................................................55
RC5.............................................................................56
RC6.............................................................................57
RC6/TX/ CK/SCK/SCL/SEG9 Pin................... ...........128
RC7.............................................................................58
RC7/RX/DT Pin.........................................................129
RC7/RX/DT/SDI/SDA/ SEG8 Pin........ .............. .........128
Registers.....................................................................51
Specifications............................................................231
TRISC Register............... ................... .............. .........127
PORTC Register.................................................................51
PORTD
Associ a te d Re g i sters......................... .................. .......64
Pin Descriptions and Diagrams...................................61
RD0.............................................................................61
RD1.............................................................................61
RD2.............................................................................61
RD3.............................................................................61
RD4.............................................................................61
RD5.............................................................................61
RD6.............................................................................61
RD7.............................................................................61
Registers.....................................................................60
PORTD Register.................................................................60
PORTE
Associ a te d Re g i sters...... ............... ....................... ...... 67
Pin Descriptions and Diagrams .................................. 66
RE0............................................................................. 66
RE1............................................................................. 66
RE2............................................................................. 66
RE3............................................................................. 66
Registers .................................................................... 65
PORTE Register................................................................. 65
Power-Down Mode (Sleep)............................................... 201
Power-on Reset................................................................ 188
Power-up Timer (PWRT).................................................. 188
Specifications ........................................................... 233
Precision In ternal Os cillator Parameters ....... ........... ........ 230
Prescaler
Shared WDT/Timer0............. ............... ................... .... 83
Swit ch i n g Pr escal e r As si g n ment ...... .. ...... ..... .. ...... .. ... 8 3
Product Identification System........................................... 269
Program Memory................................................................ 13
Map and Stack (PIC16F913/914)............................... 13
Map and Stack (PIC16F916/917)............................... 13
Paging ........................................................................ 29
Programmable Low-Voltage Detect (PLVD) Module ........ 125
Programming, Device Instructions.................................... 205
Pulse Width Modulation.SeeCapture/Compare/PWM, PWM
Mode.
R
R/W bit..............................................................................160
RCSTA Register
ADDEN Bit................................................................ 128
CREN Bit....... ................... ................... ................... ..128
FERR Bit................................................................... 128
OERR Bit.................................................................. 128
RX9 Bit ..................................................................... 128
RX9D Bit........................... ................... ..................... 128
SPEN Bit. .......................................................... 127, 128
SREN Bit .................... ....................... ................... .... 128
Reader Response............................................................. 268
Read-Modify-Write Operations ......................................... 205
Receive Overflow Indicator bi t (S S POV )....... ............... .... 161
Registers
ADCON0 (A/D Contr o l 0 )........ ........... ............... ........ 146
ADCON1 (A/D Contr o l 1 )........ ........... ............... ........ 147
ANSEL (Analog Select)............................................ 146
CCP1CON (CCP Control 2)......................................178
CCP2CON (CCP Control 1)......................................178
CMCON 0 (Co mpa ra tor C o n tr ol 0) ...... .......... ..... ......... 93
CMCON 1 (Co mpa ra tor C o n tr ol 1) ...... .......... ..... ......... 97
CON FIG (C o n fi g u rati o n Wo rd) ....... ...... .. ...... ..... ...... . 186
EEADRH (EEPROM Addr e ss)....... .............. ............. 154
EEADRL (EEPROM Address)..................................154
EECON1 (EEPROM Control 1) ................................ 155
EEDATH (EEPROM Data)........................................ 154
EEDATL (EEPROM Data)........................................ 154
INTCON (Interrupt Control)......................................... 23
IOCB (PORTB Interrupt-on-change)........................... 42
LCDCON (LCD Control)........................................... 103
LCDDATAx (LCD Datax).......................................... 105
LCDPS (LCD Prescaler Select)................................ 104
LCDSEn (LCD Segment).......................................... 105
LVDCON (Low-Vol tage Detect Con tr o l)...... ........... .. 125
OPTION_REG...................................................... 22, 82
OSCCON (Oscillator Control)..................................... 70
OSCTUNE.................................................................. 76
PCON (Power Control)............................................. 190
PIE1 (Peripheral Interrupt Enable 1)........................... 24