Datasheet

Table Of Contents
© 2007 Microchip Technology Inc. DS39605F-page 49
PIC18F1220/1320
5.9.2 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 5-1 and Table 5-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 5-1: SPECIAL FUNCTION REGISTER MAP FOR PIC18F1220/1320 DEVICES
Address Name Address Name Address Name Address Name
FFFh TOSU FDFh INDF2
(2)
FBFh CCPR1H F9Fh IPR1
FFEh TOSH FDEh POSTINC2
(2)
FBEh CCPR1L F9Eh PIR1
FFDh TOSL FDDh POSTDEC2
(2)
FBDh CCP1CON F9Dh PIE1
FFCh STKPTR FDCh PREINC2
(2)
FBCh F9Ch
FFBh PCLATU FDBh PLUSW2
(2)
FBBh F9Bh OSCTUNE
FFAh PCLATH FDAh FSR2H FBAh F9Ah
FF9h PCL FD9h FSR2L FB9h F99h
FF8h TBLPTRU FD8h STATUS FB8h F98h
FF7h TBLPTRH FD7h TMR0H FB7h PWM1CON F97h
FF6h TBLPTRL FD6h TMR0L FB6h ECCPAS F96h
FF5h TABLAT FD5h T0CON FB5h F95h
FF4h PRODH FD4h FB4h F94h
FF3h PRODL FD3h OSCCON FB3h TMR3H F93h TRISB
FF2h INTCON FD2h LVDCON FB2h TMR3L F92h TRISA
FF1h INTCON2 FD1h WDTCON FB1h T3CON F91h
FF0h INTCON3 FD0h RCON FB0h SPBRGH F90h
FEFh INDF0
(2)
FCFh TMR1H FAFh SPBRG F8Fh
FEEh POSTINC0
(2)
FCEh TMR1L FAEh RCREG F8Eh
FEDh POSTDEC0
(2)
FCDh T1CON FADh TXREG F8Dh
FECh PREINC0
(2)
FCCh TMR2 FACh TXSTA F8Ch
FEBh PLUSW0
(2)
FCBh PR2 FABh RCSTA F8Bh
FEAh FSR0H FCAh T2CON FAAh BAUDCTL F8Ah LATB
FE9h FSR0L FC9h FA9h EEADR F89h LATA
FE8h WREG FC8h FA8h EEDATA F88h
FE7h INDF1
(2)
FC7h FA7h EECON2 F87h
FE6h POSTINC1
(2)
FC6h FA6h EECON1 F86h
FE5h POSTDEC1
(2)
FC5h FA5h F85h
FE4h PREINC1
(2)
FC4h ADRESH FA4h F84h
FE3h PLUSW1
(2)
FC3h ADRESL FA3h F83h
FE2h FSR1H FC2h ADCON0 FA2h IPR2 F82h
FE1h FSR1L FC1h ADCON1 FA1h PIR2 F81h PORTB
FE0h BSR FC0h ADCON2 FA0h PIE2 F80h PORTA
Note 1: Unimplemented registers are read as0’.
2: This is not a physical register.