欢迎访问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文件第289页浏览型号C8051F502-IM的Datasheet PDF文件第290页浏览型号C8051F502-IM的Datasheet PDF文件第291页浏览型号C8051F502-IM的Datasheet PDF文件第292页浏览型号C8051F502-IM的Datasheet PDF文件第294页浏览型号C8051F502-IM的Datasheet PDF文件第295页浏览型号C8051F502-IM的Datasheet PDF文件第296页浏览型号C8051F502-IM的Datasheet PDF文件第297页  
C8051F50x-F51x  
Write to  
0
PCA0CPLn  
ENB  
Reset  
PCA0CPMn  
Write to  
PCA0CPHn  
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  
ENB  
1
6 n n n  
n
n
x
0 0  
0
x
PCA Interrupt  
PCA0CN  
C C C C C C C C  
F R C C C C C C  
F F F F F F  
PCA0CPLn  
PCA0CPHn  
5 4 3 2 1 0  
0
1
Enable  
Match  
16-bit Comparator  
TOGn  
Toggle  
0
CEXn  
Crossbar  
Port I/O  
1
PCA  
Timebase  
PCA0L  
PCA0H  
Figure 27.6. PCA High-Speed Output Mode Diagram  
27.3.4. Frequency Output Mode  
Frequency Output Mode produces a programmable-frequency square wave on the module’s associated  
CEXn pin. The capture/compare module high byte holds the number of PCA clocks to count before the out-  
put is toggled. The frequency of the square wave is then defined by Equation 27.1.  
FPCA  
FCEXn = ------------------------------------------  
2 PCA0CPHn  
Note: A value of 0x00 in the PCA0CPHn register is equal to 256 for this equation.  
Equation 27.1. Square Wave Frequency Output  
Where FPCA is the frequency of the clock selected by the CPS[2:0] bits in the PCA mode register,  
PCA0MD. The lower byte of the capture/compare module is compared to the PCA counter low byte; on a  
match, CEXn is toggled and the offset held in the high byte is added to the matched value in PCA0CPLn.  
Frequency Output Mode is enabled by setting the ECOMn, TOGn, and PWMn bits in the PCA0CPMn reg-  
ister. Note that the MATn bit should normally be set to 0 in this mode. If the MATn bit is set to 1, the CCFn  
flag for the channel will be set when the 16-bit PCA0 counter and the 16-bit capture/compare register for  
the channel are equal.  
Rev. 1.1  
293  
 复制成功!