PIC10F220EOT MICROCHIP [Microchip Technology], PIC10F220EOT Datasheet - Page 17

no-image

PIC10F220EOT

Manufacturer Part Number
PIC10F220EOT
Description
6-Pin, 8-Bit Flash Microcontrollers
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
TABLE 4-1:
4.4
This register contains the arithmetic status of the ALU,
the Reset status and the page preselect bit.
The STATUS register can be the destination for any
instruction, as with any other register. If the STATUS
register is the destination for an instruction that affects
the Z, DC or C bits, then the write to these three bits is
disabled. These bits are set or cleared according to the
device logic. Furthermore, the TO and PD bits are not
writable. Therefore, the result of an instruction with the
STATUS register as destination may be different than
intended.
For example, CLRF STATUS will clear the upper three
bits and set the Z bit. This leaves the STATUS register
as 000u u1uu (where u = unchanged).
Therefore, it is recommended that only BCF, BSF and
MOVWF instructions be used to alter the STATUS regis-
ter. These instructions do not affect the Z, DC or C bits
from the STATUS register. For other instructions, which
do affect STATUS bits, see Instruction Set Summary.
© 2006 Microchip Technology Inc.
00h
01h
02h
03h
04h
05h
06h
07h
08h
N/A
N/A
Legend:
Note 1:
Address
2:
3:
STATUS Register
INDF
TMR0
PCL
STATUS
FSR
OSCCAL
GPIO
ADCON0
ADRES
TRISGPIO
OPTION
– = unimplemented, read as ‘0’, x = unknown, u = unchanged, q = value depends on condition.
The upper byte of the Program Counter is not directly accessible. See Section 4.7 “Program Counter” 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.
See Table 8-1 for other Reset specific values.
Name
(1)
SPECIAL FUNCTION REGISTER (SFR) SUMMARY
Uses contents of FSR to address data memory (not a physical register)
8-Bit Real-Time Clock/Counter
Low Order 8 Bits of PC
Indirect Data Memory Address Pointer
Result of Analog-to-Digital Conversion
GPWUF
GPWU
CAL6
ANS1
Bit 7
GPPU
ANS0
CAL5
Bit 6
T0CS
CAL4
Bit 5
CAL3
T0SE
Bit 4
TO
Preliminary
I/O Control Register
CHS1
CAL2
Bit 3
GP3
PSA
PD
CHS0
CAL1
Bit 2
GP2
PS2
Z
GO/DONE
CAL0
Bit 1
GP1
PS1
DC
PIC10F220/222
FOSC4
ADON
Bit 0
GP0
PS0
C
0--1 1xxx
xxxx xxxx
xxxx xxxx
1111 1111
111x xxxx
1111 1110
---- xxxx
11-- 1100
xxxx xxxx
---- 1111
1111 1111
Power-On
Value on
Reset
DS41270B-page 15
(2)
(3)
Page #
20
25
19
15
20
18
21
30
31
23
17

Related parts for PIC10F220EOT