
PIC18F2480/2580/4480/4580
DS39637A-page 186
Preliminary
2004 Microchip Technology Inc.
TABLE 16-3:
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
RBIE
TMR0IF
INT0IF
RBIF
49
RCON
IPR1
PIR1
PIE1
IPR2
PIR2
PIE2
TRISB
TRISC
TRISD
(1)
TMR1L
TMR1H
IPEN
PSPIP
PSPIF
PSPIE
OSCFIP
OSCFIF
OSCFIE
PORTB Data Direction Register
PORTC Data Direction Register
PORTD Data Direction Register
Holding Register for the Least Significant Byte of the 16-bit TMR1 Register
Holding Register for the Most Significant Byte of the 16-bit TMR1 Register
SBOREN
ADIP
ADIF
ADIE
CMIP
(3)
CMIF
(3)
CMIE
(3)
—
RI
TO
PD
POR
TMR2IP
TMR2IF
TMR2IE
TMR3IP
TMR3IF
TMR3IE
BOR
TMR1IP
TMR1IF
TMR1IE
ECCP1IP
(3)
ECCP1IF
(3)
ECCP1IE
(3)
50
52
52
52
51
51
52
52
52
52
50
50
RCIP
RCIF
RCIE
—
—
—
TXIP
TXIF
TXIE
EEIP
EEIF
EEIE
SSPIP
SSPIF
SSPIE
BCLIP
BCLIF
BCLIE
CCP1IP
CCP1IF
CCP1IE
HLVDIP
HLVDIF
HLVDIE
T1CON
TMR2
T2CON
PR2
TMR3L
TMR3H
RD16
Timer2 Module Register
—
Timer2 Period Register
Holding Register for the Least Significant Byte of the 16-bit TMR3 Register
Holding Register for the Most Significant Byte of the 16-bit TMR3 Register
T3ECCP1
(1)
T3CKPS1
Enhanced Capture/Compare/PWM Register 1 (LSB)
Enhanced Capture/Compare/PWM Register 1 (MSB)
ECCP1CON
(2)
EPWM1M1 EPWM1M0
EDC1B1
ECCP1AS
(2)
ECCPASE
ECCPAS2
ECCPAS1
ECCP1DEL
(2)
PRSEN
PDC6
(2)
PDC5
(2)
Legend:
— = unimplemented, read as ‘
0
’. Shaded cells are not used during ECCP operation.
Note 1:
These bits are available on PIC18F4X80 devices only.
2:
These bits or registers are unimplemented in PIC18F2X80 devices; always maintain these bit clear.
3:
These bits are available on PIC18F4X80 and reserved on PIC18F2X80 devices.
T1RUN
T1CKPS1
T1CKPS0
T1OSCEN
T1SYNC
TMR1CS
TMR1ON
50
50
50
50
51
51
T2OUTPS3 T2OUTPS2 T2OUTPS1 T2OUTPS0 TMR2ON
T2CKPS1
T2CKPS0
T3CON
ECCPR1L
(2)
ECCPR1H
(2)
RD16
T3CKPS0 T3CCP1
(1)
T3SYNC
TMR3CS
TMR3ON
51
51
51
51
51
51
EDC1B0
ECCPAS0
PDC4
(2)
ECCP1M3 ECCP1M2 ECCP1M1 ECCP1M0
PSSAC1
PSSAC0
PDC3
(2)
PDC2
(2)
PSSBD1
(2)
PSSBD0
(2)
PDC1
(2)
PDC0
(2)