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

SST89E516RD2-40-C-NJE 参数 Datasheet PDF下载

SST89E516RD2-40-C-NJE图片预览
型号: SST89E516RD2-40-C-NJE
PDF下载: 下载PDF文件 查看货源
内容描述: FlashFlex MCU [FlashFlex MCU]
分类和应用: 外围集成电路微控制器PC时钟
文件页数/大小: 81 页 / 832 K
品牌: SST [ SILICON STORAGE TECHNOLOGY, INC ]
 浏览型号SST89E516RD2-40-C-NJE的Datasheet PDF文件第47页浏览型号SST89E516RD2-40-C-NJE的Datasheet PDF文件第48页浏览型号SST89E516RD2-40-C-NJE的Datasheet PDF文件第49页浏览型号SST89E516RD2-40-C-NJE的Datasheet PDF文件第50页浏览型号SST89E516RD2-40-C-NJE的Datasheet PDF文件第52页浏览型号SST89E516RD2-40-C-NJE的Datasheet PDF文件第53页浏览型号SST89E516RD2-40-C-NJE的Datasheet PDF文件第54页浏览型号SST89E516RD2-40-C-NJE的Datasheet PDF文件第55页  
FlashFlex MCU  
SST89E516RD2 / SST89E516RD  
SST89V516RD2 / SST89V516RD  
Data Sheet  
8.3.2 16-Bit Software Timer Mode  
If necessary, a new 16-bit compare value can be loaded  
into CCAPnH and CCAPnL during the interrupt routine.  
The user should be aware that the hardware temporarily  
disables the comparator function while these registers are  
being updated so that an invalid match will not occur. Thus,  
it is recommended that the user write to the low byte first  
(CCAPnL) to disable the comparator, then write to the high  
byte (CCAPnH) to re-enable it. If any updates to the regis-  
ters are done, the user may want to hold off any interrupts  
from occurring by clearing the EA bit. (See Figure 8-3)  
The 16-bit software timer mode is used to trigger interrupt  
routines, which must occur at periodic intervals. It is setup  
by setting both the ECOM and MAT bits in the module’s  
CCAPMn register. The PCA timer will be compared to the  
module’s capture registers (CCAPnL and CCAPnH) and  
when a match occurs, an interrupt will occur, if the CCFn  
(CCON SFR) and the ECCFn (CCAPMn SFR) bits for the  
module are both set.  
CF  
CR  
CCF4 CCF3 CCF2 CCF1 CCF0  
CCON  
Write to  
CCAPnL Reset  
PCA Interrupt  
Write to  
CCAPnH  
CCAPnH  
CCAPnL  
1
0
Enable  
Match  
16-bit Comparator  
CH  
CL  
PCA Timer/Counter  
CCAPMn  
ECOMn CAPPn CAPNn MATn TOGn PWMn ECCFn  
n=0 to 4  
0
0
0
0
1273 F22.0  
FIGURE  
8-3: PCA Compare Mode (Software Timer)  
©2007 Silicon Storage Technology, Inc.  
S71273-03-000  
1/07  
51  
 复制成功!