Datasheet

PIC16F72
DS39597C-page 126 © 2007 Microchip Technology Inc.
F
FLASH Program Memory
Associated Registers ..................................................28
Operation During Code Protect...................................28
Reading.......................................................................28
FSR Register...................................................................9, 10
I
I/O Ports..............................................................................21
PORTA........................................................................21
PORTB........................................................................23
PORTC........................................................................25
I
2
C
Associated Registers ..................................................51
Master Mode...............................................................51
Mode Selection ........................................................... 48
Multi-Master Mode ......................................................51
SCL and SDA pins ......................................................48
Slave Mode.................................................................48
ICEPIC In-Circuit Emulator .................................................82
ID Locations ........................................................................72
In-Circuit Serial Programming (ICSP) .................................72
INDF Register .....................................................................10
Indirect Addressing .............................................................20
FSR Register ..............................................................19
INDF Register .............................................................19
Instruction Format ...............................................................73
Instruction Set .....................................................................73
ADDLW .......................................................................75
ADDWF.......................................................................75
ANDLW .......................................................................75
ANDWF.......................................................................75
BCF.............................................................................75
BSF.............................................................................75
BTFSC ........................................................................76
BTFSS ........................................................................76
CALL...........................................................................76
CLRF...........................................................................76
CLRW..........................................................................76
CLRWDT.....................................................................76
COMF .........................................................................77
DECF ..........................................................................77
DECFSZ......................................................................77
GOTO..........................................................................77
INCF............................................................................77
INCFSZ.......................................................................77
IORLW.........................................................................78
IORWF ........................................................................78
MOVF..........................................................................78
MOVLW.......................................................................78
MOVWF ......................................................................78
NOP ............................................................................78
RETFIE .......................................................................79
RETLW........................................................................79
RETURN.....................................................................79
RLF .............................................................................79
RRF.............................................................................79
SLEEP ........................................................................79
SUBLW........................................................................80
SUBWF.......................................................................80
Summary Table...........................................................74
SWAPF .......................................................................80
XORLW .......................................................................80
XORWF.......................................................................80
INT Interrupt (RB0/INT). See Interrupt Sources
INTCON Register
GIE bit......................................................................... 14
INTE bit....................................................................... 14
INTF bit....................................................................... 14
RBIF bit....................................................................... 14
TMR0IE bit.................................................................. 14
Internal Sampling Switch (Rss) Impedance........................ 56
Interrupt Sources .......................................................... 59, 68
RB0/INT Pin, External................................................. 69
TMR0 Overflow........................................................... 69
Interrupts
RB7:RB4 Port Change................................................ 23
Synchronous Serial Port Interrupt............................... 16
Interrupts, Context Saving During....................................... 69
Interrupts, Enable Bits
Global Interrupt Enable (GIE bit) .......................... 14, 68
Interrupt-on-Change (RB7:RB4)
Enable (RBIE bit)................................................... 69
RB0/INT Enable (INTE bit) ......................................... 14
TMR0 Overflow Enable (TMR0IE bit) ......................... 14
Interrupts, Flag bits
Interrupt-on-Change (RB7:RB4) Flag
(RBIF bit) ............................................................... 14
Interrupt-on-Change (RB7:RB4) Flag
(RBIF bit) ......................................................... 14, 69
RB0/INT Flag (INTF bit).............................................. 14
TMR0 Overflow Flag (TMR0IF bit).............................. 69
K
KEELOQ Evaluation and Programming Tools...................... 84
L
Loading of PC ..................................................................... 18
M
Master Clear (MCLR)
MCLR
Reset, Normal Operation..................... 62, 65, 66
MCLR
Reset, SLEEP...................................... 62, 65, 66
Operation and ESD Protection ................................... 63
Memory
Data Memory ................................................................ 7
Program Memory.......................................................... 7
MPLAB C17 and MPLAB C18 C Compilers ....................... 81
MPLAB ICD In-Circuit Debugger ........................................ 83
MPLAB ICE High Performance Universal
In-Circuit Emulator with MPLAB IDE............................ 82
MPLAB Integrated Development
Environment Software.................................................. 81
MPLINK Object Linker/MPLIB Object Librarian.................. 82
O
On-Line Support ............................................................... 131
OPCODE Field Descriptions............................................... 73
OPTION_REG Register
INTEDG bit ................................................................. 13
PS2:PS0 bits............................................................... 13
PSA bit........................................................................ 13
RBPU
bit..................................................................... 13
T0CS bit...................................................................... 13
T0SE bit...................................................................... 13