English
Language : 

PIC16LF1824T39A_12 Datasheet, PDF (205/418 Pages) Microchip Technology – 20-Pin Flash Microcontrollers with XLP Technology
PIC16LF1824T39A
24.2.5 COMPARE DURING SLEEP
The Compare mode is dependent upon the system
clock (FOSC) for proper operation. Since FOSC is shut
down during Sleep mode, the Compare mode will not
function properly during Sleep.
24.2.6 ALTERNATE PIN LOCATIONS
This module incorporates I/O pins that can be moved to
other locations with the use of the alternate pin function
registers, APFCON0 and APFCON1. To determine
which pins can be moved and what their default loca-
tions are upon a Reset, see Section 12.1 “Alternate
Pin Function” for more information.
TABLE 24-4: SUMMARY OF REGISTERS ASSOCIATED WITH COMPARE
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
APFCON1
CCPxCON
—
—
PxM<1:0>(1)
—
—
DCxB<1:0>
P1DSEL
P1CSEL P2BSEL CCP2SEL
CCPxM<3:0>
CCPRxL Capture/Compare/PWM Register x Low Byte (LSB)
CCPRxH Capture/Compare/PWM Register x High Byte (MSB)
INLVLA
—
—
INLVLA5 INLVLA4
INLVLA3
INLVLA2 INLVLA1 INLVLA0
INLVLC
INTCON
—
—
INLVLC5 INLVLC4 INLVLC3 INLVLC2 INLVLC1 INLVLC0
GIE
PEIE
TMR0IE
INTE
IOCIE
TMR0IF
INTF
IOCIF
PIE1
TMR1GIE ADIE
RCIE
TXIE
SSP1IE
CCP1IE TMR2IE TMR1IE
PIE2
OSFIE
C2IE
C1IE
EEIE
BCL1IE
—
—
CCP2IE
PIE3
PIR1
—
TMR1GIF
—
ADIF
CCP4IE
RCIF
CCP3IE
TXIF
TMR6IE
SSP1IF
—
CCP1IF
TMR4IE
TMR2IF
—
TMR1IF
PIR2
OSFIF
C2IF
C1IF
EEIF
BCL1IF
—
—
CCP2IF
PIR3
T1CON
—
—
TMR1CS<1:0>
CCP4IF CCP3IF
T1CKPS<1:0>
TMR6IF
T1OSCEN
—
T1SYNC
TMR4IF
—
—
TMR1ON
T1GCON TMR1GE T1GPOL T1GTM T1GSPM T1GGO/DONE T1GVAL
T1GSS<1:0>
TMR1L
Holding Register for the Least Significant Byte of the 16-bit TMR1 Register
TMR1H
Holding Register for the Most Significant Byte of the 16-bit TMR1 Register
TRISA
—
—
TRISA5 TRISA4
TRISA3
TRISA2 TRISA1 TRISA0
TRISC
—
—
TRISC5 TRISC4
TRISC3
TRISC2 TRISC1
Legend: — = unimplemented location, read as ‘0’. Shaded cells are not used by Compare mode.
* Page provides register information.
Note 1: Applies to ECCP modules only.
TRISC0
Register
on Page
117
224
202*
202*
122
128
87
88
89
90
91
92
93
183
184
179*
179*
120
126
 2012 Microchip Technology Inc.
Preliminary
DS41657A-page 205