English
Language : 

PIC16F628-20P Datasheet, PDF (164/170 Pages) Microchip Technology – FLASH-Based 8-Bit CMOS Microcontroller
PIC16F62X
MOVLW..................................................................... 115
MOVWF .................................................................... 116
NOP .......................................................................... 116
OPTION .................................................................... 116
RETFIE ..................................................................... 116
RETLW...................................................................... 117
RETURN ................................................................... 117
RLF ........................................................................... 117
RRF........................................................................... 118
SLEEP ...................................................................... 118
SUBLW...................................................................... 118
SUBWF ..................................................................... 119
SWAPF ..................................................................... 119
TRIS .......................................................................... 119
XORLW ..................................................................... 120
XORWF..................................................................... 120
Instruction Set Summary................................................... 107
INT Interrupt ...................................................................... 102
INTCON Register ................................................................ 21
Interrupt Sources
Capture Complete (CCP) ............................................ 62
Compare Complete (CCP) .......................................... 63
TMR2 to PR2 Match (PWM) ....................................... 64
Interrupts ........................................................................... 101
Interrupts, Enable Bits
CCP1 Enable (CCP1IE Bit)......................................... 62
Interrupts, Flag Bits
CCP1 Flag (CCP1IF Bit) ............................................. 62
IORLW Instruction............................................................. 115
IORWF Instruction............................................................. 115
M
Memory Organization
Data EEPROM Memory .............................................. 87
MOVF Instruction .............................................................. 115
MOVLW Instruction ........................................................... 115
MOVWF Instruction........................................................... 116
MPLAB C17 and MPLAB C18 C Compilers...................... 122
MPLAB ICD In-Circuit Debugger....................................... 123
MPLAB ICE High Performance Universal In-Circuit Emulator
with MPLAB IDE................................................................ 123
MPLAB Integrated Development Environment Software .. 121
MPLINK Object Linker/MPLIB Object Librarian ................ 122
N
NOP Instruction................................................................. 116
O
OPTION Instruction........................................................... 116
OPTION Register ................................................................ 20
Oscillator Configurations ..................................................... 93
Oscillator Start-up Timer (OST) .......................................... 96
Output of TMR2................................................................... 50
P
Package Marking Information ........................................... 157
Packaging Information ...................................................... 157
PCL and PCLATH ............................................................... 25
PCON.................................................................................. 24
PCON Register ................................................................... 24
PICDEM 1 Low Cost PICmicro Demonstration Board ...... 124
PICDEM 17 Demonstration Board .................................... 124
PICDEM 2 Low Cost PIC16CXX Demonstration Board.... 124
PICSTART Plus Entry Level Development Programmer .. 123
PIE1 Register ...................................................................... 22
Pin Functions
RC6/TX/CK ........................................................... 67–84
RC7/RX/DT........................................................... 67–84
PIR1.................................................................................... 23
PIR1 Register ..................................................................... 23
Port RB Interrupt............................................................... 102
PORTA ............................................................................... 29
PORTB ............................................................................... 34
Power Control/Status Register (PCON).............................. 97
Power-Down Mode (SLEEP) ............................................ 104
Power-On Reset (POR) ...................................................... 96
Power-up Timer (PWRT) .................................................... 96
PR2 Register ...................................................................... 50
Prescaler............................................................................. 44
Prescaler, Capture.............................................................. 62
Prescaler, Timer2 ............................................................... 65
PRO MATE II Universal Device Programmer ................... 123
Program Memory Organization........................................... 13
PROTECTION .................................................................... 89
PWM (CCP Module) ........................................................... 64
Block Diagram ............................................................ 64
CCPR1H:CCPR1L Registers...................................... 64
Duty Cycle .................................................................. 65
Example Frequencies/Resolutions ............................. 65
Output Diagram .......................................................... 64
Period ......................................................................... 64
Set-Up for PWM Operation......................................... 65
TMR2 to PR2 Match ................................................... 64
Q
Q-Clock............................................................................... 65
Quick-Turnaround-Production (QTP) Devices...................... 5
R
RC Oscillator....................................................................... 94
Registers
Maps
PIC16C76 ........................................................... 14
PIC16C77 ........................................................... 14
Reset .................................................................................. 95
RETFIE Instruction ........................................................... 116
RETLW Instruction............................................................ 117
RETURN Instruction ......................................................... 117
RLF Instruction ................................................................. 117
RRF Instruction................................................................. 118
S
Serial Communication Interface (SCI) Module, See USART
Serialized Quick-Turnaround-Production (SQTP) Devices... 5
SLEEP Instruction............................................................. 118
Software Simulator (MPLAB SIM) .................................... 122
Special ................................................................................ 95
Special Event Trigger. See Compare
Special Features of the CPU .............................................. 91
Special Function Registers ................................................. 15
Stack................................................................................... 25
Status Register ................................................................... 19
SUBLW Instruction ........................................................... 118
SUBWF Instruction ........................................................... 119
SWAPF Instruction ........................................................... 119
T
T1CKPS0 bit ....................................................................... 46
T1CKPS1 bit ....................................................................... 46
T1OSCEN bit ...................................................................... 46
DS40300C-page 162
Preliminary
 2003 Microchip Technology Inc.