欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC16F722-I/SS 参数 Datasheet PDF下载

PIC16F722-I/SS图片预览
型号: PIC16F722-I/SS
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚闪存单片机采用纳瓦XLP技术 [28/40/44-Pin Flash Microcontrollers with nanoWatt XLP Technology]
分类和应用: 闪存微控制器
文件页数/大小: 302 页 / 4540 K
品牌: MICROCHIP [ MICROCHIP TECHNOLOGY ]
 浏览型号PIC16F722-I/SS的Datasheet PDF文件第185页浏览型号PIC16F722-I/SS的Datasheet PDF文件第186页浏览型号PIC16F722-I/SS的Datasheet PDF文件第187页浏览型号PIC16F722-I/SS的Datasheet PDF文件第188页浏览型号PIC16F722-I/SS的Datasheet PDF文件第190页浏览型号PIC16F722-I/SS的Datasheet PDF文件第191页浏览型号PIC16F722-I/SS的Datasheet PDF文件第192页浏览型号PIC16F722-I/SS的Datasheet PDF文件第193页  
PIC16F72X/PIC16LF72X
18.0
PROGRAM MEMORY READ
The Flash program memory is readable during normal
operation over the full V
DD
range of the device. To read
data from Program Memory, five Special Function
Registers (SFRs) are used:
PMCON1
PMDATL
PMDATH
PMADRL
PMADRH
The value written to the PMADRH:PMADRL register
pair determines which program memory location is
read. The read operation will be initiated by setting the
RD bit of the PMCON1 register. The program memory
flash controller takes two instructions to complete the
read, causing the second instruction after the setting
the RD bit will be ignored. To avoid conflict with pro-
gram execution, it is recommended that the two instruc-
tions following the setting of the RD bit are
NOP.
When
the read completes, the result is placed in the
PMDATLH:PMDATL
register
pair.
Refer
to
Note:
Code-protect does not effect the CPU
from performing a read operation on the
program memory. For more information,
refer to
EXAMPLE 18-1:
BANKSEL
MOVF
MOVWF
MOVF
MOVWF
BANKSEL
BSF
NOP
NOP
BANKSEL
MOVF
MOVWF
MOVF
MOVWF
PROGRAM MEMORY READ
PMADRL
;
MS_PROG_ADDR, W ;
PMADRH
;MS Byte of Program Address to read
LS_PROG_ADDR, W ;
PMADRL
;LS Byte of Program Address to read
PMCON1
;
PMCON1, RD
;Initiate Read
;Any instructions here are ignored as program
;memory is read in second cycle after BSF
;
;W = LS Byte of Program Memory Read
;
;W = MS Byte of Program Memory Read
;
Required
Sequence
PMDATL
PMDATL, W
LOWPMBYTE
PMDATH, W
HIGHPMBYTE
©
2009 Microchip Technology Inc.
DS41341E-page 189