Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC18F258-E/LSQTP Datasheet(PDF) 391 Page - Microchip Technology

Part # PIC18F258-E/LSQTP
Description  28/40-Pin High-Performance, Enhanced Flash Microcontrollers with CAN Module
PDF  402 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F258-E/LSQTP Datasheet(HTML) 391 Page - Microchip Technology

Back Button PIC18F258-E/LSQTP Datasheet HTML 387Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 388Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 389Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 390Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 391Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 392Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 393Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 394Page - Microchip Technology PIC18F258-E/LSQTP Datasheet HTML 395Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 391 / 402 page
background image
© 2006 Microchip Technology Inc.
DS41159E-page 389
PIC18FXX8
Code Examples
16 x 16 Signed Multiply Routine ................................. 76
16 x 16 Unsigned Multiply Routine ............................. 76
8 x 8 Signed Multiply Routine ..................................... 75
8 x 8 Unsigned Multiply Routine ................................. 75
Changing Between Capture Prescalers.................... 125
Data EEPROM Read .................................................. 61
Data EEPROM Refresh Routine................................. 62
Data EEPROM Write .................................................. 61
Erasing a Flash Program Memory Row ...................... 70
Fast Register Stack..................................................... 40
How to Clear RAM (Bank 1) Using
Indirect Addressing ............................................. 55
Initializing PORTA....................................................... 93
Initializing PORTB....................................................... 96
Initializing PORTC..................................................... 100
Initializing PORTD..................................................... 102
Initializing PORTE..................................................... 104
Loading the SSPBUF Register ................................. 146
Reading a Flash Program
Memory Word ..................................................... 69
Saving Status, WREG and BSR
Registers in RAM ................................................ 92
WIN and ICODE Bits Usage in
Interrupt Service Routine to
Access TX/RX Buffers ...................................... 203
Writing to Flash Program Memory ........................ 72–73
Code Protection ................................................................ 265
COMF ............................................................................... 298
Comparator Module .......................................................... 249
Analog Input Connection Considerations.................. 253
Associated Registers ................................................ 254
Configuration............................................................. 250
Effects of a Reset...................................................... 253
External Reference Signal ........................................ 251
Internal Reference Signal ......................................... 251
Interrupts................................................................... 252
Operation .................................................................. 251
Operation During Sleep ............................................ 253
Outputs ..................................................................... 251
Reference ................................................................. 251
Response Time ......................................................... 251
Comparator Specifications ................................................ 340
Comparator Voltage Reference Module ........................... 255
Accuracy/Error .......................................................... 256
Associated Registers ................................................ 257
Configuring................................................................ 255
Connection Considerations....................................... 256
Effects of a Reset...................................................... 256
Operation During Sleep ............................................ 256
Compare (CCP Module) ................................................... 126
CCP1 Pin Configuration............................................ 126
CCPR1 and ECCPR1 Registers ............................... 126
Registers Associated with Capture,
Compare, Timer1 and Timer3........................... 127
Software Interrupt ..................................................... 126
Special Event Trigger........................ 115, 121, 126, 248
Timer1/Timer3 Mode Selection................................. 126
Compare (ECCP Module) ................................................. 133
Registers Associated with Enhanced
Capture, Compare, Timer1 and Timer3 ............ 133
Special Event Trigger................................................ 133
Compatible 10-Bit Analog-to-Digital
Converter (A/D) Module.
See A/D.
Configuration Mode (CAN Module) ................................... 226
CPFSEQ ........................................................................... 298
CPFSGT ........................................................................... 299
CPFSLT ............................................................................ 299
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 ................................................................................. 300
DC and AC Characteristics
Graphs and Tables ................................................... 361
DC Characteristics............................................................ 332
EEPROM and Enhanced Flash ................................ 339
PIC18FXX8 (Ind., Ext.) and
PIC18LFXX8 (Ind.) ........................................... 336
DCFSNZ ........................................................................... 301
DECF ................................................................................ 300
DECFSZ ........................................................................... 301
Demonstration Boards
PICDEM 1................................................................. 326
PICDEM 17............................................................... 327
PICDEM 18R ............................................................ 327
PICDEM 2 Plus......................................................... 326
PICDEM 3................................................................. 326
PICDEM 4................................................................. 326
PICDEM LIN ............................................................. 327
PICDEM USB ........................................................... 327
PICDEM.net Internet/Ethernet .................................. 326
Development Support ....................................................... 323
Device Differences............................................................ 385
Device Migrations ............................................................. 386
Device Overview................................................................... 7
Features ....................................................................... 7
Direct Addressing ............................................................... 56
Disable Mode (CAN Module) ............................................ 226
E
Electrical Characteristics .................................................. 329
Enhanced Capture/Compare/PWM (ECCP)..................... 131
Auto-Shutdown ......................................................... 142
Capture Mode.
See Capture
(ECCP Module).
Compare Mode.
See Compare
(ECCP Module).
ECCPR1H Register .................................................. 132
ECCPR1L Register................................................... 132
Interaction of CCP1 and
ECCP1 Modules ............................................... 132
Pin Assignments for Various Modes......................... 132
PWM Mode.
See PWM (ECCP Module).
Timer Resources ...................................................... 132



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com