PIC16F57 Microchip Technology Inc., PIC16F57 Datasheet - Page 16

no-image

PIC16F57

Manufacturer Part Number
PIC16F57
Description
Flash-based, 8-bit Cmos Microcontroller Series
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F57-I/P
Manufacturer:
Microchip Technology
Quantity:
26 657
Part Number:
PIC16F57-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F57-I/P
0
Part Number:
PIC16F57-I/SO
Manufacturer:
PANASONIC
Quantity:
12 933
Part Number:
PIC16F57-I/SO
Manufacturer:
MIC
Quantity:
20 000
Part Number:
PIC16F57-I/SO
0
Part Number:
PIC16F57-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16F5X
3.2
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
register, the Program Counter (PC), the STATUS regis-
ter, the I/O registers (ports) and the File Select Register
(FSR). In addition, Special Purpose 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 PIC16F54, the register file is composed of 7
Special Function Registers and 25 General Purpose
Registers (Figure 3-3).
For the PIC16F57, the register file is composed of 8
Special Function Registers, 8 General Purpose
Registers
Registers that may be addressed using a banking
scheme (Figure 3-4).
For the PIC16F59, the register file is composed of 10
Special Function Registers, 6 General Purpose
Registers and 128 additional General Purpose
Registers that may be addressed using a banking
scheme (Figure 3-5).
FIGURE 3-4:
DS41213D-page 14
Note 1:
Data Memory Organization
and
File Address
FSR<6:5>
64
Not a physical register. See Section 3.7 “Indirect Data Addressing; INDF and FSR Registers”.
0Fh
1Fh
00h
01h
02h
03h
04h
05h
06h
07h
08h
10h
PIC16F57 REGISTER FILE MAP
additional
General
Purpose
Registers
General
Purpose
Registers
STATUS
PORTB
PORTC
PORTA
INDF
TMR0
Bank 0
PCL
FSR
00
(1)
General
2Fh
30h
3Fh
20h
Purpose
General
Purpose
Registers
Bank 1
01
Addresses map back to
addresses in Bank 0.
5Fh
40h
50h
4Fh
3.2.1
The register file is accessed either directly or indirectly
through the File Select Register (FSR). The FSR
register is described in Section 3.7 “Indirect Data
Addressing; INDF and FSR Registers”.
FIGURE 3-3:
General
Purpose
Registers
Note 1:
Bank 2
10
File Address
GENERAL PURPOSE REGISTER
FILE
Not a physical register. See Section 3.7
“Indirect Data Addressing; INDF and FSR
Registers”
70h
7Fh
60h
6Fh
1Fh
00h
01h
02h
03h
04h
05h
06h
07h
General
Purpose
Registers
Bank 3
11
.
PIC16F54 REGISTER FILE
MAP
© 2007 Microchip Technology Inc.
Registers
Purpose
General
STATUS
PORTB
PORTA
INDF
TMR0
PCL
FSR
(1)

Related parts for PIC16F57