English
Language : 

PIC16F627A_07 Datasheet, PDF (174/178 Pages) Microchip Technology – Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F627A/628A/648A
I
I/O Ports .............................................................................. 31
Bidirectional ................................................................ 44
Block Diagrams
RB0/INT Pin ........................................................ 36
RB1/RX/DT Pin ................................................... 37
RB2/TX/CK Pin ................................................... 37
RB3/CCP1 Pin .................................................... 38
RB4/PGM Pin...................................................... 39
RB5 Pin............................................................... 40
RB6/T1OSO/T1CKI Pin ...................................... 41
RB7/T1OSI Pin ................................................... 42
PORTA........................................................................ 31
PORTB........................................................................ 36
Programming Considerations ..................................... 44
Successive Operations ............................................... 44
TRISA ......................................................................... 31
TRISB ......................................................................... 36
ID Locations ...................................................................... 111
INCF Instruction ................................................................ 122
INCFSZ Instruction............................................................ 122
In-Circuit Serial Programming™ ....................................... 112
Indirect Addressing, INDF and FSR Registers.................... 28
Instruction Flow/Pipelining .................................................. 13
Instruction Set
ADDLW ..................................................................... 117
ADDWF ..................................................................... 117
ANDLW ..................................................................... 117
ANDWF ..................................................................... 117
BCF ........................................................................... 118
BSF ........................................................................... 118
BTFSC ...................................................................... 118
BTFSS ...................................................................... 119
CALL ......................................................................... 119
CLRF......................................................................... 119
CLRW ....................................................................... 120
CLRWDT................................................................... 120
COMF ....................................................................... 120
DECF ........................................................................ 120
DECFSZ.................................................................... 121
GOTO ....................................................................... 121
INCF.......................................................................... 122
INCFSZ ..................................................................... 122
IORLW ...................................................................... 123
IORWF ...................................................................... 123
MOVF........................................................................ 123
MOVLW .................................................................... 123
MOVWF .................................................................... 124
NOP .......................................................................... 124
OPTION .................................................................... 124
RETFIE ..................................................................... 124
RETLW ..................................................................... 125
RETURN ................................................................... 125
RLF ........................................................................... 125
RRF........................................................................... 126
SLEEP ...................................................................... 126
SUBLW ..................................................................... 126
SUBWF ..................................................................... 127
SWAPF ..................................................................... 127
TRIS .......................................................................... 127
XORLW ..................................................................... 128
XORWF..................................................................... 128
Instruction Set Summary................................................... 115
INT Interrupt ...................................................................... 108
INTCON Register ................................................................ 24
Internet Address ............................................................... 169
Interrupt Sources
Capture Complete (CCP)............................................ 56
Compare Complete (CCP).......................................... 57
TMR2 to PR2 Match (PWM) ....................................... 58
Interrupts........................................................................... 107
Interrupts, Enable Bits
CCP1 Enable (CCP1IE Bit) ........................................ 56
Interrupts, Flag Bits
CCP1 Flag (CCP1IF Bit)............................................. 56
IORLW Instruction ............................................................ 123
IORWF Instruction ............................................................ 123
M
Memory Organization
Data EEPROM Memory.................................. 89, 91, 93
Microchip Internet Web Site.............................................. 169
Migrating from other PIC Devices..................................... 168
MOVF Instruction.............................................................. 123
MOVLW Instruction........................................................... 123
MOVWF Instruction .......................................................... 124
MPLAB ASM30 Assembler, Linker, Librarian ................... 130
MPLAB ICD 2 In-Circuit Debugger ................................... 131
MPLAB ICE 2000 High-Performance Universal
In-Circuit Emulator ................................................... 131
MPLAB ICE 4000 High-Performance Universal
In-Circuit Emulator ................................................... 131
MPLAB Integrated Development Environment Software.. 129
MPLAB PM3 Device Programmer .................................... 131
MPLINK Object Linker/MPLIB Object Librarian ................ 130
N
NOP Instruction ................................................................ 124
O
OPTION Instruction .......................................................... 124
OPTION Register................................................................ 23
OPTION_REG Register...................................................... 23
Oscillator Configurations..................................................... 97
Oscillator Start-up Timer (OST) ........................................ 101
P
Package Marking Information ........................................... 161
Packaging Information ...................................................... 161
PCL and PCLATH............................................................... 28
Stack........................................................................... 28
PCON Register ................................................................... 27
PICSTART Plus Development Programmer..................... 132
PIE1 Register...................................................................... 25
Pin Functions
RC6/TX/CK ........................................................... 71–87
RC7/RX/DT........................................................... 71–87
PIR1 Register ..................................................................... 26
PORTA ............................................................................... 31
PORTB ............................................................................... 36
PORTB Interrupt ............................................................... 108
Power Control/Status Register (PCON)............................ 102
Power-Down Mode (Sleep)............................................... 110
Power-On Reset (POR) .................................................... 101
Power-up Timer (PWRT) .................................................. 101
PR2 Register ................................................................ 52, 58
Program Memory Organization........................................... 15
PWM (CCP Module) ........................................................... 58
Block Diagram ............................................................ 58
Simplified PWM .................................................. 58
CCPR1H:CCPR1L Registers...................................... 58
DS40044F-page 172
© 2007 Microchip Technology Inc.