Datasheet

PIC16F716
DS41206A-page 118 Preliminary 2003 Microchip Technology Inc.
PICDEM 4...................................................................88
PICDEM LIN PIC16C43X ...........................................89
PICDEM USB PIC16C7X5..........................................89
PICDEM.net Internet/Ethernet .................................... 88
Development Support .........................................................85
Direct Addressing................................................................18
E
ECCP
Auto-Shutdown ...........................................................45
and Automatic Restart ........................................47
Start-up Considerations ..............................................47
Electrical Characteristics.....................................................91
Enhanced Capture/Compare/PWM (ECCP)
PWM Mode. See PWM (ECCP Module)
Enhanced CCP Auto-Shutdown..........................................45
Enhanced PWM Mode. See PWM (ECCP Module)............38
Errata ....................................................................................3
Evaluation and Programming Tools....................................89
External Power-on Reset Circuit.........................................58
G
GOTO Instruction................................................................77
I
I/O Ports ..............................................................................19
ID Locations ..................................................................55, 69
INCF Instruction ..................................................................78
INCFSZ Instruction..............................................................78
In-Circuit Serial Programming (ICSP) ........................... 55, 69
Indirect Addressing .............................................................18
FSR Register ...................................................... 8, 9, 18
INDF Register ...............................................................9
Instruction Set
ADDLW.......................................................................73
ADDWF.......................................................................73
ANDLW.......................................................................73
ANDWF.......................................................................73
BCF.............................................................................74
BSF.............................................................................74
BTFSC ........................................................................74
BTFSS ........................................................................75
CALL...........................................................................75
CLRF...........................................................................75
CLRW ......................................................................... 76
CLRWDT.....................................................................76
COMF .........................................................................76
DECF ..........................................................................76
DECFSZ......................................................................77
GOTO .........................................................................77
INCF............................................................................78
INCFSZ.......................................................................78
IORLW ........................................................................79
IORWF........................................................................79
MOVF..........................................................................79
MOVLW ......................................................................79
MOVWF ......................................................................80
NOP ............................................................................80
OPTION ......................................................................80
RETFIE .......................................................................80
RETLW ....................................................................... 81
RETURN.....................................................................81
RLF .............................................................................81
RRF.............................................................................82
SLEEP ........................................................................82
SUBLW ....................................................................... 82
SUBWF....................................................................... 83
SWAPF....................................................................... 83
TRIS ........................................................................... 83
XORLW ...................................................................... 84
XORWF ...................................................................... 84
Instruction Set Summary .................................................... 71
INT Interrupt (RB0/INT). See Interrupt Sources
INTCON Register............................................................ 9, 13
GIE Bit ........................................................................ 13
INTE Bit ...................................................................... 13
INTF Bit ...................................................................... 13
PEIE Bit ...................................................................... 13
RBIE Bit ...................................................................... 13
RBIF Bit ...................................................................... 13
T0IE Bit....................................................................... 13
T0IF Bit....................................................................... 13
Interrupt Sources .......................................................... 55, 65
A/D Conversion Complete .......................................... 50
Capture Complete (CCP)............................................ 34
Compare Complete (CCP).......................................... 35
Interrupt-on-Change (RB7:RB4 )................................ 21
RB0/INT Pin, External................................................. 66
TMR0 Overflow..................................................... 28, 66
TMR1 Overflow..................................................... 29, 30
TMR2 to PR2 Match ................................................... 32
TMR2 to PR2 Match (PWM)................................. 31, 36
Interrupts, Context Saving During....................................... 66
Interrupts, Enable Bits
A/D Converter Enable (ADIE Bit)................................ 14
CCP1 Enable (CCP1IE Bit) .................................. 14, 34
Global Interrupt Enable (GIE Bit).......................... 13, 65
Interrupt-on-Change (RB7:RB4) Enable (RBIE Bit)... 13,
66
Peripheral Interrupt Enable (PEIE Bit)........................ 13
RB0/INT Enable (INTE Bit)......................................... 13
TMR0 Overflow Enable (T0IE Bit) .............................. 13
TMR1 Overflow Enable (TMR1IE Bit)......................... 14
TMR2 to PR2 Match Enable (TMR2IE Bit) ................. 14
Interrupts, Flag Bits
A/D Converter Flag (ADIF Bit) .............................. 15, 50
CCP1 Flag (CCP1IF Bit)....................................... 15, 34
Interrupt-on-Change (RB7:RB4) Flag (RBIF Bit) .. 13, 66
RB0/INT Flag (INTF Bit) ............................................. 13
TMR0 Overflow Flag (T0IF Bit)............................. 13, 66
TMR1 Overflow Flag (TMR1IF Bit)............................. 15
TMR2 to PR2 Match Flag (TMR2IF Bit)...................... 15
IORLW Instruction .............................................................. 79
IORWF Instruction .............................................................. 79
M
Master Clear (MCLR)
MCLR
Reset, Normal Operation..................... 58, 62, 63
MCLR
Reset, Sleep........................................ 58, 62, 63
Memory Organization
Data Memory ................................................................ 7
Program Memory.......................................................... 7
Migration from Base-Line to Mid-Range Devices ............. 114
MOVF Instruction................................................................ 79
MOVLW Instruction............................................................. 79
MOVWF Instruction ............................................................ 80
MPLAB ASM30 Assembler, Linker, Librarian ..................... 86
MPLAB ICD 2 In-Circuit Debugger ..................................... 87
MPLAB ICE 2000 High Performance Universal
In-Circuit Emulator...................................................... 87
MPLAB ICE 4000 High Performance Universal
In-Circuit Emulator...................................................... 87