PIC10F222 Microchip Technology Inc., PIC10F222 Datasheet - Page 16

no-image

PIC10F222

Manufacturer Part Number
PIC10F222
Description
High-performance Microcontrollers With 8-bit A/d
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC10F222-I/MC
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC10F222-I/P
Manufacturer:
Microchip
Quantity:
1 297
Part Number:
PIC10F222-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC10F222T-E/OT
Manufacturer:
NEC
Quantity:
6 000
Part Number:
PIC10F222T-E/OTVAO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC10F222T-I/OT
Manufacturer:
Microchip Technology
Quantity:
26 846
Part Number:
PIC10F222T-I/OT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC10F222T-I/OT
0
PIC10F220/222
4.3
Data memory is composed of registers or bytes of
RAM. Therefore, data memory for a device is specified
by its register file. The register file is divided into two
functional groups: Special Function Registers (SFR)
and General Purpose Registers (GPR).
The Special Function Registers include the TMR0 reg-
ister, the Program Counter (PCL), the STATUS register,
the I/O register (GPIO) and the File Select Register
(FSR). In addition, Special Function Registers are used
to control the I/O port configuration and prescaler
options.
The General Purpose Registers are used for data and
control information under command of the instructions.
For the PIC10F220, the register file is composed of 9
Special Function Registers and 16 General Purpose
Registers (Figure 4-3, Figure 4-4).
For the PIC10F222, the register file is composed of 9
Special Function Registers and 23 General Purpose
Registers (Figure 4-4).
4.3.1
The General Purpose Register file is accessed, either
directly or indirectly, through the File Select Register
(FSR). See Section 4.9 “Indirect Data Addressing;
INDF and FSR Registers”.
FIGURE 4-3:
DS41270E-page 14
Note 1: Not a physical register. See Section 4.9
File Address
Data Memory Organization
2: Unimplemented, read as 00h.
GENERAL PURPOSE REGISTER
FILE
“Indirect Data Addressing; INDF and
FSR Registers”.
00h
01h
02h
03h
04h
05h
06h
07h
0Fh
10h
1Fh
08h
09h
Unimplemented
PIC10F220 REGISTER
FILE MAP
ADCON0
Registers
Purpose
OSCCAL
General
ADRES
STATUS
INDF
TMR0
GPIO
PCL
FSR
(1)
(2)
FIGURE 4-4:
4.3.2
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 Function 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.
Note 1: Not a physical register. See Section 4.9
File Address
SPECIAL FUNCTION REGISTERS
“Indirect Data Addressing; INDF and
FSR Registers”.
1Fh
00h
01h
02h
03h
04h
05h
06h
07h
08h
09h
PIC10F222 REGISTER
FILE MAP
© 2007 Microchip Technology Inc.
Registers
ADCON0
Purpose
OSCCAL
General
STATUS
ADRES
INDF
TMR0
GPIO
PCL
FSR
(1)

Related parts for PIC10F222