English
Language : 

PIC16F716-I-P Datasheet, PDF (131/136 Pages) Microchip Technology – 8-bit Flash-based Microcontroller with A/D Converter and Enhanced Capture/Compare/PWM
INDEX
A
A/D
ADCON0 Register......................................................... 9
ADCON1 Register....................................................... 10
ADRES Register ........................................................... 9
Converter Characteristics ......................................... 104
Timing Diagram......................................................... 105
Absolute Maximum Ratings ................................................ 91
ADC .................................................................................... 37
Acquisition Requirements ........................................... 43
Associated registers.................................................... 45
Block Diagram............................................................. 37
Calculating Acquisition Time....................................... 43
Channel Selection....................................................... 38
Configuration............................................................... 38
Configuring Interrupt ................................................... 40
Conversion Clock........................................................ 38
Conversion Procedure ................................................ 40
Internal Sampling Switch (RSS) IMPEDANCE ................ 43
Interrupts..................................................................... 39
Operation .................................................................... 40
Operation During Sleep .............................................. 40
Port Configuration ....................................................... 38
Reference Voltage (VREF)........................................... 38
Source Impedance...................................................... 43
Special Event Trigger.................................................. 40
ADCON0 Register........................................................... 9, 41
ADCON1 Register......................................................... 10, 42
ADRES Register ................................................................... 9
Analog-to-Digital Converter. See ADC
Assembler
MPASM Assembler..................................................... 88
B
Banking, Data Memory ......................................................... 7
Block Diagrams
(CCP) Capture Mode Operation ................................. 48
ADC ............................................................................ 37
ADC Transfer Function ............................................... 44
Analog Input Model ..................................................... 44
Auto-Shutdown ........................................................... 56
CCP PWM................................................................... 52
Compare ..................................................................... 50
Interrupt Sources ........................................................ 72
On-Chip Reset Circuit ................................................. 66
PIC16F716.................................................................... 5
PORTA.................................................................. 19, 20
PORTB........................................................................ 21
RB1/T1OSO/T1CKI..................................................... 22
RB2/T1OSI.................................................................. 22
RB3/CCP1/P1A........................................................... 23
RB4 ............................................................................. 23
RB5 ............................................................................. 24
RB6/P1C ..................................................................... 24
RB7/P1D ..................................................................... 25
Timer1......................................................................... 29
Timer2......................................................................... 35
TMR0/WDT Prescaler................................................. 27
Watchdog Timer (WDT) .............................................. 74
BOR. See Brown-out Reset
Brown-out Reset (BOR) .............................. 61, 64, 65, 69, 70
Timing Diagram......................................................... 101
PIC16F716
C
C Compilers
MPLAB C18................................................................ 88
MPLAB C30................................................................ 88
Capture Module. See Enhanced Capture/Compare/
PWM(ECCP)
Capture/Compare/PWM (CCP)
Associated registers w/ Capture................................. 49
Associated registers w/ Compare............................... 51
Associated registers w/ PWM..................................... 60
Capture Mode............................................................. 48
CCP1 Pin Configuration ............................................. 48
CCP1CON Register...................................................... 9
CCPR1H Register ........................................................ 9
CCPR1L Register ......................................................... 9
Compare Mode........................................................... 50
CCP1 Pin Configuration ..................................... 50
Software Interrupt Mode ............................... 48, 50
Special Event Trigger ......................................... 50
Timer1 Mode Selection................................. 48, 50
Flag (CCP1IF Bit) ....................................................... 15
Prescaler .................................................................... 48
PWM Mode................................................................. 52
Duty Cycle .......................................................... 53
Effects of Reset .................................................. 55
Example PWM Frequencies and Resolutions,
20 MHZ...................................................... 54
Example PWM Frequencies and Resolutions,
8 MHz ........................................................ 54
Operation in Sleep Mode.................................... 55
Setup for Operation ............................................ 55
System Clock Frequency Changes .................... 55
PWM Period ............................................................... 53
Setup for PWM Operation .......................................... 55
Timing Diagram ........................................................ 103
CCP1CON (Enhanced) Register ........................................ 47
Code Examples
Assigning Prescaler to Timer0.................................... 28
Assigning Prescaler to WDT....................................... 28
Changing Between Capture Prescalers ..................... 48
How to Clear RAM Using Indirect Addressing............ 18
Initializing PORTA ...................................................... 19
Initializing PORTB ...................................................... 21
Code Protection ............................................................ 61, 76
Compare Module. See Enhanced Capture/
Compare/PWM (ECCP)
CONFIG Register ............................................................... 62
Configuration Bits ............................................................... 61
Conversion Considerations............................................... 125
Customer Change Notification Service............................. 127
Customer Notification Service .......................................... 127
Customer Support............................................................. 127
D
Data Memory ........................................................................ 7
Bank Select (RP Bits) ................................................... 7
General Purpose Registers .......................................... 8
Register File Map ......................................................... 8
Special Function Registers........................................... 9
DC Characteristics............................................ 93, 94, 95, 96
Development Support ......................................................... 87
Direct Addressing ............................................................... 18
© 2007 Microchip Technology Inc.
DS41206B-page 129