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

C8051F363 参数 Datasheet PDF下载

C8051F363图片预览
型号: C8051F363
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用:
文件页数/大小: 288 页 / 2659 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F363的Datasheet PDF文件第266页浏览型号C8051F363的Datasheet PDF文件第267页浏览型号C8051F363的Datasheet PDF文件第268页浏览型号C8051F363的Datasheet PDF文件第269页浏览型号C8051F363的Datasheet PDF文件第271页浏览型号C8051F363的Datasheet PDF文件第272页浏览型号C8051F363的Datasheet PDF文件第273页浏览型号C8051F363的Datasheet PDF文件第274页  
C8051F360/1/2/3/4/5/6/7/8/9  
22.2.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 22.1.  
Equation 22.1. Square Wave Frequency Output  
FPCA  
----------------------------------------  
=
Fsqr  
2 × PCA0CPHn  
Note: A value of 0x00 in the PCA0CPHn register is equal to 256 for this equation.  
Where F  
is the frequency of the clock selected by the CPS2–0 bits in the PCA mode register,  
PCA  
PCA0MD. The lower byte of the capture/compare module is compared to the PCA0 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.  
Important Note About Capture/Compare Registers: When writing a 16-bit value to the PCA0 Capture/  
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’.  
PCA0CPMn  
P
W
M
1
6
n
E C C M T  
C A A A O  
O P P T G  
M P N n n  
n n n  
P
W
M
n
E
C
C
F
n
PCA0CPLn  
8-bit Adder  
PCA0CPHn  
Adder  
Enable  
TOGn  
0
0 0 0 1  
0
Toggle  
0
CEXn  
8-bit  
Comparator  
match  
Enable  
Crossbar  
Port I/O  
1
PCA Timebase  
PCA0L  
Figure 22.7. PCA Frequency Output Mode  
270  
Rev. 1.0  
 复制成功!