English
Language : 

PIC12C5XX Datasheet, PDF (15/113 Pages) Microchip Technology – 8-Pin, 8-Bit CMOS Microcontrollers
PIC12C5XX
4.2.2 SPECIAL FUNCTION REGISTERS
The Special Function Registers (SFRs) are registers
used by the CPU and peripheral functions to control
the operation of the device (Table 4-1).
The special registers can be classified into two sets.
The special function registers associated with the
“core” functions are described in this section. Those
related to the operation of the peripheral features are
described in the section for each peripheral feature.
TABLE 4-1: SPECIAL FUNCTION REGISTER (SFR) SUMMARY
Address Name
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3
Bit 2
Bit 1 Bit 0
Value on
Power-On
Reset
Value on
All Other
Resets(2)
N/A
TRIS
—
—
--11 1111 --11 1111
Contains control bits to configure Timer0, Timer0/WDT
N/A
OPTION
prescaler, wake-up on change, and weak pull-ups
1111 1111 1111 1111
00h
INDF
Uses contents of FSR to address data memory (not a physical register)
xxxx xxxx uuuu uuuu
01h
02h(1)
03h
04h
04h
05h
05h
06h
TMR0
8-bit real-time clock/counter
PCL
Low order 8 bits of PC
STATUS
GPWUF
—
PA0
TO
FSR
(PIC12C508/
PIC12C508A/
PIC12C518)
Indirect data memory address pointer
FSR
(PIC12C509/
PIC12C509A/
PIC12CR509A/
PIC12CE519) Indirect data memory address pointer
OSCCAL
(PIC12C508/
PIC12C509)
CAL3 CAL2 CAL1 CAL0
OSCCAL
(PIC12C508A/
PIC12C509A/
PIC12CE518/
PIC12CE519/
PIC12CR509A)
CAL5
CAL4 CAL3 CAL2
GPIO
(PIC12C508/
PIC12C509/
PIC12C508A/
PIC12C509A/
PIC12CR509A) —
—
GP5
GP4
PD
—
CAL1
GP3
xxxx xxxx uuuu uuuu
1111 1111 1111 1111
Z
DC
C
0001 1xxx q00q quuu(3)
111x xxxx 111u uuuu
110x xxxx 11uu uuuu
—
— — 0111 ---- uuuu ----
CAL0 — — 1000 00-- uuuu uu--
GP2 GP1 GP0 --xx xxxx --uu uuuu
GPIO
(PIC12CE518/
06h
PIC12CE519)
SCL
SDA
GP5
GP4
GP3
GP2 GP1 GP0 11xx xxxx 11uu uuuu
Legend:
Note 1:
2:
3:
Shaded boxes = unimplemented or unused, — = unimplemented, read as ’0’ (if applicable)
x = unknown, u = unchanged, q = see the tables in Section 8.7 for possible values.
The upper byte of the Program Counter is not directly accessible. See Section 4.6
for an explanation of how to access these bits.
Other (non power-up) resets include external reset through MCLR, watchdog timer and wake-up on pin change reset.
If reset was due to wake-up on pin change then bit 7 = 1. All other resets will cause bit 7 = 0.
© 1999 Microchip Technology Inc.
DS40139E-page 15