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

C8051F818-GU 参数 Datasheet PDF下载

C8051F818-GU图片预览
型号: C8051F818-GU
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用:
文件页数/大小: 250 页 / 1303 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F818-GU的Datasheet PDF文件第225页浏览型号C8051F818-GU的Datasheet PDF文件第226页浏览型号C8051F818-GU的Datasheet PDF文件第227页浏览型号C8051F818-GU的Datasheet PDF文件第228页浏览型号C8051F818-GU的Datasheet PDF文件第230页浏览型号C8051F818-GU的Datasheet PDF文件第231页浏览型号C8051F818-GU的Datasheet PDF文件第232页浏览型号C8051F818-GU的Datasheet PDF文件第233页  
C8051F80x-83x  
29.3.1. Edge-Triggered Capture Mode  
In this mode, a valid transition on the CEXn pin causes the PCA to capture the value of the PCA coun-  
ter/timer and load it into the corresponding module's 16-bit capture/compare register (PCA0CPLn and  
PCA0CPHn). The CAPPn and CAPNn bits in the PCA0CPMn register are used to select the type of transi-  
tion that triggers the capture: low-to-high transition (positive edge), high-to-low transition (negative edge),  
or either transition (positive or negative edge). When a capture 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. If both CAPPn and CAPNn bits are set to logic 1, then the  
state of the Port pin associated with CEXn can be read directly to determine whether a rising-edge or fall-  
ing-edge caused the capture.  
PCA Interrupt  
PCA0CPMn  
P E C C M T P E  
WC A A A O WC  
M O P P T G M C  
1 M P N n n n F  
6 n n n  
n
PCA0CN  
C C  
F R  
C C C  
C C C  
F F F  
2 1 0  
n
x
x
0 0 0 x  
PCA0CPLn  
PCA0CPHn  
0
1
CEXn  
Capture  
Port I/O  
Crossbar  
0
1
PCA  
Timebase  
PCA0L  
PCA0H  
Figure 29.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.  
Rev. 1.0  
229