English
Language : 

PIC18F258 Datasheet, PDF (373/384 Pages) Microchip Technology – High Performance, 28/40-Pin Enhanced FLASH Microcontrollers with CAN
PIC18FXX8
WIN and ICODE bits Usage in Interrupt
Service Routine to Access TX/RX Buffers ....... 201
Writing to FLASH Program Memory .................... 72–73
Code Protection ............................................................... 261
COMF ............................................................................... 294
Comparator Module ......................................................... 245
Analog Input Connection Considerations ................. 249
Associated Registers ............................................... 250
Configuration ............................................................ 246
Effects of a RESET .................................................. 249
External Reference Signal ....................................... 247
Internal Reference Signal ........................................ 247
Interrupts .................................................................. 248
Operation ................................................................. 247
Operation During SLEEP ......................................... 249
Outputs .................................................................... 247
Reference ................................................................ 247
Response Time ........................................................ 247
Comparator Specifications ............................................... 334
Comparator Voltage Reference Module ........................... 251
Accuracy/Error ......................................................... 252
Associated Registers ............................................... 253
Configuring ............................................................... 251
Connection Considerations ...................................... 252
Effects of a RESET .................................................. 252
Operation During SLEEP ......................................... 252
Output Buffer Example ............................................. 253
Compare (CCP Module) ................................................... 124
Associated Registers ............................................... 125
CCP1 Pin Configuration ........................................... 124
CCPR1H:CCPR1L Registers ................................... 124
Software Interrupt .................................................... 124
Special Event Trigger ........................113, 119, 124, 243
Timer1/Timer3 Mode Selection ................................ 124
Compare (ECCP Module) ................................................ 131
Associated Registers ............................................... 131
Special Event Trigger ............................................... 131
Compatible 10-bit Analog-to-Digital Converter
(A/D) Module. See A/D.
Configuration Mode (CAN Module) .................................. 222
CPFSEQ .......................................................................... 294
CPFSGT ........................................................................... 295
CPFSLT ........................................................................... 295
Crystal Oscillator
Capacitor Selection .................................................... 18
D
Data EEPROM Memory ..................................................... 59
Associated Registers ................................................. 63
EEADR Register ........................................................ 59
EECON1 Register ...................................................... 59
EECON2 Register ...................................................... 59
Operation During Code Protect .................................. 62
Protection Against Spurious Writes ........................... 62
Reading ...................................................................... 61
Usage ......................................................................... 62
Write Verify ................................................................ 62
Writing to .................................................................... 61
Data Memory ...................................................................... 44
General Purpose Registers ........................................ 44
Special Function Registers ........................................ 44
Data Memory Map
PIC18F248/448 .......................................................... 45
PIC18F258/458 .......................................................... 46
DAW ................................................................................. 296
DC and AC Characteristics Graphs and Tables ............... 355
DC Characteristics ............................ 327, 328, 329, 330, 331
EEPROM and Enhanced FLASH ............................ 333
DCFSNZ .......................................................................... 297
DECF ............................................................................... 296
DECFSZ .......................................................................... 297
Development Support ...................................................... 319
Development Tool Version Requirements ....................... 367
Device Differences ........................................................... 365
Device Migrations ............................................................ 366
Device Overview .................................................................. 7
Features ...................................................................... 7
Direct Addressing .............................................................. 56
Disable Mode (CAN Module) ........................................... 222
E
Electrical Characteristics ................................................. 325
Enhanced Capture/Compare/PWM (ECCP) .................... 129
Auto-Shutdown ........................................................ 140
Capture Mode. See Capture (ECCP Module)
Compare Mode. See Compare (ECCP Module)
ECCPR1H Register ................................................. 130
ECCPR1L Register .................................................. 130
Interaction of CCP1 and ECCP1 Modules ............... 130
Pin Assignments for Various Modes ........................ 130
PWM Mode. See PWM (ECCP Module)
Timer Resources ..................................................... 130
Enhanced CCP Auto-Shutdown ...................................... 140
Enhanced PWM Mode. See PWM
(ECCP Module) ........................................................ 132
Errata ................................................................................... 5
Error Recognition Mode (CAN Module) ........................... 222
External Clock Input ........................................................... 19
F
Firmware Instructions ...................................................... 277
FLASH Program Memory .................................................. 65
Associated Registers ................................................. 74
Control Registers ....................................................... 66
Erase Sequence ........................................................ 70
Erasing ...................................................................... 70
Operation During Code Protect ................................. 73
Reading ..................................................................... 69
TABLAT (Table Latch) Register ................................. 68
Table Pointer
Boundaries Based on Operation ....................... 68
Table Pointer Boundaries .......................................... 68
Table Reads and Table Writes .................................. 65
TBLPTR (Table Pointer) Register .............................. 68
Write Sequence ......................................................... 71
Writing to ................................................................... 71
Protection Against Spurious Writes ................... 73
Unexpected Termination ................................... 73
Write Verify ........................................................ 73
G
GOTO .............................................................................. 298
H
Hardware Multiplier ............................................................ 75
Operation ................................................................... 75
Performance Comparison (table) ............................... 75
HS4 (PLL) .......................................................................... 19
 2002 Microchip Technology Inc.
Preliminary
DS41159B-page 371