
2010-2012 Microchip Technology Inc.
DS39977F-page 111
PIC18F66K80 FAMILY
6.3.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. SFRs start at the top of
data memory (FFFh) and extend downward to occupy
all of Bank 15 (F00h to FFFh) and the top part of
Bank 14 (EF4h to EFFh).
A list of these registers is given in
Table 6-1 and
The SFRs can be classified into two sets: those
associated with the “core” device functionality (ALU,
Resets and interrupts) and those related to the
peripheral functions. The Reset and Interrupt registers
are described in their respective chapters, while the
ALU’s STATUS register is described later in this section.
Registers related to the operation of the peripheral
features are described in the chapter for that peripheral.
The SFRs are typically distributed among the
peripherals whose functions they control. Unused SFR
locations are unimplemented and read as ‘0’s.
TABLE 6-1:
SPECIAL FUNCTION REGISTER MAP FOR PIC18F66K80 FAMILY
Addr.
Name
Addr.
Name
Addr.
Name
Addr.
Name
Addr.
Name
Addr.
Name
FFFh
TOSU
FDFh
FBFh
ECCP1AS
F9Fh
IPR1
F7Fh
EECON1
FFEh
TOSH
FDEh
FBEh
ECCP1DEL
F9Eh
PIR1
F7Eh
EECON2
FFDh
TOSL
FDDh
FBDh
CCPR1H
F9Dh
PIE1
F7Dh SPBRGH1
FFCh
STKPTR
FDCh
FBCh
CCPR1L
F9Ch
PSTR1CON
F7Ch SPBRGH2
FFBh
PCLATU
FDBh
FBBh
CCP1CON
F9Bh
OSCTUNE
F7Bh
SPBRG2
F5Bh
FFAh
PCLATH
FDAh
FSR2H
FBAh
TXSTA2
F9Ah
REFOCON
F7Ah
RCREG2
F5Ah
FF9h
PCL
FD9h
FSR2L
FB9h
BAUDCON2
F99h
CCPTMRS
F79h
TXREG2
F59h
FF8h
TBLPTRU
FD8h
STATUS
FB8h
IPR4
F98h
F78h
IPR5
F58h
FF7h
TBLPTRH
FD7h
TMR0H
FB7h
PIR4
F97h
F77h
PIR5
F57h
FF6h
TBLPTRL
FD6h
TMR0L
FB6h
PIE4
F96h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
F61h RXB0SIDH
F41h
FE0h
BSR
FC1h
ADCON1
FA0h
PIE2
F80h
PORTA
F60h RXB0CON
F40h
FC0h
ADCON2
Note
1:
This is not a physical register.
2:
Unimplemented registers are read as ‘0’.
3:
This register is only available on devices with 64 pins.
4:
This register is not available on devices with 28 pins.
5:
Addresses, E41h through F5Fh, are also used by the SFRs, but are not part of the Access RAM. To access these registers, users must
always load the proper BSR value.