PIC16F630/676
INCFSZ.......................................................................75
IORLW ........................................................................75
IORWF........................................................................75
MOVF..........................................................................76
MOVLW ......................................................................76
MOVWF ......................................................................76
NOP ............................................................................76
RETFIE .......................................................................76
RETLW .......................................................................76
RETURN.....................................................................77
RLF .............................................................................77
RRF.............................................................................77
SLEEP ........................................................................77
SUBLW .......................................................................77
SUBWF.......................................................................77
SWAPF .......................................................................78
XORLW.......................................................................78
XORWF.......................................................................78
Summary Table...........................................................72
Internal 4 MHz Oscillator.....................................................56
Internal Sampling Switch (Rss) Impedance ........................47
Internet Address................................................................125
Interrupts.............................................................................63
A/D Converter .............................................................65
Comparator.................................................................65
Context Saving............................................................66
PORTA........................................................................65
RA2/INT ......................................................................65
Summary of Registers ................................................66
TMR0 ..........................................................................65
Pin Descriptions and Diagrams .................................. 22
PORTA and TRISIO Registers ........................................... 19
PORTC ............................................................................... 26
Associated Registers.................................................. 27
Power Control/Status Register (PCON).............................. 59
Power-Down Mode (SLEEP) .............................................. 68
Power-on Reset (POR)....................................................... 58
Power-up Timer (PWRT) .................................................... 58
Prescaler............................................................................. 31
Switching Prescaler Assignment ................................ 31
Program Memory Organization............................................. 7
Programming, Device Instructions...................................... 71
R
RC Oscillator....................................................................... 56
Reader Response............................................................. 126
READ-MODIFY-WRITE OPERATIONS ............................. 71
Registers
ADCON0 (A/D Control)............................................... 45
ADCON1..................................................................... 45
CMCON (Comparator Control) ................................... 37
CONFIG (Configuration Word) ................................... 54
EEADR (EEPROM Address) ...................................... 49
EECON1 (EEPROM Control) ..................................... 50
EEDAT (EEPROM Data)............................................ 49
INTCON (Interrupt Control)......................................... 13
IOCA (Interrupt-on-Change PORTA).......................... 21
Maps
PIC16F630 ........................................................... 8
PIC16F676 ........................................................... 8
OPTION_REG (Option)........................................ 12, 30
OSCCAL (Oscillator Calibration) ................................ 16
PCON (Power Control) ............................................... 16
PIE1 (Peripheral Interrupt Enable 1)........................... 14
PIR1 (Peripheral Interrupt 1)....................................... 15
PORTC....................................................................... 27
STATUS ..................................................................... 11
T1CON (Timer1 Control) ............................................ 34
TRISC......................................................................... 27
VRCON (Voltage Reference Control)......................... 42
WPUA (Weak Pull-up PORTA)................................... 20
RESET................................................................................ 57
Revision History................................................................ 119
M
MCLR..................................................................................58
Memory Organization
Data EEPROM Memory..............................................49
Microchip Internet Web Site..............................................125
Migrating from other PICmicro Devices ............................120
MPLAB ASM30 Assembler, Linker, Librarian .....................80
MPLAB ICD 2 In-Circuit Debugger......................................81
MPLAB ICE 2000 High-Performance Universal
In-Circuit Emulator .............................................................81
MPLAB ICE 4000 High-Performance Universal
In-Circuit Emulator .............................................................81
MPLAB Integrated Development Environment Software ....79
MPLAB PM3 Device Programmer.......................................81
MPLINK Object Linker/MPLIB Object Librarian ..................80
S
Software Simulator (MPLAB SIM) ...................................... 80
Special Features of the CPU .............................................. 53
Special Function Registers................................................... 8
O
OPCODE Field Descriptions...............................................71
Oscillator Configurations.....................................................55
Oscillator Start-up Timer (OST) ..........................................58
T
Time-out Sequence ............................................................ 59
Timer0................................................................................. 29
Associated Registers.................................................. 31
External Clock............................................................. 30
Interrupt ...................................................................... 29
Operation.................................................................... 29
T0CKI ......................................................................... 30
Timer1
Associated Registers.................................................. 35
Asynchronous Counter Mode..................................... 35
Reading and Writing........................................... 35
Interrupt ...................................................................... 33
Modes of Operations .................................................. 33
Operation During SLEEP............................................ 35
Oscillator..................................................................... 35
Prescaler .................................................................... 33
Timer1 Module with Gate Control....................................... 32
Timing Diagrams
P
Packaging .........................................................................115
Details.......................................................................116
Marking .....................................................................115
PCL and PCLATH...............................................................17
Computed GOTO........................................................17
Stack...........................................................................17
PICSTART Plus Development Programmer .......................82
Pinout Descriptions
PIC16F630....................................................................6
PIC16F676....................................................................6
PORTA
Additional Pin Functions .............................................19
Interrupt-on-Change............................................20
Weak Pull-up.......................................................19
Associated Registers ..................................................25
DS40039E-page 122
© 2007 Microchip Technology Inc.