Electronic Components Datasheet Search
  Indian  ▼
ALLDATASHEET.IN

X  

PIC16F15213 Datasheet(PDF) 35 Page - Microchip Technology

Part # PIC16F15213
Description  PIC16F15213/14/23/24/43/44 Low Pin Count Microcontrollers
PDF  439 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F15213 Datasheet(HTML) 35 Page - Microchip Technology

Back Button PIC16F15213 Datasheet HTML 31Page - Microchip Technology PIC16F15213 Datasheet HTML 32Page - Microchip Technology PIC16F15213 Datasheet HTML 33Page - Microchip Technology PIC16F15213 Datasheet HTML 34Page - Microchip Technology PIC16F15213 Datasheet HTML 35Page - Microchip Technology PIC16F15213 Datasheet HTML 36Page - Microchip Technology PIC16F15213 Datasheet HTML 37Page - Microchip Technology PIC16F15213 Datasheet HTML 38Page - Microchip Technology PIC16F15213 Datasheet HTML 39Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 35 / 439 page
background image
RETLW DATA1
;Index1 data
RETLW DATA2
RETLW DATA3
my_function
;LOTS OF CODE....
MOVLW
DATA_INDEX
call constants
;THE CONSTANT IS IN W
The BRW instruction eases the implementation of this type of table.
9.1.1.2
Indirect Read with FSR
The program memory can be accessed as data by setting bit 7 of an FSRxH register and reading the matching
INDFx register. The MOVIW instruction will place the lower eight bits of the addressed word in the W register. Writes
to the program memory cannot be performed via the INDFx registers. Instructions that read the program memory via
the FSR require one extra instruction cycle to complete. The following example demonstrates reading the program
memory via an FSR.
The high directive will set bit 7 if a label points to a location in the program memory. This applies to the assembly
code shown below.
Example 9-2. Read of Program Memory Using FSR Register
constants
RETLW DATA0
;Index0 data
RETLW DATA1
;Index1 data
RETLW DATA2
RETLW DATA3
my_function
;LOTS OF CODE....
MOVLW
LOW constants
MOVWF
FSR1L
MOVLW
HIGH constants
MOVWF
FSR1H
MOVIW
2[FSR1]
;DATA2 IS IN W
9.1.2
Memory Access Partition (MAP)
User Flash is partitioned into:
• Application Block
• Boot Block
• Storage Area Flash (SAF) Block
The user can allocate the memory usage by setting the BBEN bit, selecting the size of the partition defined by
BBSIZE bits and enabling the Storage Area Flash by the SAFEN bit.
9.1.2.1
Application Block
Default settings of the Configuration bits (BBEN = 1 and SAFEN = 1) assign all memory in the user Flash area to the
application block.
9.1.2.2
Boot Block
If BBEN = 1, the Boot Block is enabled and a specific address range is allotted as the Boot Block, based on the value
of the BBSIZE bits.
9.1.2.3
Storage Area Flash
Storage Area Flash (SAF) is enabled by clearing the SAFEN bit. If enabled, the SAF block is placed at the end of
memory and spans 128 words. If the Storage Area Flash (SAF) is enabled, the SAF area is not available for program
execution.
PIC16F15213/14/23/24/43/44
Memory Organization
© 2020-2022 Microchip Technology Inc.
and its subsidiaries
Data Sheet
DS40002195E-page 35



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com