PIC16F721-E/P Microchip Technology, PIC16F721-E/P Datasheet - Page 236
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC16F721-E/P
Manufacturer Part Number
PIC16F721-E/P
Description
7 KB FLASH, 256 B SRAM, 18 I/O 20 PDIP .300in TUBE
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Datasheet
1.PIC16LF720-ISS.pdf
(244 pages)
Specifications of PIC16F721-E/P
Core Processor
PIC
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Program Memory Size
7KB (4K x 14)
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 12x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PIC16F/LF720/721
CCP. See Capture/Compare/PWM (CCP)
CCP1CON Register ............................................................ 17
CCPR1H Register ............................................................... 17
CCPR1L Register................................................................ 17
CCPxCON Register .......................................................... 109
CKE bit ...................................................................... 147, 159
CKP bit ...................................................................... 146, 158
Clock Sources
Code Examples
Comparators
Compare Module. See Capture/Compare/PWM (CCP)
Customer Change Notification Service ............................. 241
Customer Notification Service........................................... 241
Customer Support ............................................................. 241
D
D/A bit ............................................................................... 159
Data Memory....................................................................... 14
Data/Address bit (D/A) ...................................................... 159
DC and AC Characteristics ............................................... 213
DC Characteristics
Development Support ....................................................... 183
Device Configuration........................................................... 73
Device Overview ................................................................... 9
E
EECON1 Register ............................................................... 20
Effects of Reset
Electrical Specifications .................................................... 187
Errata .................................................................................... 7
F
Firmware Instructions........................................................ 173
Fixed Voltage Reference. See FVR
FSR Register................................................................. 17, 18
FVR ..................................................................................... 87
FVRCON Register............................................................... 87
G
General Purpose Register File............................................ 14
I
I
INDF Register ............................................................... 17, 18
Indirect Addressing, INDF and FSR Registers.................... 25
DS41430A-page 236
2
C Mode
Timer Resources....................................................... 109
External Modes ........................................................... 71
A/D Conversion ........................................................... 80
Call of a Subroutine in Page 1 from Page 0................ 24
Changing Between Capture Prescalers .................... 110
Indirect Addressing ..................................................... 25
Initializing PORTA ....................................................... 47
Initializing PORTB ....................................................... 56
Initializing PORTC....................................................... 62
Loading the SSPBUF (SSPSR) Register .................. 142
Saving W, STATUS and PCLATH Registers in RAM . 39
Writing to Flash Program Memory ............................ 165
C2OUT as T1 Gate ..................................................... 97
Extended and Industrial ............................................ 192
Industrial and Extended ............................................ 188
Code Protection .......................................................... 76
Configuration Word ..................................................... 73
User ID ........................................................................ 76
PWM mode ............................................................... 116
Associated Registers ................................................ 160
EC ....................................................................... 71
Instruction Format............................................................. 173
Instruction Set................................................................... 173
INTCON Register................................................................ 40
Internal Oscillator Block
Internal Sampling Switch (R
Internet Address ............................................................... 241
Interrupts............................................................................. 37
INTOSC Specifications ............................................. 198, 199
IOCB Register..................................................................... 58
L
Load Conditions................................................................ 195
M
M....................................................................................... 202
MCLR.................................................................................. 29
Memory Organization ......................................................... 13
Microchip Internet Web Site.............................................. 241
Migrating from other PIC Microcontroller Devices ............ 233
MPLAB ASM30 Assembler, Linker, Librarian ................... 184
MPLAB Integrated Development Environment Software.. 183
ADDLW..................................................................... 175
ADDWF..................................................................... 175
ANDLW..................................................................... 175
ANDWF..................................................................... 175
MOVF ....................................................................... 178
BCF .......................................................................... 175
BSF........................................................................... 175
BTFSC ...................................................................... 175
BTFSS ...................................................................... 176
CALL......................................................................... 176
CLRF ........................................................................ 176
CLRW ....................................................................... 176
CLRWDT .................................................................. 176
COMF ....................................................................... 176
DECF ........................................................................ 176
DECFSZ ................................................................... 177
GOTO ....................................................................... 177
INCF ......................................................................... 177
INCFSZ..................................................................... 177
IORLW ...................................................................... 177
IORWF...................................................................... 177
MOVLW .................................................................... 178
MOVWF .................................................................... 178
NOP .......................................................................... 178
RETFIE ..................................................................... 179
RETLW ..................................................................... 179
RETURN................................................................... 179
RLF ........................................................................... 180
RRF .......................................................................... 180
SLEEP ...................................................................... 180
SUBLW ..................................................................... 180
SUBWF..................................................................... 181
SWAPF ..................................................................... 181
XORLW .................................................................... 181
XORWF .................................................................... 181
Summary Table ........................................................ 174
INTOSC
ADC ............................................................................ 80
Associated registers w/ Interrupts............................... 43
Interrupt-on-Change ................................................... 56
TMR1 ........................................................................ 100
Internal........................................................................ 29
Data ............................................................................ 14
Program ...................................................................... 13
Specifications ........................................... 198, 199
2010 Microchip Technology Inc.
SS
) Impedance........................ 83