1999-2013 Microchip Technology Inc. DS41120C-page 211
PIC16C717/770/771
TMR2 to PR2 Match Enable (TMR2IE Bit) .................17
USART Receive Enable (RCIE Bit) . .... .. .... ......... ..17, 18
Interrupts, Flag Bits
CCP1 Flag (CCP1IF Bit).............................................54
Interrupt on Change (RB7:RB4) Flag
(RBIF Bit)..................................................16, 33, 128
RB0/INT Flag (INTF Bit)..............................................16
TMR0 Overflow Flag (T0IF Bit)...........................16, 128
INTRC Mode.....................................................................120
K
KEELOQ Evaluation and Programming Tools....................144
L
LVDCON...........................................................................101
M
Master Clear (MCLR)
MCLR Reset, Normal Operation...............121, 123, 124
MCLR Reset, SLEEP................................121, 123, 124
Memory Organization
Data Memor y .............. ............................. ......... ............9
Program Memory..........................................................9
MPLAB C17 and MPLAB C18 C Compilers......................141
MPLAB ICD In-Circuit Debugger ......................................143
MPLAB ICE High Performance Universal In-Circuit
Emulator with MPLAB IDE............................................142
MPLAB Integrated Development Environment Software..141
MPLINK Object Linker/MPLIB Object Librarian................142
Multi-Master Communication..............................................94
Multi-Master Mode ..............................................................84
O
OPCODE Fiel d Descr ip tions. ........ ......... ........ ...................133
OPTION_R EG Re g i ster.... ............................. ......... ............15
INTEDG Bi t........ ............... ......... .............. ...................15
PS Bits......... .............................. .............. .............15, 45
PSA Bit..................................................................15, 45
RBPU Bit....................... ............................. ......... ........15
T0CS Bit................................................................15, 45
T0SE Bit................................................................15, 45
Oscillator Configuration.....................................................119
CLKOUT ...................................................................120
Dual Speed Operation for ER and
INTRC Modes.......................................................120
EC.....................................................................119, 123
ER.....................................................................119, 123
ER Mode...................................................................120
HS.....................................................................119, 123
INTRC...............................................................119, 123
LP.... ..................................................................119, 123
XT .....................................................................119, 123
Oscillato r, Ti mer1............................... ................ ......... ..47, 49
Oscillat o r, WDT..................... ........ ......... ........ ...................129
P
P..........................................................................................66
Packaging .........................................................................197
Pagin g , Program Memory........... ............... ............... ......9, 22
Parallel Slave Port (PSP)
Read/Write Enable (PSPIE Bit)...................................17
PCL Register .................................................................11, 12
PCLATH Register ...................................................1 1, 12, 13
PCON Register...........................................................21, 123
PICDEM 1 Low Cost PIC MCU
Demonstration Board....................................................143
PICDEM 17 Demonstr a tion Board............................ ........144
PICDEM 2 Low Cost PIC16CXX
Demonstration Board....................................................143
PICDEM 3 Low Cost PIC16CXXX
Demons t r a ti o n Bo a r d. ...... ..... .. ...... ...... ...... ..... .. ...... ...... . 14 4
PICSTA R T Plus En try Level
Development Programmer............................................ 143
PIE1 Register ..................................................................... 17
ADIE Bit...................................................................... 17
CCP1IE Bit ......... ............... .............. ............... ............ 17
PSPIE Bit.................................................................... 17
RCIE Bit................................................................ 17, 18
SSPIE Bit.................................................................... 17
TMR1IE Bit................................................................. 17
TMR2IE Bit................................................................. 17
PIE2 Register ..................................................................... 19
Pinout Descriptions
PIC16C770................................................................... 7
PIC16C770/771............................................................ 7
PIC16C771................................................................... 7
PIR1 Register ..................................................................... 18
PIR2 Register ..................................................................... 20
Pointer, FSR....................................................................... 23
POR. See Power-on Reset
PORTA ............................................................................... 13
Initialization................................................................. 26
PORT A R e g i s t e r...... ...... .. ..... ...... .. ...... .. ..... ...... ...... .. ... 25
TRISA Reg i s ter........ .. ...... ..... ...... ...... .. ..... ...... ...... ...... . 25
PORTA Register......................................................... 11, 116
PORTB ............................................................................... 13
Initialization................................................................. 33
PORT B R e g i s t e r...... ...... .. ..... ...... .. ...... .. ..... ...... ...... .. ... 33
Pull-up Enable (RBPU Bit).... .. ...... .. ...... ..... .. ...... ...... .. . 15
RB0/INT Edge Select (INTEDG Bit) . .......................... 15
RB0/ INT Pin , E xtern a l ..... . ...... .. ...... ...... ..... .. ...... ...... . 128
RB7:RB4 Interrupt on Change.......................... .... .... 128
RB7:RB4 Interrupt on Change Enable
(RBIE Bit).... .............. ............................ .......... 16, 128
RB7:RB4 Interrupt on Change Flag
(RBIF Bit).................................................. 16, 33, 128
TRISB Reg i s ter........ .. ...... ..... ...... ...... .. ..... ...... ...... ...... . 33
PORTB Register......................................................... 11, 116
Postscaler, Timer2
Select (TOUTPS Bits) ................................................. 51
Postscaler, WDT................................................................. 45
Assignment (PSA Bit)........................................... 15, 45
Block Diag ram...... ............... ........ ........ ............... ........ 46
Rate Select (PS Bits )..................... ............... ........ 15, 45
Switching Between Timer0 and WDT....................... .. 46
Power-down Mode. See SLEEP
Power-on Reset (POR)..................... 117, 121, 122, 123, 124
Oscillator Start-up Timer (OST)........................ 117, 122
Power Cont r o l (P C O N ) Re g i s t e r..... .. ..... .. ...... ...... ..... 123
Power-down (PD Bit).................................................. 14
Power-on R e se t Circuit, Extern al ..... .. ..... ...... ...... ..... 122
Power-up Ti mer (P W R T)........ .. ...... ...... ..... .. ..... 117, 1 22
Time-out (T O Bit)........................................................ 14
Time-out Sequence .................................................. 123
Time-out Sequence on Power-up................. .... 125, 126
PR2 Register ...................................................................... 12
Prescaler, Capture.............................................................. 54
Prescaler, Timer0 ............................................................... 45
Assignment (PSA Bit)........................................... 15, 45
Block Diag ram...... ............... ........ ........ ............... ........ 46
Rate Select (PS Bits )..................... ............... ........ 15, 45
Switching Between Timer0 and WDT....................... .. 46
Prescaler, Timer1 ............................................................... 48
Select (T1 C KPS Bits).... .. . ...... .. ...... ...... . ...... .. .. ...... .. .. . 47