English
Language : 

PIC18LF4610T-I Datasheet, PDF (368/376 Pages) Microchip Technology – 28/40/44-Pin Flash Microcontrollers
PIC18F2X1X/4X1X
PORTA
Associated Registers ................................................. 99
LATA Register ............................................................ 97
PORTA Register ........................................................ 97
TRISA Register .......................................................... 97
PORTB
Associated Registers ............................................... 102
LATB Register .......................................................... 100
PORTB Register ...................................................... 100
RB7:RB4 Interrupt-on-Change Flag (RBIF Bit) ........ 100
TRISB Register ........................................................ 100
PORTC
Associated Registers ............................................... 105
LATC Register ......................................................... 103
PORTC Register ...................................................... 103
RC3/SCK/SCL Pin ................................................... 167
TRISC Register ........................................................ 103
PORTD
Associated Registers ............................................... 108
LATD Register ......................................................... 106
Parallel Slave Port (PSP) Function .......................... 106
PORTD Register ...................................................... 106
TRISD Register ........................................................ 106
PORTE
Associated Registers ............................................... 111
LATE Register .......................................................... 109
PORTE Register ...................................................... 109
PSP Mode Select (PSPMODE Bit) .......................... 106
TRISE Register ........................................................ 109
Postscaler, WDT
Assignment (PSA Bit) .............................................. 117
Rate Select (T0PS2:T0PS0 Bits) ............................. 117
Switching Between Timer0 and WDT ...................... 117
Power Managed Modes ..................................................... 35
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
by Interrupt ......................................................... 41
by Reset ............................................................. 41
by WDT Time-out ............................................... 41
Without a Start-up Delay .................................... 42
Idle Modes ................................................................. 39
PRI_IDLE ........................................................... 40
RC_IDLE ............................................................ 41
SEC_IDLE .......................................................... 40
Run Modes ................................................................. 36
PRI_RUN ........................................................... 36
RC_RUN ............................................................ 37
SEC_RUN .......................................................... 36
Selecting .................................................................... 35
Sleep Mode ................................................................ 39
Summary (table) ........................................................ 35
Power-on Reset (POR) ...................................................... 45
Power-up Timer (PWRT) ........................................... 47
Time-out Sequence .................................................... 47
Power-up Delays ................................................................ 33
Power-up Timer (PWRT) .................................................... 33
Prescaler
DS39636D-page 370
Timer2 ..................................................................... 142
Prescaler, Timer0 ............................................................ 117
Assignment (PSA Bit) .............................................. 117
Rate Select (T0PS2:T0PS0 Bits) ............................. 117
Switching Between Timer0 and WDT ...................... 117
Prescaler, Timer2 ............................................................ 137
PRI_IDLE Mode ................................................................. 40
PRI_RUN Mode ................................................................. 36
Program Counter ............................................................... 56
PCL, PCH and PCU Registers .................................. 56
PCLATH and PCLATU Registers .............................. 56
Program Memory
and Extended Instruction Set .................................... 75
Code Protection ....................................................... 255
Instructions ................................................................ 60
Two-Word .......................................................... 60
Interrupt Vector .......................................................... 55
Look-up Tables .......................................................... 58
Map and Stack (diagram) .......................................... 55
Reset Vector .............................................................. 55
Program Verification and Code Protection ...................... 253
Associated Registers ............................................... 254
Programming, Device Instructions ................................... 259
PSP. See Parallel Slave Port.
Pulse-Width Modulation. See PWM (CCP Module) and
PWM (ECCP Module).
PUSH ............................................................................... 288
PUSH and POP Instructions .............................................. 57
PUSHL ............................................................................. 304
PWM (CCP 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
PWM (ECCP Module) ...................................................... 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
Q
Q Clock .................................................................... 137, 142
R
RAM. See Data Memory.
RBIF Bit ........................................................................... 100
RC Oscillator ...................................................................... 27
RCIO Oscillator Mode ................................................ 27
RC_IDLE Mode .................................................................. 41
RC_RUN Mode .................................................................. 37
© 2009 Microchip Technology Inc.