PIC16F526-E/MG Microchip Technology, PIC16F526-E/MG Datasheet - Page 22
![1.5KB Flash Program, 64B Flash Data, 8MHz Internal Oscillator, 8b ADC, 2x Compar](/photos/6/90/69062/c04-142_16-qfn_sml.jpg)
PIC16F526-E/MG
Manufacturer Part Number
PIC16F526-E/MG
Description
1.5KB Flash Program, 64B Flash Data, 8MHz Internal Oscillator, 8b ADC, 2x Compar
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheet
1.PIC16F526-ISL.pdf
(122 pages)
Specifications of PIC16F526-E/MG
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
POR, WDT
Number Of I /o
11
Program Memory Size
1.5KB (1K x 12)
Program Memory Type
FLASH
Ram Size
67 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 3x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
16-QFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 22 of 122
- Download datasheet (2Mb)
PIC16F526
4.8
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.
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).
The FSR is an 8-bit 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.
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).
FSR<7> is unimplemented and read as ‘1’.
FIGURE 4-4:
DS41326E-page 22
bank select
Note 1: For register map detail see Figure 4-1.
(FSR)
6
Indirect Data Addressing: INDF
and FSR Registers
5
Direct Addressing
location select
Data
Memory
4
DIRECT/INDIRECT ADDRESSING
3
(opcode)
(1)
2
00h
0Ch
0Dh
0Fh
10h
1Fh
1
0
Bank 0
00
2Fh
3Fh
Bank 1
01
Addresses map back to
addresses in Bank 0.
4Fh
5Fh
Bank 2
10
A simple program to clear RAM locations 10h-1Fh
using indirect addressing is shown in Example 4-1.
EXAMPLE 4-1:
NEXT
CONTINUE
6Fh
7Fh
Bank 3
11
MOVLW
MOVWF
CLRF
INCF
BTFSC
GOTO
:
:
0x10
FSR
INDF
FSR,F
FSR,4
NEXT
HOW TO CLEAR RAM
USING INDIRECT
ADDRESSING
2010 Microchip Technology Inc.
6
;initialize pointer
;to RAM
;clear INDF
;register
;inc pointer
;all done?
;NO, clear next
;YES, continue
Indirect Addressing
bank
select
5
4
(FSR)
3
location select
2
1
0
Related parts for PIC16F526-E/MG
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16F526-I/SL](/photos/6/59/65933/150-14-soic_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 1KX12 14SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F526-E/P](/photos/6/59/65935/150-14-dip_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 1KX12 14DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F526-I/P](/photos/6/59/65935/150-14-dip_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 1KX12 14DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F526-E/SL](/photos/6/59/65933/150-14-soic_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 1KX12 14SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F526-E/ST](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
1.5KB Flash Program, 64B Flash Data, 8MHz Internal Oscillator, 8b ADC, 2x Compar
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F526-I/MG](/photos/12/23/122358/pic16f526-i_mg_tmb.jpg)
Part Number:
Description:
1.5KB Flash Program, 64B Flash Data, 8MHz Internal Oscillator, 8b ADC, 2x Compar
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F526-I/ST](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
1.5KB Flash Program, 64B Flash Data, 8MHz Internal Oscillator, 8b ADC, 2x Compar
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SOIC-18
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SSOP-20
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, DIP-18
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/ML](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/MV](/photos/12/13/121305/c04-152_mv_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/MV](/photos/12/13/121305/c04-152_mv_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SSOP-20
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F727-E/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 20MHZ, DIP-40
Manufacturer:
Microchip Technology
Datasheet: