PIC16C54A-04I/SS Microchip Technology, PIC16C54A-04I/SS Datasheet - Page 35
![IC MCU OTP 512X12 20SSOP](/photos/6/58/65895/150-20-ssop_sml.jpg)
PIC16C54A-04I/SS
Manufacturer Part Number
PIC16C54A-04I/SS
Description
IC MCU OTP 512X12 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheet
1.PIC16LC58B-04P.pdf
(194 pages)
Specifications of PIC16C54A-04I/SS
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
12
Program Memory Size
768B (512 x 12)
Program Memory Type
OTP
Ram Size
25 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
- Current page: 35 of 194
- Download datasheet (3Mb)
6.7
The INDF Register is not a physical register.
Addressing INDF actually addresses the register
whose address is contained in the FSR Register (FSR
is a pointer ). This is indirect addressing.
EXAMPLE 6-1:
• Register file 08 contains the value 10h
• Register file 09 contains the value 0Ah
• Load the value 08 into the FSR Register
• A read of the INDF Register will return the value
• Increment the value of the FSR Register by one
• A read of the INDF register now will return the
Reading INDF itself indirectly (FSR = 0) will produce
00h. Writing to the INDF Register indirectly results in a
no-operation (although STATUS bits may be affected).
A simple program to clear RAM locations 10h-1Fh
using indirect addressing is shown in Example 6-2.
FIGURE 6-10:
bank select
of 10h
(FSR = 09h)
value of 0Ah.
2002 Microchip Technology Inc.
Note 1: For register map detail see Section 6.2.
(FSR)
6
5
Indirect Data Addressing; INDF
and FSR Registers
Direct Addressing
location select
Data
Memory
4
INDIRECT ADDRESSING
DIRECT/INDIRECT ADDRESSING
3
(opcode)
(1)
2
1Fh
00h
0Fh
10h
1
0
Bank 0
00
3Fh
Bank 1
01
Preliminary
Addresses map back to
addresses in Bank 0.
5Fh
Bank 2
10
EXAMPLE 6-2:
NEXT
CONTINUE
The FSR is either a 5-bit (PIC16C54, PIC16CR54,
PIC16C55,
(PIC16C57, PIC16CR57, PIC16C58, PIC16CR58)
wide register. It is used in conjunction with the INDF
Register to indirectly address the data memory area.
The FSR<4:0> bits are used to select data memory
addresses 00h to 1Fh.
PIC16C54,
PIC16CR56: These do not use banking. FSR<6:5> bits
are unimplemented and read as '1's.
PIC16C57, PIC16CR57, PIC16C58, PIC16CR58:
FSR<6:5> are the bank select bits and are used to
select the bank to be addressed (00 = bank 0,
01 = bank 1, 10 = bank 2, 11 = bank 3).
7Fh
Bank 3
11
MOVLW
MOVWF
CLRF
INCF
BTFSC
GOTO
:
PIC16CR54,
PIC16C56,
HOW TO CLEAR RAM
USING INDIRECT
ADDRESSING
H’10’
FSR
INDF
FSR,F
FSR,4
NEXT
6
Indirect Addressing
PIC16C5X
bank
PIC16CR56)
5
PIC16C55,
;initialize pointer
; to RAM
;clear INDF Register
;inc pointer
;all done?
;NO, clear next
;YES, continue
4
(FSR)
3
DS30453D-page 33
location select
2
PIC16C56,
1
or
0
7-bit
Related parts for PIC16C54A-04I/SS
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C54A-04I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54A-04/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54A-04/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54A-20/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54A-20/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54A-04E/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54A-20I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54A/JW](/photos/12/13/121351/150-18-cdip_tmb.jpg)
Part Number:
Description:
IC MCU EPROM 512X12 18CDIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54A-04/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SSOP,20PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54A-10/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54A-20I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54A-10/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54A-20/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54A-10I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54A-20I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU OTP 512X12 18DIP
Manufacturer:
Microchip Technology
Datasheet: