
PIC18F1230/1330
DS39758B-page 300
Advance Information
2006 Microchip Technology Inc.
Code Examples
16 x 16 Signed Multiply Routine ................................80
16 x 16 Unsigned Multiply Routine ............................80
8 x 8 Signed Multiply Routine ....................................79
8 x 8 Unsigned Multiply Routine ................................79
Computed GOTO Using an Offset Value ...................48
Data EEPROM Read .................................................77
Data EEPROM Refresh Routine ................................78
Data EEPROM Write .................................................77
Erasing a Flash Program Memory Row .....................70
Fast Register Stack ....................................................48
How to Clear RAM (Bank 0) Using
Indirect Addressing ............................................59
Implementing a Real-Time Clock Using
a Timer1 Interrupt Service ...............................109
Initializing PORTA ......................................................81
Initializing PORTB ......................................................84
Reading a Flash Program Memory Word ..................69
Saving STATUS, WREG and
BSR Registers in RAM .......................................99
Writing to Flash Program Memory .......................72–73
Code Protection .......................................................184, 200
Associated Registers ...............................................200
Configuration Register Protection ............................203
Data EEPROM .........................................................203
Program Memory .....................................................201
COMF ...............................................................................225
Comparator ......................................................................174
Analog Input Connection Considerations .................176
Associated Registers ...............................................177
Configuration ............................................................175
Effects of a Reset .....................................................176
Interrupts ..................................................................175
Operation .................................................................175
Operation During Sleep ...........................................176
Outputs ....................................................................175
Reference ................................................................175
Response Time ........................................................175
Comparator Specifications ...............................................275
Comparator Voltage Reference .......................................178
Accuracy and Error ..................................................179
Associated Registers ...............................................179
Configuring ...............................................................178
Effects of a Reset .....................................................179
Operation During Sleep ...........................................179
Computed GOTO ...............................................................48
Configuration Bits .............................................................184
Context Saving During Interrupts .......................................99
Conversion Considerations ..............................................297
CPFSEQ ..........................................................................225
CPFSGT ...........................................................................226
CPFSLT ...........................................................................226
Crystal Oscillator/Ceramic Resonator ................................15
Customer Change Notification Service ............................307
Customer Notification Service ..........................................307
Customer Support ............................................................307
D
Data Addressing Modes .....................................................59
Comparing Options with the
Extended Instruction Set Enabled ......................62
Direct ..........................................................................59
Indexed Literal Offset .................................................61
Instructions Affected ..........................................61
Indirect .......................................................................59
Inherent and Literal ....................................................59
Data EEPROM Memory ..................................................... 75
Associated Registers ................................................. 78
EEADR Register ........................................................ 75
EECON1 and EECON2 Registers ............................. 75
Operation During Code-Protect ................................. 78
Protection Against Spurious Write ............................. 77
Reading ..................................................................... 77
Using ......................................................................... 78
Write Verify ................................................................ 77
Writing ....................................................................... 77
Data Memory ..................................................................... 51
Access Bank .............................................................. 53
and the Extended Instruction Set .............................. 61
Bank Select Register (BSR) ...................................... 51
General Purpose Registers ....................................... 53
Map for PIC18F1230/1330 ........................................ 52
Special Function Registers ........................................ 54
DAW ................................................................................ 227
DC and AC Characteristics
Graphs and Tables .................................................. 288
DC Characteristics ........................................................... 272
Power-Down and Supply Current ............................ 262
Supply Voltage ........................................................ 261
DCFSNZ .......................................................................... 228
DECF ............................................................................... 227
DECFSZ .......................................................................... 228
Development Support ...................................................... 204
Device Differences ........................................................... 296
Device Overview .................................................................. 7
Details on Individual
Family Members .................................................. 8
Features (table) ........................................................... 9
New Core Features ...................................................... 7
Other Special Features ................................................ 8
Device Reset Timers ......................................................... 37
Oscillator Start-up Timer (OST) ................................. 37
PLL Lock Time-out ..................................................... 37
Power-up Timer (PWRT) ........................................... 37
Time-out Sequence ................................................... 37
Direct Addressing .............................................................. 60
E
Effect on Standard PIC MCU Instructions ....................... 255
Effects of Power-Managed Modes on
Various Clock Sources .............................................. 23
Electrical Characteristics ................................................. 258
Enhanced Universal Synchronous Asynchronous
Receiver Transmitter (EUSART). See EUSART.
Equations
A/D Acquisition Time ............................................... 169
A/D Minimum Charging Time ................................... 169
Calculating the Minimum Required
Acquisition Time .............................................. 169
PWM Frequency ...................................................... 123
PWM Period for Continuous
Up/Down Count Mode ..................................... 123
PWM Period for Free-Running Mode ...................... 123
PWM Resolution ...................................................... 123
Errata ................................................................................... 5