English
Language : 

PIC18F2585_07 Datasheet, PDF (79/482 Pages) Microchip Technology – Enhanced Flash Microcontrollers with ECAN Technology, 10-Bit A/D and nanoWatt Technology
PIC18F2585/2680/4585/4680
TABLE 5-2: REGISTER FILE SUMMARY (PIC18F2585/2680/4585/4680) (CONTINUED)
File Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on Details
POR, BOR on page:
STATUS
—
—
—
N
OV
Z
DC
C
---x xxxx 50, 87
TMR0H
Timer0 Register High Byte
0000 0000 50, 149
TMR0L
Timer0 Register Low Byte
xxxx xxxx 50, 149
T0CON
TMR0ON T08BIT
T0CS
T0SE
PSA
T0PS2
T0PS1
T0PS0 1111 1111 50, 149
OSCCON
IDLEN
IRCF2
IRCF1
IRCF0
OSTS
IOFS
SCS1
SCS0 0000 q000 30, 50
HLVDCON
VDIRMAG
—
IRVST HLVDEN HLVDL3
HLVDL2
HLVDL1
HLVDL0 0-00 0101 50, 267
WDTCON
—
—
—
—
—
—
—
SWDTEN --- ---0 50, 353
RCON
IPEN
SBOREN(2)
—
RI
TO
PD
POR
BOR
0q-1 11q0 50, 127
TMR1H
Timer1 Register High Byte
xxxx xxxx 50, 155
TMR1L
Timer1 Register Low Byte
0000 0000 50, 155
T1CON
RD16
T1RUN T1CKPS1 T1CKPS0 T1OSCEN T1SYNC TMR1CS TMR1ON 0000 0000 50, 151
TMR2
Timer2 Register
1111 1111 50, 158
PR2
Timer2 Period Register
-000 0000 50, 155
T2CON
—
T2OUTPS3 T2OUTPS2 T2OUTPS1 T2OUTPS0 TMR2ON T2CKPS1 T2CKPS0 -000 0000 50, 157
SSPBUF
SSPADD
SSP Receive Buffer/Transmit Register
SSP Address Register in I2C Slave mode. SSP Baud Rate Reload Register in I2C Master mode.
xxxx xxxx 50, 195
0000 0000 50, 195
SSPSTAT
SMP
CKE
D/A
P
S
R/W
UA
BF
0000 0000 50, 197
SSPCON1
WCOL
SSPOV SSPEN
CKP
SSPM3
SSPM2
SSPM1
SSPM0 0000 0000 50, 198
SSPCON2
GCEN ACKSTAT ACKDT ACKEN
RCEN
PEN
RSEN
SEN
0000 0000 50, 199
ADRESH
A/D Result Register High Byte
xxxx xxxx 50, 256
ADRESL
A/D Result Register Low Byte
xxxx xxxx 50, 256
ADCON0
—
—
CHS3
CHS2
CHS1
CHS0
GO/DONE
ADON --00 0000 50, 247
ADCON1
—
—
VCFG1 VCFG0
PCFG3
PCFG2
PCFG1
PCFG0 --00 0qqq 50, 248
ADCON2
ADFM
—
ACQT2 ACQT1
ACQT0
ADCS2
ADCS1
ADCS0 0-00 0000 50, 249
CCPR1H
Capture/Compare/PWM Register 1 High Byte
xxxx xxxx 51, 168
CCPR1L
Capture/Compare/PWM Register 1 Low Byte
xxxx xxxx 51, 168
CCP1CON
—
—
DC1B1
DC1B0 CCP1M3
ECCPR1H(9) Enhanced Capture/Compare/PWM Register 1 High Byte
ECCPR1L(9) Enhanced Capture/Compare/PWM Register 1 Low Byte
ECCP1CON(9) EPWM1M1 EPWM1M0 EDC1B1 EDC1B0 ECCP1M3
CCP1M2
ECCP1M2
CCP1M1
ECCP1M1
CCP1M0
ECCP1M0
--xx xxxx 51, 163
xxxx xxxx 51, 167
xxxx xxxx 51, 167
0000 0000 51, 168
BAUDCON
ECCP1DEL(9)
ECCP1AS(9)
CVRCON(9)
CMCON(9)
ABDOVF
PRSEN
ECCPASE
CVREN
C2OUT
RCIDL
PDC6(3)
ECCPAS2
CVROE
C1OUT
—
PDC5(3)
ECCPAS1
CVRR
C2INV
SCKP
PDC4(3)
ECCPAS0
CVRSS
C1INV
BRG16
PDC3(3)
PSSAC1
CVR3
CIS
—
PDC2(3)
PSSAC0
CVR2
CM2
WUE
PDC1(3)
PSSBD1(3)
CVR1
CM1
ABDEN
PDC0(3)
PSSBD0(3)
CVR0
CM0
01-0 0000 51, 230
0000 0000 51, 182
0000 0000 51, 183
0000 0000 51, 263
0000 0000 51, 257
TMR3H
Timer3 Register High Byte
xxxx xxxx 51, 161
TMR3L
T3CON
Timer3 Register Low Byte
RD16 T3ECCP1(9) T3CKPS1 T3CKPS0 T3CCP1(9)
T3SYNC
TMR3CS
xxxx xxxx 51, 161
TMR3ON 0000 0000 51, 161
Legend: x = unknown, u = unchanged, - = unimplemented, q = value depends on condition
Note 1: Bit 21 of the PC is only available in Test mode and Serial Programming modes.
2: The SBOREN bit is only available when CONFIG2L<1:0> = 01; otherwise, it is disabled and reads as ‘0’. See Section 4.4 “Brown-out Reset
(BOR)”.
3: These registers and/or bits are not implemented on PIC18F2X8X devices and are read as ‘0’. Reset values are shown for PIC18F4X8X
devices; individual unimplemented bits should be interpreted as ‘—’.
4: The PLLEN bit is only available in specific oscillator configuration; otherwise, it is disabled and reads as ‘0’. See Section 2.6.4 “PLL in
INTOSC Modes”.
5: The RE3 bit is only available when Master Clear Reset is disabled (CONFIG3H<7> = 0); otherwise, RE3 reads as ‘0’. This bit is read-only.
6: RA6/RA7 and their associated latch and direction bits are individually configured as port pins based on various primary oscillator modes.
When disabled, these bits read as ‘0’.
7: CAN bits have multiple functions depending on the selected mode of the CAN module.
8: This register reads all ‘0’s until the ECAN™ technology is set up in Mode 1 or Mode 2.
9: These registers are available on PIC18F4X8X devices only.
© 2007 Microchip Technology Inc.
Preliminary
DS39625C-page 77