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

MPC82G516A 参数 Datasheet PDF下载

MPC82G516A图片预览
型号: MPC82G516A
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-bit microcontroller]
分类和应用: 微控制器
文件页数/大小: 144 页 / 1527 K
品牌: MEGAWIN [ MEGAWIN TECHNOLOGY CO., LTD ]
 浏览型号MPC82G516A的Datasheet PDF文件第62页浏览型号MPC82G516A的Datasheet PDF文件第63页浏览型号MPC82G516A的Datasheet PDF文件第64页浏览型号MPC82G516A的Datasheet PDF文件第65页浏览型号MPC82G516A的Datasheet PDF文件第67页浏览型号MPC82G516A的Datasheet PDF文件第68页浏览型号MPC82G516A的Datasheet PDF文件第69页浏览型号MPC82G516A的Datasheet PDF文件第70页  
13.4 Programmable Clock-Out from UART2 Baud Rate Timer  
Using the UART2 Baud Rate Timer, a 50% duty cycle clock can be programmed to come out from pin S2CKO  
(P3.5). The clock-out frequency depends on the system clock frequency (Fosc) and the reload value filled in the  
S2BRT register, as shown in the following formula:  
Fosc  
Clock-Out Frequency =  
n x (256-S2BRT)  
Where,  
n=24 if S2X12=0,  
n=2 if S2X12=1.  
The UART2 Baud Rate Timer is programmed for the clock-out mode as follows:  
• Set S2CKOE bit in AUXR2 register.  
• Determine the 8-bit reload value from the formula and enter it in S2BRT register.  
• Start the timer by setting the run control bit S2TR in AUXR2 register.  
Figure 13-2. Programmable Clock-Out from UART2 Baud Rate Timer  
Fosc  
D
Clock-Out  
(P3.5)  
Q
Q
12  
"0"  
"1"  
Overflow  
Counter  
(8 Bits)  
CK  
S2TR  
S2X12  
S2BRT  
(8 Bits)  
MEGAWIN  
MPC82G516A Data Sheet  
66