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

C8051F502-IM 参数 Datasheet PDF下载

C8051F502-IM图片预览
型号: C8051F502-IM
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用: 微控制器和处理器外围集成电路PC时钟
文件页数/大小: 312 页 / 2813 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F502-IM的Datasheet PDF文件第287页浏览型号C8051F502-IM的Datasheet PDF文件第288页浏览型号C8051F502-IM的Datasheet PDF文件第289页浏览型号C8051F502-IM的Datasheet PDF文件第290页浏览型号C8051F502-IM的Datasheet PDF文件第292页浏览型号C8051F502-IM的Datasheet PDF文件第293页浏览型号C8051F502-IM的Datasheet PDF文件第294页浏览型号C8051F502-IM的Datasheet PDF文件第295页  
C8051F50x-F51x  
PCA Interrupt  
PCA0CPMn  
PCA0CN  
P E C C M T P E  
W C A A A O W C  
M O P P T G M C  
1 M P N n n n F  
C C C C C C C C  
F R C C C C C C  
F F F F F F  
5 4 3 2 1 0  
6 n n n  
n
n
x x  
0 0 0 x  
PCA0CPLn  
PCA0CPHn  
0
1
CEXn  
Capture  
Port I/O  
Crossbar  
0
1
PCA  
Timebase  
PCA0L  
PCA0H  
Figure 27.4. PCA Capture Mode Diagram  
Note: The CEXn input signal must remain high or low for at least 2 system clock cycles to be recognized by the  
hardware.  
27.3.2. Software Timer (Compare) Mode  
In Software Timer mode, the PCA counter/timer value is compared to the module's 16-bit capture/compare  
register (PCA0CPHn and PCA0CPLn). When a match occurs, the Capture/Compare Flag (CCFn) in  
PCA0CN is set to logic 1. An interrupt request is generated if the CCFn interrupt for that module is  
enabled. The CCFn bit is not automatically cleared by hardware when the CPU vectors to the interrupt ser-  
vice routine, and must be cleared by software. Setting the ECOMn and MATn bits in the PCA0CPMn regis-  
ter enables Software Timer mode.  
Important Note About Capture/Compare Registers: When writing a 16-bit value to the PCA0 Cap-  
ture/Compare registers, the low byte should always be written first. Writing to PCA0CPLn clears the  
ECOMn bit to 0; writing to PCA0CPHn sets ECOMn to 1.  
Rev. 1.1  
291  
 复制成功!