PIC12C671-04I/P Microchip Technology Inc., PIC12C671-04I/P Datasheet - Page 122
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC12C671-04I/P
Manufacturer Part Number
PIC12C671-04I/P
Description
8 PIN, 1.75 KB OTP, 128 RAM, 6 I/O
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC12C671-04IP.pdf
(129 pages)
Specifications of PIC12C671-04I/P
A/d Inputs
4-Channel, 8-Bit
Cpu Speed
2.5 MIPS
Eeprom Memory
0 Bytes
Input Output
5
Memory Type
OTP
Number Of Bits
8
Package Type
8-pin PDIP
Programmable Memory
1.75K Bytes
Ram Size
128 Bytes
Speed
4 MHz
Timers
1-8-bit
Voltage, Range
2.5-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
Electrostatic Device
PIC12C67X
I
I/O Interfacing...................................................................... 25
I/O Ports .............................................................................. 25
I/O Programming Considerations........................................ 31
ID Locations ........................................................................ 53
INCF Instruction .................................................................. 76
INCFSZ Instruction.............................................................. 76
In-Circuit Serial Programming ....................................... 53, 67
INDF Register ............................................................... 14, 23
Indirect Addressing ............................................................. 23
Initialization Conditions for All Registers ............................. 59
Instruction Cycle.................................................................. 10
Instruction Flow/Pipelining .................................................. 10
Instruction Format ............................................................... 69
Instruction Set
INTCON Register ................................................................ 17
INTEDG bit.......................................................................... 16
Internal Sampling Switch (Rss) Impedence ........................ 48
Interrupts ............................................................................. 53
IORLW Instruction............................................................... 76
IORWF Instruction............................................................... 77
IRP bit ................................................................................. 15
DS30561B-page 122
ADDLW ....................................................................... 72
ADDWF ....................................................................... 72
ANDLW ....................................................................... 72
ANDWF ....................................................................... 72
BCF ............................................................................. 73
BSF ............................................................................. 73
BTFSC ........................................................................ 73
BTFSS ........................................................................ 74
CALL ........................................................................... 74
CLRF........................................................................... 74
CLRW ......................................................................... 74
CLRWDT..................................................................... 75
COMF ......................................................................... 75
DECF .......................................................................... 75
DECFSZ...................................................................... 75
GOTO ......................................................................... 76
INCF............................................................................ 76
INCFSZ ....................................................................... 76
IORLW ........................................................................ 76
IORWF ........................................................................ 77
MOVF.......................................................................... 77
MOVLW ...................................................................... 77
MOVWF ...................................................................... 77
NOP ............................................................................ 78
OPTION ...................................................................... 78
RETFIE ....................................................................... 78
RETLW ....................................................................... 78
RETURN ..................................................................... 79
RLF ............................................................................. 79
RRF............................................................................. 79
SLEEP ........................................................................ 79
SUBLW ....................................................................... 80
SUBWF ....................................................................... 80
SWAPF ....................................................................... 81
TRIS ............................................................................ 81
XORLW ....................................................................... 81
XORWF....................................................................... 81
Section ........................................................................ 69
A/D .............................................................................. 62
GP2/INT ...................................................................... 62
GPIO Port ................................................................... 62
Section ........................................................................ 62
TMR0 .......................................................................... 64
TMR0 Overflow ........................................................... 62
K
KeeLoq
L
Loading of PC ..................................................................... 22
M
MCLR............................................................................ 56, 59
Memory
MOVF Instruction................................................................ 77
MOVLW Instruction............................................................. 77
MOVWF Instruction ............................................................ 77
MPLAB Integrated Development Environment Software.... 83
N
NOP Instruction .................................................................. 78
O
Opcode ............................................................................... 69
OPTION Instruction ............................................................ 78
OPTION Register................................................................ 16
Orthogonal ............................................................................ 7
OSC selection..................................................................... 53
OSCCAL Register............................................................... 21
Oscillator
Oscillator Configurations..................................................... 54
Oscillator Types
P
Package Marking Information ........................................... 115
Packaging Information ...................................................... 115
Paging, Program Memory................................................... 22
PCL..................................................................................... 70
PCL Register .......................................................... 13, 14, 22
PCLATH.............................................................................. 59
PCLATH Register ................................................... 13, 14, 22
PCON Register ............................................................. 20, 58
PD bit ............................................................................ 15, 56
PICDEM-1 Low-Cost PICmicro Demo Board ..................... 85
PICDEM-2 Low-Cost PIC16CXX Demo Board ................... 85
PICDEM-3 Low-Cost PIC16CXXX Demo Board ................ 85
PICSTART
PIE1 Register...................................................................... 18
Pinout Description - PIC12CE67X ........................................ 9
PIR1 Register ..................................................................... 19
POP .................................................................................... 22
POR .................................................................................... 58
Power.................................................................................. 56
Data Memory .............................................................. 11
Program Memory ........................................................ 11
Register File Map - PIC12CE67X ............................... 12
EXTRC ....................................................................... 58
HS............................................................................... 58
INTRC......................................................................... 58
LP ............................................................................... 58
XT ............................................................................... 58
EXTRC ....................................................................... 54
HS............................................................................... 54
INTRC......................................................................... 54
LP ............................................................................... 54
XT ............................................................................... 54
Oscillator Start-up Timer (OST) ............................ 53, 58
Power Control Register (PCON)................................. 58
Power-on Reset (POR)................................... 53, 58, 59
Power-up Timer (PWRT) ...................................... 53, 58
Power-Up-Timer (PWRT) ........................................... 58
Time-out Sequence .................................................... 58
Time-out Sequence on Power-up ............................... 60
TO............................................................................... 56
Evaluation and Programming Tools ................... 86
Plus Entry Level Development System ......... 85
1999 Microchip Technology Inc.