PIC18F2510-E/P MICROCHIP [Microchip Technology], PIC18F2510-E/P Datasheet - Page 368

no-image

PIC18F2510-E/P

Manufacturer Part Number
PIC18F2510-E/P
Description
28/40/44-Pin Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
PIC18F2X1X/4X1X
PORTA
PORTB
PORTC
PORTD
PORTE
Postscaler, WDT
Power Managed Modes ..................................................... 35
Power-on Reset (POR) ...................................................... 45
Power-up Delays ................................................................ 33
Power-up Timer (PWRT) .................................................... 33
Prescaler
DS39636D-page 370
Associated Registers ................................................. 99
LATA Register ............................................................ 97
PORTA Register ........................................................ 97
TRISA Register .......................................................... 97
Associated Registers ............................................... 102
LATB Register .......................................................... 100
PORTB Register ...................................................... 100
RB7:RB4 Interrupt-on-Change Flag (RBIF Bit) ........ 100
TRISB Register ........................................................ 100
Associated Registers ............................................... 105
LATC Register ......................................................... 103
PORTC Register ...................................................... 103
RC3/SCK/SCL Pin ................................................... 167
TRISC Register ........................................................ 103
Associated Registers ............................................... 108
LATD Register ......................................................... 106
Parallel Slave Port (PSP) Function .......................... 106
PORTD Register ...................................................... 106
TRISD Register ........................................................ 106
Associated Registers ............................................... 111
LATE Register .......................................................... 109
PORTE Register ...................................................... 109
PSP Mode Select (PSPMODE Bit) .......................... 106
TRISE Register ........................................................ 109
Assignment (PSA Bit) .............................................. 117
Rate Select (T0PS2:T0PS0 Bits) ............................. 117
Switching Between Timer0 and WDT ...................... 117
and A/D Operation ................................................... 220
and EUSART Operation ........................................... 197
and Multiple Sleep Commands .................................. 36
and PWM Operation ................................................ 151
and SPI Operation ................................................... 161
Clock Sources ............................................................ 35
Clock Transitions and Status Indicators ..................... 36
Effects on Clock Sources ........................................... 33
Entering ...................................................................... 35
Exiting Idle and Sleep Modes .................................... 41
Idle Modes ................................................................. 39
Run Modes ................................................................. 36
Selecting .................................................................... 35
Sleep Mode ................................................................ 39
Summary (table) ........................................................ 35
Power-up Timer (PWRT) ........................................... 47
Time-out Sequence .................................................... 47
by Interrupt ......................................................... 41
by Reset ............................................................. 41
by WDT Time-out ............................................... 41
Without a Start-up Delay .................................... 42
PRI_IDLE ........................................................... 40
RC_IDLE ............................................................ 41
SEC_IDLE .......................................................... 40
PRI_RUN ........................................................... 36
RC_RUN ............................................................ 37
SEC_RUN .......................................................... 36
Prescaler, Timer0 ............................................................ 117
Prescaler, Timer2 ............................................................ 137
PRI_IDLE Mode ................................................................. 40
PRI_RUN Mode ................................................................. 36
Program Counter ............................................................... 56
Program Memory
Program Verification and Code Protection ...................... 253
Programming, Device Instructions ................................... 259
PSP. See Parallel Slave Port.
Pulse-Width Modulation. See PWM (CCP Module) and
PUSH ............................................................................... 288
PUSH and POP Instructions .............................................. 57
PUSHL ............................................................................. 304
PWM (CCP Module)
PWM (ECCP Module) ...................................................... 141
Q
Q Clock .................................................................... 137, 142
R
RAM. See Data Memory.
RBIF Bit ........................................................................... 100
RC Oscillator ...................................................................... 27
RC_IDLE Mode .................................................................. 41
RC_RUN Mode .................................................................. 37
Timer2 ..................................................................... 142
Assignment (PSA Bit) .............................................. 117
Rate Select (T0PS2:T0PS0 Bits) ............................. 117
Switching Between Timer0 and WDT ...................... 117
PCL, PCH and PCU Registers .................................. 56
PCLATH and PCLATU Registers .............................. 56
and Extended Instruction Set .................................... 75
Code Protection ....................................................... 255
Instructions ................................................................ 60
Interrupt Vector .......................................................... 55
Look-up Tables .......................................................... 58
Map and Stack (diagram) .......................................... 55
Reset Vector .............................................................. 55
Associated Registers ............................................... 254
PWM (ECCP Module).
Associated Registers ............................................... 138
Auto-Shutdown (CCP1 only) .................................... 137
CCPR1H:CCPR1L Registers ................................... 141
Duty Cycle ....................................................... 136, 142
Example Frequencies/Resolutions .................. 137, 142
Period .............................................................. 136, 141
Setup for PWM Operation ........................................ 137
TMR2 to PR2 Match ........................................ 136, 141
Associated Registers ............................................... 152
Direction Change in Full-Bridge Output Mode ......... 146
Effects of a Reset .................................................... 151
Enhanced PWM Auto-Shutdown ............................. 148
Full-Bridge Application Example .............................. 146
Full-Bridge Mode ..................................................... 145
Half-Bridge Mode ..................................................... 144
Half-Bridge Output Mode Applications Example ...... 144
Operation in Power Managed Modes ...................... 151
Operation with Fail-Safe Clock Monitor ................... 151
Output Configurations .............................................. 142
Output Relationships (Active-High) .......................... 143
Output Relationships (Active-Low) .......................... 143
Programmable Dead-Band Delay ............................ 148
Setup for PWM Operation ........................................ 151
Start-up Considerations ........................................... 150
RCIO Oscillator Mode ................................................ 27
Two-Word .......................................................... 60
© 2009 Microchip Technology Inc.

Related parts for PIC18F2510-E/P