English
Language : 

PIC16F676-I Datasheet, PDF (126/132 Pages) Microchip Technology – 14-Pin, Flash-Based 8-Bit CMOS Microcontrollers
PIC16F630/676
IORLW ........................................................................ 77
IORWF ........................................................................ 77
MOVF.......................................................................... 78
MOVLW ...................................................................... 78
MOVWF ...................................................................... 78
NOP ............................................................................ 78
RETFIE ....................................................................... 78
RETLW ....................................................................... 78
RETURN ..................................................................... 79
RLF ............................................................................. 79
RRF............................................................................. 79
SLEEP ........................................................................ 79
SUBLW ....................................................................... 79
SUBWF ....................................................................... 79
SWAPF ....................................................................... 80
XORLW ....................................................................... 80
XORWF....................................................................... 80
Summary Table........................................................... 74
Internal 4 MHz Oscillator..................................................... 58
Internal Sampling Switch (Rss) Impedance ........................ 49
Internet Address................................................................ 129
Interrupts ............................................................................. 65
A/D Converter ............................................................. 67
Comparator ................................................................. 67
Context Saving............................................................ 68
PORTA........................................................................ 67
RA2/INT ...................................................................... 67
Summary of Registers ................................................ 68
TMR0 .......................................................................... 67
M
MCLR .................................................................................. 60
Memory Organization
Data EEPROM Memory.............................................. 51
Microchip Internet Web Site .............................................. 129
Migrating from other PICmicro Devices ............................ 124
MPLAB ASM30 Assembler, Linker, Librarian ..................... 82
MPLAB Integrated Development Environment Software .... 81
MPLAB PM3 Device Programmer....................................... 84
MPLAB REAL ICE In-Circuit Emulator System................... 83
MPLINK Object Linker/MPLIB Object Librarian .................. 82
O
OPCODE Field Descriptions ............................................... 73
Oscillator Configurations ..................................................... 57
Oscillator Start-up Timer (OST) .......................................... 60
P
Packaging ......................................................................... 117
Details ....................................................................... 118
Marking ..................................................................... 117
PCL and PCLATH ............................................................... 19
Computed GOTO ........................................................ 19
Stack ........................................................................... 19
Pinout Descriptions
PIC16F630 .................................................................... 8
PIC16F676 .................................................................... 8
PORTA
Additional Pin Functions ............................................. 21
Interrupt-on-Change............................................ 22
Weak Pull-up....................................................... 21
Associated Registers .................................................. 27
Pin Descriptions and Diagrams................................... 24
PORTA and TRISIO Registers............................................ 21
PORTC................................................................................ 28
Associated Registers .................................................. 29
Power Control/Status Register (PCON) .............................. 61
Power-Down Mode (SLEEP)............................................... 70
DS40039F-page 126
Power-on Reset (POR)....................................................... 60
Power-up Timer (PWRT) .................................................... 60
Prescaler............................................................................. 33
Switching Prescaler Assignment ................................ 33
Program Memory Organization............................................. 9
Programming, Device Instructions...................................... 73
R
RC Oscillator....................................................................... 58
Reader Response............................................................. 130
READ-MODIFY-WRITE OPERATIONS ............................. 73
Registers
ADCON0 (A/D Control)............................................... 47
ADCON1..................................................................... 47
CMCON (Comparator Control) ................................... 39
CONFIG (Configuration Word) ................................... 56
EEADR (EEPROM Address) ...................................... 51
EECON1 (EEPROM Control) ..................................... 52
EEDAT (EEPROM Data) ............................................ 51
INTCON (Interrupt Control)......................................... 15
IOCA (Interrupt-on-Change PORTA).......................... 23
Maps
PIC16F630 ......................................................... 10
PIC16F676 ......................................................... 10
OPTION_REG (Option) ........................................ 14, 32
OSCCAL (Oscillator Calibration) ................................ 18
PCON (Power Control) ............................................... 18
PIE1 (Peripheral Interrupt Enable 1)........................... 16
PIR1 (Peripheral Interrupt 1)....................................... 17
PORTC ....................................................................... 29
STATUS ..................................................................... 13
T1CON (Timer1 Control) ............................................ 36
TRISC......................................................................... 29
VRCON (Voltage Reference Control) ......................... 44
WPUA (Weak Pull-up PORTA)................................... 22
RESET................................................................................ 59
Revision History................................................................ 123
S
Software Simulator (MPLAB SIM) ...................................... 83
Special Features of the CPU .............................................. 55
Special Function Registers ................................................. 10
T
Time-out Sequence ............................................................ 61
Timer0................................................................................. 31
Associated Registers .................................................. 33
External Clock............................................................. 32
Interrupt ...................................................................... 31
Operation .................................................................... 31
T0CKI ......................................................................... 32
Timer1
Associated Registers .................................................. 37
Asynchronous Counter Mode ..................................... 37
Reading and Writing ........................................... 37
Interrupt ...................................................................... 35
Modes of Operations .................................................. 35
Operation During SLEEP............................................ 37
Oscillator..................................................................... 37
Prescaler .................................................................... 35
Timer1 Module with Gate Control ....................................... 34
Timing Diagrams
CLKOUT and I/O ........................................................ 98
External Clock............................................................. 96
INT Pin Interrupt ......................................................... 67
PIC16F675 A/D Conversion (Normal Mode) ............ 104
PIC16F675 A/D Conversion Timing (Sleep Mode) ... 105
 2010 Microchip Technology Inc.