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

PFS122-1J16A 参数 Datasheet PDF下载

PFS122-1J16A图片预览
型号: PFS122-1J16A
PDF下载: 下载PDF文件 查看货源
内容描述: [8bit MTP Type MCU with 12-bit R-Type ADC]
分类和应用:
文件页数/大小: 93 页 / 1946 K
品牌: PADAUK [ PADAUK Technology ]
 浏览型号PFS122-1J16A的Datasheet PDF文件第47页浏览型号PFS122-1J16A的Datasheet PDF文件第48页浏览型号PFS122-1J16A的Datasheet PDF文件第49页浏览型号PFS122-1J16A的Datasheet PDF文件第50页浏览型号PFS122-1J16A的Datasheet PDF文件第52页浏览型号PFS122-1J16A的Datasheet PDF文件第53页浏览型号PFS122-1J16A的Datasheet PDF文件第54页浏览型号PFS122-1J16A的Datasheet PDF文件第55页  
PFS122  
8bit MTP MCU with 12-bit R-Type ADC  
instruction (enable global interrupt) to enable interrupt operation and disgint instruction (disable global  
interrupt) to disable it.  
The stack memory for interrupt is shared with data memory and its address is specified by stack register sp.  
Since the program counter is 16 bits width, the bit 0 of stack register sp should be kept 0. Moreover, user can  
use pushaf / popaf instructions to store or restore the values of ACC and flag register to / from stack  
memory. Since the stack memory is shared with data memory, the stack position and level are arranged by  
the compiler in Mini-C project. When defining the stack level in ASM project, users should arrange their  
locations carefully to prevent address conflicts.  
Fig.16: Hardware diagram of interrupt controller  
Once the interrupt occurs, its operation will be:  
The program counter will be stored automatically to the stack memory specified by register sp.  
New sp will be updated to sp+2.  
Global interrupt will be disabled automatically.  
The next instruction will be fetched from address 0x010.  
During the interrupt service routine, the interrupt source can be determined by reading the intrq register.  
Note: Even if INTEN=0, INTRQ will be still triggered by the interrupt source.  
After finishing the interrupt service routine and issuing the reti instruction to return back, its operation will be:  
The program counter will be restored automatically from the stack memory specified by register sp.  
New sp will be updated to sp-2.  
Global interrupt will be enabled automatically.  
The next instruction will be the original one before interrupt.  
©Copyright 2020, PADAUK Technology Co. Ltd  
Page 51 of 93  
PDK-DS-PFS122-EN_V000-May 28, 2020  
 复制成功!