English
Language : 

PIC18F45J10 Datasheet, PDF (350/358 Pages) Microchip Technology – 28/40/44-Pin High-Performance RISC Microcontrollers with nanoWatt Technology
PIC18F45J10 FAMILY
Power-Managed Modes ...................................................... 31
and A/D Operation .................................................... 216
and EUSART Operation............................................ 191
and Multiple Sleep Commands ................................... 32
and PWM Operation ................................................. 143
and SPI Operation .................................................... 153
Clock Transitions and Status Indicators...................... 32
Entering....................................................................... 31
Exiting Idle and Sleep Modes ..................................... 36
by Reset.............................................................. 36
by WDT Time-out................................................ 36
Without an Oscillator Start-up Delay................... 36
Idle Modes .................................................................. 34
PRI_IDLE ............................................................ 35
RC_IDLE............................................................. 36
SEC_IDLE........................................................... 35
Run Modes.................................................................. 32
PRI_RUN ............................................................ 32
RC_RUN ............................................................. 33
SEC_RUN........................................................... 32
Selecting ..................................................................... 31
Sleep Mode ................................................................. 34
Summary (table) ......................................................... 31
Power-on Reset (POR) ....................................................... 39
Power-up Timer (PWRT) ............................................ 40
Time-out Sequence..................................................... 40
Power-up Delays................................................................. 29
Power-up Timer (PWRT)............................................... 29, 40
Prescaler
Timer2 ....................................................................... 134
Prescaler, Timer0.............................................................. 113
Prescaler, Timer2.............................................................. 129
PRI_IDLE Mode .................................................................. 35
PRI_RUN Mode .................................................................. 32
Program Counter................................................................. 48
PCL, PCH and PCU Registers.................................... 48
PCLATH and PCLATU Registers ............................... 48
Program Memory
and Extended Instruction Set ...................................... 65
Instructions.................................................................. 52
Two-Word ........................................................... 52
Interrupt Vector ........................................................... 47
Look-up Tables ........................................................... 50
Map and Stack (diagram)............................................ 47
Reset Vector ............................................................... 47
Program Verification and Code Protection........................ 240
Programming, Device Instructions .................................... 241
PSP. See Parallel Slave Port.
Pulse-Width Modulation. See PWM (CCP Module) and
PWM (ECCP Module).
PUSH ................................................................................ 270
PUSH and POP Instructions ............................................... 49
PUSHL .............................................................................. 286
PWM (CCP Module)
Associated Registers ................................................ 130
Auto-Shutdown (CCP1 Only) .................................... 129
CCPR1H:CCPR1L Registers .................................... 133
Duty Cycle......................................................... 128, 134
Example Frequencies/Resolutions ................... 129, 134
Period................................................................ 128, 133
Setup for Operation................................................... 129
TMR2-to-PR2 Match ......................................... 128, 133
PWM (ECCP Module) ....................................................... 133
Direction Change in Full-Bridge Output Mode .......... 138
Effects of a Reset...................................................... 143
Enhanced PWM Auto-Shutdown .............................. 140
Full-Bridge Application Example............................... 138
Full-Bridge Mode ...................................................... 137
Half-Bridge Mode...................................................... 136
Half-Bridge Output Mode Applications Example....... 136
Operation in Power-Managed Modes ....................... 143
Operation with Fail-Safe Clock Monitor .................... 143
Output Configurations............................................... 134
Output Relationships (Active-High)........................... 135
Output Relationships (Active-Low) ........................... 135
Programmable Dead-Band Delay............................. 140
Setup for PWM Operation......................................... 143
Start-up Considerations ............................................ 142
Q
Q Clock ..................................................................... 129, 134
R
RAM. See Data Memory.
RBIF Bit .............................................................................. 97
RC_IDLE Mode................................................................... 36
RC_RUN Mode................................................................... 33
RCALL .............................................................................. 271
RCON Register
Bit Status During Initialization ..................................... 42
Reader Response............................................................. 354
Register File........................................................................ 55
Register File Summary ................................................. 57–59
Registers
ADCON0 (A/D Control 0).......................................... 209
ADCON1 (A/D Control 1).......................................... 210
ADCON2 (A/D Control 2).......................................... 211
BAUDCON (Baud Rate Control)............................... 190
CCP1CON (Enhanced Capture/Compare/PWM Control
1) ...................................................................... 131
CCPxCON (Standard Capture/Compare/
PWM Control) ................................................... 123
CMCON (Comparator Control) ................................. 219
CONFIG1H (Configuration 1 High) ........................... 231
CONFIG1L (Configuration 1 Low) ............................ 231
CONFIG2H (Configuration 2 High) ........................... 232
CONFIG2L (Configuration 2 Low) ............................ 232
CONFIG3H (Configuration 3 High) ........................... 233
CONFIG3H (Configuration 3 Low)............................ 233
CVRCON (Comparator Voltage Reference Control) 225
Device ID Register 1................................................. 234
Device ID Register 2................................................. 234
ECCP1AS (ECCP Auto-Shutdown Control) ............. 141
ECCP1DEL (PWM Dead-Band Delay) ..................... 140
EECON1 (Data EEPROM Control 1).......................... 69
INTCON (Interrupt Control)......................................... 81
INTCON2 (Interrupt Control 2).................................... 82
INTCON3 (Interrupt Control 3).................................... 83
IPR1 (Peripheral Interrupt Priority 1) .......................... 88
IPR2 (Peripheral Interrupt Priority 2) .......................... 89
IPR3 (Peripheral Interrupt Priority 3) .......................... 89
OSCCON (Oscillator Control) ..................................... 28
OSCTUNE (PLL Control)............................................ 25
PIE1 (Peripheral Interrupt Enable 1)........................... 86
PIE2 (Peripheral Interrupt Enable 2)........................... 87
PIE3 (Peripheral Interrupt Enable 3)........................... 87
PIR1 (Peripheral Interrupt Request (Flag) 1).............. 84
PIR2 (Peripheral Interrupt Request (Flag) 2).............. 85
PIR3 (Peripheral Interrupt Request (Flag) 3).............. 85
RCON (Reset Control).......................................... 38, 90
RCSTA (Receive Status and Control) ...................... 189
DS39682C-page 348
Preliminary
© 2007 Microchip Technology Inc.