English
Language : 

PIC18F2331_10 Datasheet, PDF (69/392 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High-Performance PWM and A/D
PIC18F2331/2431/4331/4431
6.5.4 SPECIAL FUNCTION REGISTERS
The Special Function Registers (SFRs) are registers
used by the CPU and peripheral modules for controlling
the desired operation of the device. These registers are
implemented as static RAM. A list of these registers is
given in Table 6-1 and Table 6-2.
The SFRs can be classified into two sets: those asso-
ciated with the “core” function and those related to the
peripheral functions. Those registers related to the
“core” are described in this section, while those related
to the operation of the peripheral features are
described in the section of that peripheral feature.
The SFRs are typically distributed among the
peripherals whose functions they control.
The unused SFR locations will be unimplemented and
read as ‘0’s.
TABLE 6-1: SPECIAL FUNCTION REGISTER MAP FOR PIC18F2331/2431/4331/4431 DEVICES
Address Name
FFFh
TOSU
FFEh
TOSH
FFDh
TOSL
FFCh STKPTR
FFBh PCLATU
FFAh PCLATH
FF9h
PCL
FF8h TBLPTRU
FF7h TBLPTRH
FF6h TBLPTRL
FF5h TABLAT
FF4h PRODH
FF3h PRODL
FF2h INTCON
FF1h INTCON2
FF0h INTCON3
FEFh INDF0(1)
FEEh POSTINC0(1)
FEDh POSTDEC0(1)
FECh PREINC0(1)
FEBh PLUSW0(1)
FEAh FSR0H
FE9h FSR0L
FE8h WREG
FE7h INDF1(1)
FE6h POSTINC1(1)
FE5h POSTDEC1(1)
FE4h PREINC1(1)
FE3h PLUSW1(1)
FE2h FSR1H
FE1h FSR1L
FE0h
BSR
Address
FDFh
FDEh
FDDh
FDCh
FDBh
FDAh
FD9h
FD8h
FD7h
FD6h
FD5h
FD4h
FD3h
FD2h
FD1h
FD0h
FCFh
FCEh
FCDh
FCCh
FCBh
FCAh
FC9h
FC8h
FC7h
FC6h
FC5h
FC4h
FC3h
FC2h
FC1h
FC0h
Name
INDF2(1)
POSTINC2(1)
POSTDEC2(1)
PREINC2(1)
PLUSW2(1)
FSR2H
FSR2L
STATUS
TMR0H
TMR0L
T0CON
—(2)
OSCCON
LVDCON
WDTCON
RCON
TMR1H
TMR1L
T1CON
TMR2
PR2
T2CON
SSPBUF
SSPADD
SSPSTAT
SSPCON
—(2)
ADRESH
ADRESL
ADCON0
ADCON1
ADCON2
Address
FBFh
FBEh
FBDh
FBCh
FBBh
FBAh
FB9h
FB8h
FB7h
FB6h
FB5h
FB4h
FB3h
FB2h
FB1h
FB0h
FAFh
FAEh
FADh
FACh
FABh
FAAh
FA9h
FA8h
FA7h
FA6h
FA5h
FA4h
FA3h
FA2h
FA1h
FA0h
Name
CCPR1H
CCPR1L
CCP1CON
CCPR2H
CCPR2L
CCP2CON
ANSEL1
ANSEL0
T5CON
QEICON
—(2)
—(2)
—(2)
—(2)
—(2)
SPBRGH
SPBRG
RCREG
TXREG
TXSTA
RCSTA
BAUDCON
EEADR
EEDATA
EECON2
EECON1
IPR3
PIR3
PIE3
IPR2
PIR2
PIE2
Address Name
F9Fh IPR1
F9Eh PIR1
F9Dh PIE1
F9Ch
—(2)
F9Bh OSCTUNE
F9Ah ADCON3
F99h ADCHS
F98h
—(2)
F97h
—(2)
F96h TRISE(3)
F95h TRISD(3)
F94h TRISC
F93h TRISB
F92h TRISA
F91h PR5H
F90h PR5L
F8Fh
—(2)
F8Eh
—(2)
F8Dh LATE(3)
F8Ch LATD(3)
F8Bh LATC
F8Ah LATB
F89h LATA
F88h TMR5H
F87h TMR5L
F86h
—(2)
F85h
—(2)
F84h PORTE
F83h PORTD(3)
F82h PORTC
F81h PORTB
F80h PORTA
Address
F7Fh
F7Eh
F7Dh
F7Ch
F7Bh
F7Ah
F79h
F78h
F77h
F76h
F75h
F74h
F73h
F72h
F71h
F70h
F6Fh
F6Eh
F6Dh
F6Ch
F6Bh
F6Ah
F69h
F68h
F67h
F66h
F65h
F64h
F63h
F62h
F61h
F60h
Name
PTCON0
PTCON1
PTMRL
PTMRH
PTPERL
PTPERH
PDC0L
PDC0H
PDC1L
PDC1H
PDC2L
PDC2H
PDC3L(3)
PDC3H(3)
SEVTCMPL
SEVTCMPH
PWMCON0
PWMCON1
DTCON
FLTCONFIG
OVDCOND
OVDCONS
CAP1BUFH
CAP1BUFL
CAP2BUFH
CAP2BUFL
CAP3BUFH
CAP3BUFL
CAP1CON
CAP2CON
CAP3CON
DFLTCON
Note 1:
2:
3:
This is not a physical register.
Unimplemented registers are read as ‘0’.
This register is not available on 28-pin devices.
 2010 Microchip Technology Inc.
DS39616D-page 69