Datasheet

PIC16(L)F722A/723A
DS41417B-page 278 2010-2012 Microchip Technology Inc.
CCPx Pin Configuration ............................................ 125
Compare Mode ......................................................... 127
CCPx Pin Configuration ....................................127
Software Interrupt Mode ........................... 125, 127
Special Event Trigger........................................127
Timer1 Mode Selection ............................. 125, 127
Interaction of Two CCP Modules (table) ................... 123
Prescaler................................................................... 125
PWM Mode ............................................................... 129
Duty Cycle......................................................... 130
Effects of Reset................................................. 131
Example PWM Frequencies and
Resolutions, 20 MHZ ................................131
Example PWM Frequencies and
Resolutions, 8 MHz................................... 131
Operation in Sleep Mode .................................. 131
Setup for Operation........................................... 131
System Clock Frequency Changes................... 131
PWM Period.............................................................. 130
Setup for PWM Operation.........................................131
Timer Resources....................................................... 123
CCP. See Capture/Compare/PWM (CCP)
CCP1CON Register ............................................................19
CCP2CON Register ............................................................19
CCPR1H Register ...............................................................19
CCPR1L Register................................................................19
CCPR2H Register ...............................................................19
CCPR2L Register................................................................19
CCPxCON Register .......................................................... 124
CKE bit ...................................................................... 163, 175
CKP bit ...................................................................... 162, 174
Clock Sources
External Modes ........................................................... 81
EC .......................................................................81
HS ....................................................................... 81
LP........................................................................ 81
OST..................................................................... 81
RC....................................................................... 82
XT .......................................................................81
Code Examples
A/D Conversion........................................................... 91
Changing Between Capture Prescalers .................... 125
Indirect Addressing .....................................................26
Initializing PORTA....................................................... 48
Initializing PORTB....................................................... 56
Initializing PORTC.......................................................67
Initializing PORTE....................................................... 74
Loading the SSPBUF (SSPSR) Register.................. 158
Saving W, STATUS and PCLATH Registers in
RAM .................................................................... 39
Comparators
C2OUT as T1 Gate ................................................... 106
Compare Module. See Capture/Compare/PWM (CCP)
CONFIG1 Register........................................................ 83, 84
CPSCON0 Register .......................................................... 121
CPSCON1 Register .......................................................... 122
Customer Change Notification Service ............................. 283
Customer Notification Service........................................... 283
Customer Support ............................................................. 283
D
D/A bit ............................................................................... 175
Data Memory....................................................................... 16
Data/Address bit (D/A
) ...................................................... 175
DC and AC Characteristics ............................................... 227
DC Characteristics
Extended and Industrial............................................ 206
Industrial and Extended............................................ 200
Development Support....................................................... 195
Device Configuration .......................................................... 83
Code Protection .......................................................... 85
Configuration Word..................................................... 83
User ID ....................................................................... 85
Device Overview................................................................... 9
E
Effects of Reset
PWM mode............................................................... 131
Electrical Specifications.................................................... 199
Enhanced Capture/Compare/PWM (ECCP)
Specifications ........................................................... 217
Errata .................................................................................... 8
F
Firmware Instructions ....................................................... 185
Fixed Voltage Reference. See FVR
FSR Register ................................................................ 19, 20
Fuses. See Configuration Bits
FVR..................................................................................... 97
FVRCON Register ........................................................ 20, 97
G
General Purpose Register File ........................................... 16
I
I
2
C Mode
Associated Registers ................................................ 176
INDF Register ............................................................... 19, 20
Indirect Addressing, INDF and FSR Registers ................... 26
Instruction Format............................................................. 185
Instruction Set ................................................................... 185
ADDLW..................................................................... 187
ADDWF..................................................................... 187
ANDLW..................................................................... 187
ANDWF..................................................................... 187
MOVF ....................................................................... 190
BCF .......................................................................... 187
BSF........................................................................... 187
BTFSC...................................................................... 187
BTFSS ...................................................................... 188
CALL......................................................................... 188
CLRF ........................................................................ 188
CLRW ....................................................................... 188
CLRWDT .................................................................. 188
COMF ....................................................................... 188
DECF ........................................................................ 188
DECFSZ ................................................................... 189
GOTO ....................................................................... 189
INCF ......................................................................... 189
INCFSZ..................................................................... 189
IORLW...................................................................... 189
IORWF...................................................................... 189
MOVLW .................................................................... 190
MOVWF.................................................................... 190
NOP.......................................................................... 190
RETFIE ..................................................................... 191
RETLW ..................................................................... 191
RETURN................................................................... 191
RLF ........................................................................... 192
RRF .......................................................................... 192
SLEEP ...................................................................... 192
SUBLW ..................................................................... 192