English
Language : 

PIC16F872_06 Datasheet, PDF (160/168 Pages) Microchip Technology – 28-Pin, 8-Bit CMOS Flash Microcontroller with 10-Bit A/D
PIC16F872
, Code Protection ........................................................ 87 101
Compare Mode
CCP Pin Configuration ............................................... 47
Timer1 Mode Selection .............................................. 47
Computed GOTO ............................................................... 20
Configuration Bits .............................................................. 87
Configuration Word ............................................................ 88
Conversion Considerations .............................................. 155
D
D/A Bit ................................................................................ 52
Data EEPROM ................................................................... 23
Associated Registers ................................................. 28
Code Protection ......................................................... 28
Reading ..................................................................... 25
Special Functions Registers ...................................... 23
Spurious Write Protection .......................................... 27
Write Verify ................................................................ 27
Writing to .................................................................... 25
Data Memory ....................................................................... 7
Bank Select (RP1:RP0 Bits) ........................................ 7
General Purpose Register File .................................... 7
Register File Map ......................................................... 8
Special Function Registers .......................................... 9
Data/Address Bit (D/A) ...................................................... 52
DC and AC Characteristics Graphs and Tables .............. 139
DC Characteristics
Commercial and Industrial ............................... 119–122
Extended ............................................................ 123–52
Development Support ...................................................... 111
Device Overview .................................................................. 3
Direct Addressing .............................................................. 21
E
EECON1 and EECON2 Registers ..................................... 23
EECON1 Register .............................................................. 11
EECON2 Register .............................................................. 11
Electrical Characteristics ................................................. 117
Equations
A/D
Calculating Acquisition Time ............................. 82
Errata ................................................................................... 2
External Clock Timing Requirements .............................. 127
F
Firmware Instructions ...................................................... 103
FLASH Program Memory .................................................. 23
Associated Registers ................................................. 28
Code Protection ......................................................... 28
Configuration Bits and Read/Write State ................... 28
Reading ..................................................................... 26
Special Function Registers ........................................ 23
Spurious Write Protection .......................................... 27
Write Protection ......................................................... 28
Write Verify ................................................................ 27
Writing to .................................................................... 26
, FSR Register ................................................................ 9 21
G
GCEN Bit
General Call Enable Bit (GCEN) ................................ 54
General Call Address Support ........................................... 61
DS30221C-page 158
I
I/O Ports ............................................................................ 29
I2C Bus
Connection Considerations ....................................... 78
Sample Device Configuration .................................... 78
I2C Mode
Acknowledge Sequence Timing ................................ 71
Addressing ................................................................ 59
Associated Registers ................................................. 62
Baud Rate Generator (BRG) ..................................... 64
Bus Arbitration ........................................................... 73
Bus Collision .............................................................. 73
Repeated START Condition .............................. 76
START Condition .............................................. 74
STOP Condition ................................................ 77
Clock Arbitration ........................................................ 72
Conditions to not give ACK Pulse ............................. 59
, Effects of a RESET .............................................62 72
General Call Address Support ................................... 61
Master Mode ............................................................. 63
Master Mode Operation ............................................. 64
Master Mode Reception ............................................ 69
Master Mode Repeated START Condition ................ 66
Master Mode START Condition ................................ 65
Master Mode Transmission ....................................... 67
Master Mode Transmit Sequence ............................. 64
Multi-Master Communication ..................................... 73
Multi-Master Mode ..................................................... 63
Operation ................................................................... 58
Slave Mode ............................................................... 58
Slave Reception ........................................................ 59
Slave Transmission ................................................... 60
, SLEEP Operation ................................................62 72
SSPADD Address Register ....................................... 58
SSPBUF Register ...................................................... 58
STOP Condition Timing ............................................. 71
ICEPIC In-Circuit Emulator .............................................. 112
, ID Locations ..............................................................87 101
, In-Circuit Debugger ...................................................87 101
, In-Circuit Serial Programming (ICSP) .......................87 102
INDF Register ...................................................................... 9
Indirect Addressing ............................................................ 21
, FSR Register .........................................................7 21
Instruction Format ........................................................... 103
Instruction Set ................................................................. 103
ADDLW ................................................................... 105
ADDWF ................................................................... 105
ANDLW ................................................................... 105
ANDWF ................................................................... 105
BCF ......................................................................... 105
BSF ......................................................................... 105
BTFSC ..................................................................... 105
BTFSS ..................................................................... 105
CALL ....................................................................... 106
CLRF ....................................................................... 106
CLRW ...................................................................... 106
CLRWDT ................................................................. 106
COMF ...................................................................... 106
DECF ....................................................................... 106
DECFSZ .................................................................. 107
GOTO ...................................................................... 107
INCF ........................................................................ 107
INCFSZ ................................................................... 107
IORLW ..................................................................... 107
IORWF .................................................................... 107
© 2006 Microchip Technology Inc.