English
Language : 

PIC18F2331_10 Datasheet, PDF (379/392 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High-Performance PWM and A/D
PIC18F2331/2431/4331/4431
INDEX
A
A/D .................................................................................... 239
Acquisition Requirements ......................................... 249
Associated Registers ................................................ 255
Calculating the Minimum Required
Acquisition Time ............................................... 250
Configuring................................................................ 247
Configuring Analog Port Pins.................................... 252
Conversions .............................................................. 253
Converter Characteristics ......................................... 361
Operation in Power-Managed Modes ....................... 252
Result Buffer ............................................................. 249
Selecting and Configuring Automatic
Acquisition Time ............................................... 251
Selecting the Conversion Clock ................................ 251
Special Event Trigger (CCP)..................................... 147
Voltage References .................................................. 251
Absolute Maximum Ratings .............................................. 329
AC (Timing) Characteristics .............................................. 344
Load Conditions for Device
Timing Specifications ........................................ 345
Parameter Symbology .............................................. 344
Temperature and Voltage Specifications .................. 345
Timing Conditions ..................................................... 345
ACK Pulse................................................................. 212, 214
ADDLW ............................................................................. 289
ADDWF ............................................................................. 289
ADDWFC .......................................................................... 290
Analog-to-Digital Converter. See A/D.
ANDLW ............................................................................. 290
ANDWF ............................................................................. 291
Application Notes
AN578 (Use of the SSP Module in the
I2C Multi-Master Environment) ......................... 205
Assembler
MPASM Assembler................................................... 326
Auto-Wake-up on Sync Break Character .......................... 231
B
BC ..................................................................................... 291
BCF ................................................................................... 292
BF Bit ................................................................................ 206
Block Diagrams
A/D ............................................................................ 246
Analog Input Model ................................................... 250
Capture Mode Operation .......................................... 146
Center Connected Load............................................ 194
Compare Mode Operation ........................................ 147
Dead-Time Control Unit for One
PWM Output Pair .............................................. 191
EUSART Receive ..................................................... 229
EUSART Transmit .................................................... 227
External Clock Input, EC............................................. 31
External Components for Timer1 LP Oscillator......... 133
External Power-on Reset Circuit
(Slow VDD Power-up).......................................... 49
Fail-Safe Clock Monitor............................................. 277
Generic I/O Port ........................................................ 113
Input Capture for IC1 ................................................ 153
Input Capture for IC2 and IC3................................... 154
Interrupt Logic ............................................................. 98
Low-Voltage Detect with External Input .................... 258
Motion Feedback Module.......................................... 152
On-Chip Reset Circuit................................................. 47
PIC18F2331/2431 ...................................................... 14
PIC18F4331/4431 ...................................................... 15
PLL ............................................................................. 30
Power Control PWM Module .................................... 174
PWM (Standard)....................................................... 149
PWM I/O Pin............................................................. 198
PWM Module, One Output Pair,
Complementary Mode ...................................... 175
PWM Module, One Output Pair,
Independent Mode ........................................... 175
PWM Time Base....................................................... 177
QEI ........................................................................... 161
RC Oscillator .............................................................. 31
RCIO Oscillator........................................................... 31
Reads from Flash Program Memory .......................... 89
Recommended Minimum Connections....................... 25
SSP (I2C Mode)........................................................ 212
SSP (SPI Mode) ....................................................... 209
System Clock.............................................................. 35
Table Read Operation ................................................ 85
Table Write Operation ................................................ 86
Table Writes to Flash Program Memory ..................... 91
Timer0 in 16-Bit Mode .............................................. 128
Timer0 in 8-Bit Mode ................................................ 128
Timer1 ...................................................................... 132
Timer1 (16-Bit Read/Write Mode)............................. 132
Timer2 ...................................................................... 137
Timer5 ...................................................................... 140
Velocity Measurement .............................................. 167
Watchdog Timer ....................................................... 274
BN..................................................................................... 292
BNC .................................................................................. 293
BNN .................................................................................. 293
BNOV ............................................................................... 294
BNZ .................................................................................. 294
BOR. See Brown-out Reset.
BOV .................................................................................. 297
BRA .................................................................................. 295
Brown-out Reset (BOR).............................................. 49, 263
BSF................................................................................... 295
BTFSC .............................................................................. 296
BTFSS .............................................................................. 296
BTG .................................................................................. 297
BZ ..................................................................................... 298
C
C Compilers
MPLAB C18.............................................................. 326
CALL................................................................................. 298
Capture (CCP Module) ..................................................... 146
Associated Registers................................................ 148
CCP Pin Configuration ............................................. 146
CCPR1H:CCPR1L Registers ................................... 146
Prescaler .................................................................. 146
Software Interrupt ..................................................... 146
Timer1 Mode Selection............................................. 146
Capture/Compare/PWM (CCP) ........................................ 145
Capture Mode. See Capture.
CCP1 ........................................................................ 145
CCPR1H Register ............................................ 145
CCPR1L Register ............................................. 145
 2010 Microchip Technology Inc.
DS39616D-page 379