Datasheet

Table Of Contents
© 2007 Microchip Technology Inc. DS39605F-page 295
PIC18F1220/1320
INDEX
A
A/D ................................................................................... 155
A/D Converter Interrupt, Configuring ....................... 159
Acquisition Requirements ........................................ 160
ADCON0 Register ....................................................155
ADCON1 Register ....................................................155
ADCON2 Register ....................................................155
ADRESH Register .................................................... 155
ADRESH/ADRESL Registers ..................................158
ADRESL Register .................................................... 155
Analog Port Pins, Configuring .................................. 162
Associated Registers ...............................................164
Configuring the Module ............................................ 159
Conversion Clock (Tad) ...........................................161
Conversion Requirements ....................................... 265
Conversion Status (GO/DONE
Bit) .......................... 158
Conversions .............................................................163
Converter Characteristics ........................................264
Operation in Low-Power Modes ...............................162
Selecting, Configuring Automatic
Acquisition Time ...............................................161
Special Event Trigger (CCP) ....................................117
Special Event Trigger (CCP1) ..................................164
Use of the CCP1 Trigger ..........................................164
Vref+ and Vref- References ..................................... 160
Absolute Maximum Ratings ............................................. 237
AC (Timing) Characteristics ............................................. 255
Conditions ................................................................ 256
Load Conditions for Device
Timing Specifications .......................................256
Parameter Symbology .............................................255
Temperature and Voltage Specifications .................256
ADCON0 Register ............................................................ 155
GO/DONE
Bit ........................................................... 158
ADCON1 Register ............................................................ 155
ADCON2 Register ............................................................ 155
ADDLW ............................................................................197
ADDWF ............................................................................197
ADDWFC ......................................................................... 198
ADRESH Register ............................................................155
ADRESH/ADRESL Registers ........................................... 158
ADRESL Register ............................................................155
Analog-to-Digital Converter. See A/D.
ANDLW ............................................................................198
ANDWF ............................................................................199
Assembler
MPASM Assembler ..................................................234
Auto-Wake-up on Sync Break Character ......................... 145
B
BC .................................................................................... 199
BCF ..................................................................................200
Block Diagrams
A/D ...........................................................................158
Analog Input Model .................................................. 159
Capture Mode Operation .........................................117
Compare Mode Operation .......................................118
Enhanced PWM .......................................................120
EUSART Receive ....................................................143
EUSART Transmit ...................................................141
Fail-Safe Clock Monitor ............................................ 182
Generic I/O Port Operation ........................................ 87
Low-Voltage Detect (LVD) ....................................... 166
Low-Voltage Detect (LVD) with External Input ........ 166
MCLR/
VPP/RA5 Pin ................................................... 89
On-Chip Reset Circuit ................................................ 33
OSC1/CLKI/RA7 Pin .................................................. 88
OSC2/CLKO/RA6 Pin ................................................ 88
PIC18F1220/1320 ....................................................... 7
PLL ............................................................................ 12
RA3:RA0 Pins ............................................................ 88
RA4/T0CKI Pin .......................................................... 88
RB0/AN4/INT0 Pin ..................................................... 90
RB1/AN5/TX/CK/INT1 Pin ......................................... 91
RB2/P1B/INT2 Pin ..................................................... 92
RB3/CCP1/P1A Pin ................................................... 93
RB4/AN6/RX/DT/KBI0 Pin ......................................... 94
RB5/PGM/KBI1 Pin .................................................... 95
RB6/PGC/T1OSO/T13CKI/P1C/KBI2 Pin .................. 96
RB7/PGD/T1OSI/P1D/KBI3 Pin ................................. 97
Reads from Flash Program Memory .......................... 61
System Clock ............................................................. 16
Table Read Operation ............................................... 57
Table Write Operation ................................................ 58
Table Writes to Flash Program Memory .................... 63
Timer0 in 16-Bit Mode ............................................. 100
Timer0 in 8-Bit Mode ............................................... 100
Timer1 ..................................................................... 104
Timer1 (16-Bit Read/Write Mode) ............................ 104
Timer2 ..................................................................... 110
Timer3 ..................................................................... 112
Timer3 (16-bit Read/Write Mode) ............................ 112
WDT ........................................................................ 180
BN .................................................................................... 200
BNC ................................................................................. 201
BNN ................................................................................. 201
BNOV ............................................................................... 202
BNZ
.................................................................................. 202
BOR. See Brown-out Reset.
BOV ................................................................................. 205
BRA ................................................................................. 203
Break Character (12-bit) Transmit and Receive .............. 146
Brown-out Reset (BOR) ..............................................34, 171
BSF .................................................................................. 203
BTFSC ............................................................................. 204
BTFSS ............................................................................. 204
BTG ................................................................................. 205
BZ .................................................................................... 206
C
C Compilers
MPLAB C18 ............................................................. 234
MPLAB C30 ............................................................. 234
CALL ................................................................................ 206
Capture (CCP Module) .................................................... 116
CCP Pin Configuration ............................................. 116
CCPR1H:CCPR1L Registers ................................... 116
Software Interrupt .................................................... 116
Timer1/Timer3 Mode Selection ................................ 116
Capture, Compare, Timer1 and Timer3
Associated Registers ............................................... 118