English
Language : 

PIC18F44J50-I Datasheet, PDF (267/562 Pages) Microchip Technology – 28/44-Pin, Low-Power, High-Performance USB Microcontrollers
PIC18F46J50 FAMILY
18.5.8
OPERATION IN POWER-MANAGED
MODES
In Sleep mode, all clock sources are disabled. Timer2
will not increment and the state of the module will not
change. If the ECCPx pin is driving a value, it will con-
tinue to drive that value. When the device wakes up, it
will continue from this state. If Two-Speed Start-ups are
enabled, the initial start-up frequency from HFINTOSC
and the postscaler may not be stable immediately.
In PRI_IDLE mode, the primary clock will continue to
clock the ECCPx module without change.
18.5.8.1 Operation with Fail-Safe
Clock Monitor (FSCM)
If the Fail-Safe Clock Monitor (FSCM) is enabled, a
clock failure will force the device into the
power-managed RC_RUN mode and the OSCFIF bit of
the PIR2 register will be set. The ECCPx will then be
clocked from the internal oscillator clock source, which
may have a different clock frequency than the primary
clock.
18.5.9 EFFECTS OF A RESET
Both Power-on Reset and subsequent Resets will force
all PORTS to Input mode and the ECCP registers to
their Reset states.
This forces the ECCP module to reset to a state
compatible with previous, non-enhanced ECCP
modules used on other PIC18 and PIC16 devices.
TABLE 18-5: REGISTERS ASSOCIATED WITH ECCP1 MODULE AND TIMER1 TO TIMER3
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Reset
Values
on Page:
INTCON GIE/GIEH PEIE/GIEL TMR0IE
INT0IE
RABIE TMR0IF INT0IF RABIF
87
RCON
PIR1
PIE1
IPR1
IPEN
PMPIF(1)
PMPIE(1)
PMPIP(1)
—
ADIF
ADIE
ADIP
—
RCIF
RCIE
RCIP
RI
TXIF
TXIE
TXIP
TO
PD
POR
BOR
90
SSPIF CCP1IF TMR2IF TMR1IF
87
SSPIE CCP1IE TMR2IE TMR1IE
91
SSPIP CCP1IP TMR2IP TMR1IP
91
PIR2
OSCFIF
CM2IF
CM1IF
USBIF
BCL1IF HLVDIF TMR3IF CCP2IF
91
PIE2
OSCFIE CM2IE
CM1IE
USBIE
BCL1IE HLVDIE TMR3IE CCP2IE
91
IPR2
OSCFIP CM2IP
CM1IP
USBIP
BCL1IP HLVDIP TMR3IP CCP2IP
91
TCLKCON
—
—
—
T1RUN
—
—
T3CCP2 T3CCP1
93
TMR4
Timer4 Register
93
T4CON
—
T4OUTPS3 T4OUTPS2 T4OUTPS1 T4OUTPS0 TMR4ON T4CKPS1 T4CKPS0 93
PR4
Timer4 Period Register
93
TMR1L Timer1 Register Low Byte
87
TMR1H Timer1 Register High Byte
87
T1CON
TMR1CS1 TMR1CS0 T1CKPS1 T1CKPS0 T1OSCEN T1SYNC RD16 TMR1ON 87
TMR2
Timer2 Register
87
T2CON
—
T2OUTPS3 T2OUTPS2 T2OUTPS1 T2OUTPS0 TMR2ON T2CKPS1 T2CKPS0 87
PR2
Timer2 Period Register
87
TMR3L Timer3 Register Low Byte
87
TMR3H Timer3 Register High Byte
87
T3CON
TMR3CS1 TMR3CS0 T3CKPS1 T3CKPS0 T3OSCEN T3SYNC RD16 TMR3ON 87
CCPR1L Capture/Compare/PWM Register 1 Low Byte
87
CCPR1H Capture/Compare/PWM Register 1 High Byte
87
CCP1CON P1M1
P1M0
DC1B1
DC1B0 CCP1M3 CCP1M2 CCP1M1 CCP1M0
87
ECCP1AS ECCP1ASE ECCP1AS2 ECCP1AS1 ECCP1AS0 PSS1AC1 PSS1AC0 PSS1BD1 PSS1BD0 87
ECCP1DEL P1RSEN P1DC6
P1DC5
P1DC4
P1DC3
P1DC2 P1DC1 P1DC0
264
Legend: — = unimplemented, read as ‘0’. Shaded cells are not used during ECCP operation.
Note 1: These bits are only available on 44-pin devices.
 2011 Microchip Technology Inc.
DS39931D-page 267