English
Language : 

PIC16F7X Datasheet, PDF (165/174 Pages) Microchip Technology – 28/40-Pin 8-Bit CMOS FLASH Microcontrollers
INDEX
A
A/D
A/D Conversion Status (GO/DONE Bit) ..................... 83
Acquisition Requirements .......................................... 86
ADCON0 Register ..................................................... 83
ADCON1 Register ..................................................... 83
ADRES Register ........................................................ 83
Analog Port Pins ...................................... 8, 10, 12, 39
Analog-to-Digital Converter ....................................... 83
Associated Registers ................................................. 88
Configuring Analog Port Pins .................................... 87
Configuring the Interrupt ............................................ 85
Configuring the Module ............................................. 85
Conversion Clock ...................................................... 87
Conversion Requirements ....................................... 139
Conversions ............................................................... 87
Converter Characteristics ........................................ 138
Effects of a RESET .................................................... 87
Faster Conversion - Lower Resolution
Trade-off .................................................... 87
Internal Sampling Switch (Rss) Impedance ............... 86
Operation During SLEEP ........................................... 87
Source Impedance .................................................... 86
Using the CCP Trigger .............................................. 88
Absolute Maximum Ratings ............................................. 119
, ACK Pulse .................................................................. 65 66
ADCON0 Register ............................................................. 83
GO/DONE Bit ............................................................ 83
ADCON1 Register ............................................................. 83
ADRES Register ................................................................ 83
Analog Port Pins. See A/D
Application Notes
AN552 (Implementing Wake-up on Key Strokes
Using PIC16F7X) ...................................... 33
AN556 (Implementing a Table Read) ........................ 26
AN578 (Use of the SSP Module in the I2C
Multi-Master Environment) ........................ 59
AN607 (Power-up Trouble Shooting) ........................ 94
Assembler
MPASM Assembler ................................................. 113
B
Banking, Data Memory ...................................................... 13
BF bit ................................................................................. 60
Block Diagrams
A/D ............................................................................. 85
Analog Input Model .................................................... 86
Capture Mode Operation ........................................... 55
Compare .................................................................... 55
Crystal/Ceramic Resonator Operation (HS, XT
or LP Osc Configuration) ........................... 91
External Clock Input Operation
(HS Osc Configuration) ............................. 91
Interrupt Logic ............................................................ 99
PIC16F73 and PIC16F76 ............................................ 6
PIC16F74 and PIC16F77 ............................................ 7
PORTA
RA3:RA0 and RA5 Port Pins ............................. 31
RA4/T0CKI Pin .................................................. 31
PORTB
RB3:RB0 Port Pins ............................................ 33
RB7:RB4 Port Pins ............................................ 33
PORTC (Peripheral Output Override) ........................ 35
 2002 Microchip Technology Inc.
PIC16F7X
PORTD (In I/O Port Mode) ........................................ 36
PORTD and PORTE (Parallel Slave Port) ................ 40
PORTE (In I/O Port Mode) ........................................ 37
PWM Mode ............................................................... 57
RC Oscillator Mode ................................................... 92
Recommended MCLR Circuit ................................... 94
Reset Circuit .............................................................. 93
SSP (I2C Mode) ........................................................ 65
SSP (SPI Mode) ........................................................ 62
Timer0/WDT Prescaler .............................................. 43
Timer1 ....................................................................... 48
Timer2 ....................................................................... 51
Typical In-Circuit Serial Programming
Connection .............................................. 103
USART
Receive ............................................................. 75
USART Transmit ....................................................... 73
Watchdog Timer (WDT) .......................................... 101
BOR. See Brown-out Reset
BRGH bit ........................................................................... 71
Brown-out Reset (BOR) ..........................89, 93, 94, 95, 96
C
Capture/Compare/PWM (CCP)
, Associated Registers ..........................................56 58
Capture Mode ........................................................... 55
Prescaler ........................................................... 55
, CCP Pin Configuration ........................................55 56
CCP1
, RC2/CCP1 Pin ..............................................9 11
CCP2
, RC1/T1OSI/CCP2 Pin ...................................9 11
Compare Mode ......................................................... 55
Software Interrupt Mode .................................... 56
Special Trigger Output ...................................... 56
Timer1 Mode Selection ..................................... 56
Example PWM Frequencies and Resolutions ........... 58
Interaction of Two CCP Modules .............................. 53
PWM Duty Cycle ....................................................... 57
PWM Mode ............................................................... 57
PWM Period .............................................................. 57
Setup for PWM Operation ......................................... 58
Special Event Trigger and A/D Conversions ............. 56
Timer Resources ....................................................... 53
CCP1 Module .................................................................... 53
CCP2 Module .................................................................... 53
CCPR1H Register ............................................................. 53
CCPR1L Register .............................................................. 53
CCPxM<3:0> bits .............................................................. 54
CCPxX and CCPxY bits .................................................... 54
CKE bit .............................................................................. 60
CKP bit .............................................................................. 61
Code Examples
Call of a Subroutine in Page 1 from Page 0 .............. 26
Changing Between Capture Prescalers .................... 55
Changing Prescaler Assignment to Timer0 ............... 45
Changing Prescaler Assignment to WDT .................. 45
FLASH Program Read .............................................. 30
Indirect Addressing ................................................... 27
Initializing PORTA ..................................................... 31
Reading a 16-bit Free-Running Timer ....................... 49
Saving STATUS, W, and PCLATH Registers
in RAM .................................................... 100
Writing a 16-bit Free-Running Timer ......................... 49
DS30325B-page 163