PIC16F946
DS41265A-page 264 Preliminary © 2005 Microchip Technology Inc.
Pagin g , Pr o gram Memory....... ....................... .....................25
PCL and PCLATH...............................................................25
Computed GOTO........................................................25
Stack...........................................................................25
PCON Register .................................................................196
PICkit 1 Flash Starter Kit...................................................227
PICSTART Plus Developm ent Programm er .....................226
PIE1 Register......................................................................20
PIE2 Register......................................................................21
Pin Diagram
PIC16F946, 64-Pin .......................................................2
Pinout Description.............. ....... .... .. .... .. ......... .. .... .. .... ....... ....7
PIR1 Regi ster................. ................... ................... ...............22
PIR2 Regi ster................. ................... ................... ...............23
PORTA
Associ a te d Re g i sters......................... .................. .......36
Pin Descriptions and Diagrams...................................29
RA0.............................................................................29
RA1.............................................................................30
RA2.............................................................................31
RA3.............................................................................32
RA4.............................................................................33
RA5.............................................................................34
RA6.............................................................................35
RA7.............................................................................36
Registers.....................................................................27
Specifications............................................................241
PORTA Register .................................................................28
PORTB
Additional Pin Functions .............................................37
Weak Pull-up.......................................................37
Associ a te d Re g i st e rs........ .............. ................... .........46
Interrupt-on-change ....................................................37
Pin Descriptions and Diagrams...................................40
RB0.............................................................................40
RB1.............................................................................40
RB2.............................................................................40
RB3.............................................................................40
RB4.............................................................................42
RB5.............................................................................43
RB6.............................................................................44
RB7.............................................................................45
Registers.....................................................................37
PORTB Register .................................................................38
PORTC
Associ a te d Re g i sters......................... .................. .......55
Pin Descriptions and Diagrams...................................48
RC0.............................................................................48
RC1.............................................................................48
RC2.............................................................................48
RC3.............................................................................50
RC4.............................................................................51
RC5.............................................................................52
RC6.............................................................................53
RC6/TX/ CK/SCK/SCL/SEG9 Pin................... ...........134
RC7.............................................................................54
RC7/RX/DT Pin.........................................................135
RC7/RX/DT/SDI/SDA/ SEG8 Pin........ .............. .........134
Registers.....................................................................47
Specifications............................................................241
TRISC Register............... ................... .............. .........133
PORTC Register.................................................................47
PORTD
Associ a te d Re g i sters......................... .................. .......60
Pin Descriptions and Diagrams...................................57
RD0 ............................................................................ 57
RD1 ............................................................................ 57
RD2 ............................................................................ 57
RD3 ............................................................................ 57
RD4 ............................................................................ 57
RD5 ............................................................................ 57
RD6 ............................................................................ 57
RD7 ............................................................................ 57
Registers .................................................................... 56
PORTD Register.................................................................56
PORTE
Associ a te d Re g i sters...... ............... ....................... ...... 64
Pin Descriptions and Diagrams .................................. 62
RE0............................................................................. 62
RE1............................................................................. 62
RE2............................................................................. 62
RE3............................................................................. 62
RE4............................................................................. 62
RE5............................................................................. 62
RE6............................................................................. 62
RE7............................................................................. 62
Registers .................................................................... 61
PORTE Register................................................................. 61
PORTF
Associ a te d Re g i sters...... ............... ....................... ...... 67
Pin Descriptions and Diagrams .................................. 66
Registers .................................................................... 65
RF0............................................................................. 66
RF1............................................................................. 66
RF2............................................................................. 66
RF3............................................................................. 66
RF4............................................................................. 66
RF5............................................................................. 66
RF6............................................................................. 66
RF7............................................................................. 66
PORTF Regist e r........... .................. ................... ................. 65
PORTG
Associ a te d Re g i sters...... ............... ....................... ...... 70
Pin Descriptions and Diagrams .................................. 69
Registers .................................................................... 68
RG0 ............................................................................ 69
RG1 ............................................................................ 69
RG2 ............................................................................ 69
RG3 ............................................................................ 69
RG4 ............................................................................ 69
RG5 ............................................................................ 69
PORTG Regist e r........ ................... ............... ................... .... 68
Power-Down Mode (Sleep)............................................... 208
Power-on Reset................................................................ 194
Power-up Timer (PWRT).................................................. 194
Specifications ........................................................... 243
Precision In ternal Os cillator Parameters ....... ........... ........ 240
Prescaler
Shared WDT/Timer0............. ............... ................... .... 85
Swit ch i n g Pr escal e r As si g n ment ...... .. ...... ..... .. ...... .. ... 8 5
PRO MATE II Univer sal Device Progr a mme r............... .... 225
Product Identification System........................................... 271
Program Memory................................................................ 11
Map and Stack (PIC16F946)...................................... 11
Paging ........................................................................ 25
Programmable Low-Voltage Detect (PLVD) Module ........ 131
Programming, Device Instructions.................................... 213
Pulse-Width Modulation.See Capture/Compare/PWM, PWM
Mode.